Re: Setting an alias as the "default" IP address, or something similar?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 23, 2006 at 05:49:02PM +1100, Carl Brewer wrote:
> Alexander Samad wrote:
> >On Mon, Jan 23, 2006 at 01:30:48PM +1100, Carl Brewer wrote:
> >>
> >>Hello,
> >>Ive had a poke around through various linux routing documents,
> >>but haven't found what I think is an elegant solution to a
> >>routing issue I'm having with a hosting provider and RHEL ES 4 running
> >>in a VMware VM.
> >>
> >>Here's a diagram of the situation :
> >>
> >>
> >>     Default route
> >>     at provider         our host (A)
> >>     72.3.230.1/26 ---- 72.3.230.30/26         the VM (B)
> >>                        192.168.239.1/24 ----- 192.168.239.2/24
> >>                                               72.3.205.160/32
> >>
> >hi 
> >
> >maybe I am missign something but can't your just use this
> >
> >ip r a default via 192.168.239.1 src 72.3.205.160
> >
> >plus you might need this as well
> >ip r a 192.168.239.0/24 src 192.168.239.2
> 
> I just needed the first one, thankyou.  That worked a treat.
> 
> Out of curiosity, I have that command currently in rc.local, but is
> there a better place to put it in the redhat startup sequence? Normally
> it'd do in /etc/sysconfig/network but I'm not sure of the possibility of
> putting that sort of thing in there?
Hi

Sorry not sure about redhat, but rc.local sounds like the place to put
it


> 
> 
> 
> -- 
> =======================
> Vivitec Pty. Ltd.
> Suite 6, 51-55 City Rd.
> Southbank, 3006.
> Ph. +61 3 8626 5626
> Fax +61 3 9682 1000
> =======================
> _______________________________________________
> LARTC mailing list
> LARTC@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
> 

Attachment: signature.asc
Description: Digital signature

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux