On Wed, 2005-07-06 at 11:48 -0400, Amadeus W. M. wrote:
On Wed, 06 Jul 2005 17:20:54 +0200, Alexander Dalloz wrote:
> Am Mi, den 06.07.2005 schrieb Amadeus W. M. um 15:52:
>> >> Option 3: Router = 24.35.40.1
>> >
>> > ---------------^^^^^^^^^^^^^^^^^^^^
>> >
>> > That looks like the setting for the default gateway to me.
>> >
>>
>> It looks to me too, but why doesn't it go into the routing table? The
>> network start-up scripts maybe? Where should I look? Yeah, I didn't
>> mention something, all this happened after a power outage.
>
> /etc/sysconfig/network
> /etc/sysconfig/network-scripts/ifcfg-eth0
>
> These files hold the information how the network scripts should act.
> Maybe past the settings if you don't see a fault there your own.
>
> Alexander
>
I know. All the more strange. I just went through the steps again (use
dhcp with the network gui, save settings, stop/start network) and here's
the results:
5) root:~> route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
24.35.40.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
6) root:~> more /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=phoenix
7) root:~> more /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
BROADCAST=192.168.1.255
HWADDR=00:03:6d:13:71:91
IPADDR=192.168.1.10
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
TYPE=Ethernet
DHCP_HOSTNAME=phoenix
USERCTL=no
PEERDNS=yes
GATEWAY=192.168.1.1
IPV6INIT=no
The same info is in /etc/sysconfig/networking/devices and profile.
So perhaps the save in the network gui doesn't work properly. Still...
Amadeus,
Possibly. Here are /etc/sysconfig/network-scripts/ifcfg-eth0 from my
dhcp enabled FC3 box:
/etc/sysconfig/network-scripts/ifcfg-eth0:
DEVICE=eth0
BOOTPROTO=dhcp
#BROADCAST=192.168.1.255
#IPADDR=192.168.1.99
#NETMASK=255.255.255.0
#NETWORK=192.168.1.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
#GATEWAY=192.168.1.1
IPV6INIT=no
I've played with it in the past, thus the commented entries. Try
commenting out the gateway address. It might be
in /etc/sysconfig/network as well. Then service network restart.
Bob...