[NBLUG/talk] Network/Route config question
Steve
srj at adnd.com
Fri Feb 13 09:04:00 PST 2004
On my redhat box its in /etc/sysconfig/network
On my debian box its in /etc/network/interfaces
It may be different in other distros, those are the
only 2 thata I currently use =)
-Steve
On Fri, Feb 13, 2004 at 08:44:51AM -0800, Dave Sisley wrote:
> Hey, everybody:
>
> I've just set up my home computer so that my desktop allows
> masquerading and acts as a gateway for my laptop. After breaking and
> then reconfiguring my wireless card, the network configuration, etc.,
> etc., I've managed to get it working (including a propoer firewall! [I
> think...]).
>
> For some reason, every time I boot up the laptop, I cannot access
> the internet through my desktop until I have typed the following
> command (with root privileges):
>
> route add default gw jupiter
>
> That adds a line to the output of 'route' that says:
>
> default jupiter.daveNet 0.0.0.0 UG 0 0 0 eth0
>
> This line is missing if you run route before running the 'route add... '
> command.
>
> My question is: In what configuration file does this default info
> belong, so I no longer have to type it in on the command line every
> time I boot?
>
> For the record, I'm running SuSE 8.2 with kernel version 2.4.20-4GB.
>
> Thanks for the help.
>
> -dave.
> _______________________________________________
> talk mailing list
> talk at nblug.org
> http://nblug.org/mailman/listinfo/talk
--
----
"Knowing others is wisdom, knowing your self is Enlightenment."
-- Lao-Tzu
More information about the talk
mailing list