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
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
Hello David Smead [EMAIL PROTECTED],
BTW, if I have multiple routing table, where can I define so that it
will work upon reboot?
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
Someone more knowledgeable than me will correct this if I'm wrong, but I
think /etc/rc.boot gets executed after everything else. You can put route
commmands there.
Then again, you need to worry about what happens on a networking restart.
If that clears the routing table then you'll need to call
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
5 matches
Mail list logo