From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl Brewer Date: Mon, 23 Jan 2006 22:10:02 +0000 Subject: Re: [LARTC] Setting an alias as the "default" IP address, or something Message-Id: <43D5543A.4060105@vivitec.com.au> List-Id: References: <43D43FD8.1070008@vivitec.com.au> In-Reply-To: <43D43FD8.1070008@vivitec.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Alexey Toptygin wrote: > On Mon, 23 Jan 2006, Carl Brewer wrote: > >>> 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? > > > I haven't used RedHat in a while, but IIRC you can put > GATEWAY2.168.239.1 > into /etc/sysconfig/network-scripts/ifcfg- file That does the equivalent to the src route above? -- ===========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@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc