[olug] add route
Mike McNally
mmcnally3 at prodigy.net
Tue Jan 30 22:21:23 UTC 2001
In debian potato, the /etc/network/interfaces file is setup at install
time like this:
iface lo inet loopback
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
if I wanted to ad another card, a second iface entry would likely handle
it... but I'm no expert. I think the gw route is added after the modem
dials and connects. Where it's noted that the modem is to be shared by
the network, I'm not sure, probably in one of the scads of config files
in the /etc/ppp dir. And this config is probably set when you run
pppconfig, or on install.
On Tue 30 Jan 2001, mesc wrote:
> Can anyone tell me why I need to run this command>>route add -net
> default gw 24.3.226.1 dev eth0 before anything will conect to the net
> when it was done automatically before.I'm sure it's something simple but
> I don't know what.
>
> Thank you,Gary Martin
--
Mike McNally mmcnally3 at prodigy.net
---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net
More information about the OLUG
mailing list