On Thu, 2002-03-21 at 08:55, Furnish, Trever G wrote: > Ok, I tried on the enigma list with no luck, so I'm going to try here. > Basic question is: Does anyone have any idea what I might be doing wrong > that I would get multiple duplicate default routes when I boot up? I have > to remove all but one of them by doing "route del -net 0.0.0.0" to get > things back to normal. ... > > network: > > Defines NETWORKING=yes, HOSTNAME=foo, GATEWAY=1.2.3.4 > > > > network-scripts/ifcfg-eth0: > > Defines DEVICE=eth0, BOOTPROTO,BROADCAST, IPADDR, NETMASK, NETWORK, > > ONBOOT, TYPE, USERCTL, PEERDNS, GATEWAY=... ... > > network-scripts/ifcfg-eth1 > > Defines DEVICE=eth1, BOOTPROTO, BROADCAST, IPADDR, NETMASK, NETWORK, > > ONBOOT, TYPE, USERCTL, PEERDNS, GATEWAY ... > > I've chopped out most of the actual numbers for brevity but I'll > > summarize: eth0's gateway is the same as the one in > > /etc/sysconfig/network. Eth1's gateway is specific for its network.
How about you define the gateway just once? In this case, gateway implies *default gateway*, so it doesn't make sense for eth1 to have one "specific for its network". If you need static routes set up, you can configure them with the network configuration tool. > > It should probably be noted that I'm avoiding using redhat network config > > tool because when I used it from stock 7.2 it screwed up network settings > > a lot on another system. Yes, it had a tendency to do that. The current version, in errata, seems to work much better, and probably won't let you make similar mistakes.
signature.asc
Description: This is a digitally signed message part