Patrick Hsieh wrote:

Hello David Smead <[EMAIL PROTECTED]>,

BTW, if I have multiple routing table, where can I define so that it
will work upon reboot?


To set 'special' routing instructions use the 'up', 'down', 'pre-uo' and 'post-down' options in /etc/networks/interfaces.

I've found them very useful to set up strange routing between two firewalls each with 3 nics, so as to allow privilged access to a server farm, and to make a simulation of a IP tunnel across a WAN link.

see
man 5 interfaces

Hope this helps

John P Foster
http://www.golden-orb.com



On Wed, 1 May 2002 21:59:25 -0700 (PDT)
David Smead <[EMAIL PROTECTED]> wrote:

Put the info in /etc/network/interfaces.  Mine looks like:

auto eth0
iface eth0 inet static
       address 192.168.8.30
       netmask 255.255.255.0
       network 192.168.8.0
       broadcast 192.168.8.255
       gateway 192.168.8.254

Technically you don't need all the fields but I put them all in as a
reminder.

--
Sincerely,

David Smead
http://www.amplepower.com.

On Thu, 2 May 2002, Kapil Khosla wrote:

Hi,
In my current configuration , I have to do an
ifconfig eth0 IP addr and route commands everytime I reboot.
The problem is on reboot, all these settings "vanish" and I have to give these 
commands again.

I sort of know that these have to be put in some /etc/rc**
but am not sure which file do I have to put these files and if they should be 
put early in the booting procedure or in the last will do.

Thanks
Kapil





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to