you could check your /etc/rc.d/rc.inet1 file
On Fri, 8 Oct 1999, Just This Girl wrote:
> Date: Fri, 08 Oct 1999 02:58:03 -0500
> From: Just This Girl <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: [techtalk] Building ADSL - LAN
>
> First off, I would like to thank everyone who wrote back with their
> advice and reading suggestions.
>
> However, I am still having the following problem.
>
> I have gotten to the Internet through my ADSL modem from my Windows98
> partition.
> What follows is the route PRINT from the command prompt while running
> Windows98:
>
> Network Address Netmask Gateway Address Interface
> 0.0.0.0 0.0.0.0 xxx.yyy.zzz.246 xxx.yyy.zzz.242
> 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1
> xxx.yyy.zzz.240 255.255.255.248 xxx.yyy.zzz.242 xxx.yyy.zzz.242
> xxx.yyy.zzz.242 255.255.255.255 127.0.0.1 127.0.0.1
> xxx.yyy.zzz.255 255.255.255.255 xxx.yyy.zzz.242 xxx.yyy.zzz.242
> 224.0.0.0 224.0.0.0 xxx.yyy.zzz.242 xxx.yyy.zzz.242
> 255.255.255.255 255.255.255.255 xxx.yyy.zzz.242 xxx.yyy.zzz.242
>
> TCP/IP on Windows98 is set up as follows:
> Gateway: xxx.yyy.zzz.242
> IP Addr: xxx.yyy.zzz.242
> Netmask: 255.255.255.248
>
> The ADSL modem is configured with:
> Gateway: xxx.yyy.zzz.246
> IP Addr: xxx.yyy.zzz.241
> Netmask: 255.255.255.248
>
> The ADSL modem is an Alcatel 1000. The NIC above is a 3COM EtherLink III
> 3c509B. I have done the set-up, disabled PNP, and all those goodies. The
> addresses referenced with xxx.yyy.zzz.### are public IP addresses, not
> private.
>
> What I am having problems with is duplicating the successful Windows98
> routing under the Linux partition, the partition I -really- want to run
> full-time.
>
> However, when I ifconfig eth0 (the NIC under Linux) using this:
>
> ifconfig eth0 xxx.yyy.zzz.242
>
> it automatically inserts this into the route table:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> xxx.yyy.zzz.240 0.0.0.0 255.255.255.248 U 0 0 0
> eth0
>
> Note the gateway. I want xxx.yyy.zzz.242 as the gateway, NOT 0.0.0.0,
> but it will not let me delete this route to readd it. This is the error
> I get:
>
> bash# route del -net xxx.yyy.zzz.240
> SIOCDELRT: Invalid argument
>
> What I -think- I should be typing to get the routing displayed in
> Windows98 is:
>
> route add default gw xxx.yyy.zzz.246
> route add -net xxx.yyy.zzz.240 gw xxx.yyy.zzz.242 netmask
> 255.255.255.248
> route add xxx.yyy.zzz.242 gw localhost
> route add xxx.yyy.zzz.255 gw xxx.yyy.zzz.242
> route add -net 224.0.0.0 gw xxx.yyy.zzz.242 netmask 224.0.0.0
> route add 255.255.255.255 gw xxx.yyy.zzz.242
>
> However, Linux complains and moans about the last two entries.
>
> Do I have an old version of route? My version is:
>
> bash# route -V
> net-tools 1.52
> route 1.96 (1999-01-01)
>
> I would appreciate any input on what I am doing wrong here.
>
> --
> O .--. Give me some Slack!
> o. |o_o |
> U==l_/ | Just This Girl
> // \ \ [EMAIL PROTECTED]
> (| | ) http://home1.gte.net/archmage
> /\_ _/`\
> \__)-(___/ Spam >> /dev/null
>
> ************
> [EMAIL PROTECTED] http://www.linuxchix.org
>
************
[EMAIL PROTECTED] http://www.linuxchix.org