Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Carl Brewer <carl@vivitec.com.au>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Setting an alias as the "default" IP address, or something
Date: Mon, 23 Jan 2006 22:10:02 +0000	[thread overview]
Message-ID: <43D5543A.4060105@vivitec.com.au> (raw)
In-Reply-To: <43D43FD8.1070008@vivitec.com.au>

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 
> GATEWAY\x192.168.239.1
> into /etc/sysconfig/network-scripts/ifcfg-<interface> 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

  parent reply	other threads:[~2006-01-23 22:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-23  2:30 [LARTC] Setting an alias as the "default" IP address, Carl Brewer
2006-01-23  3:22 ` Alexander Samad
2006-01-23  6:49 ` [LARTC] Setting an alias as the "default" IP address, or something Carl Brewer
2006-01-23 19:21 ` Alexey Toptygin
2006-01-23 20:47 ` [LARTC] Setting an alias as the "default" IP address, Alexander Samad
2006-01-23 22:10 ` Carl Brewer [this message]
2006-01-23 22:22 ` [LARTC] Setting an alias as the "default" IP address, or something Alexey Toptygin
2006-01-24  7:16 ` [LARTC] Setting an alias as the "default" IP address, or Denis Ovsienko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43D5543A.4060105@vivitec.com.au \
    --to=carl@vivitec.com.au \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox