weird network problem in FC4
Amadeus W. M.
amadeus84 at cablespeed.com
Wed Jul 6 15:48:46 UTC 2005
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...
14) root:~> /sbin/ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:03:6D:13:71:91
inet addr:24.35.43.73 Bcast:255.255.255.255 Mask:255.255.248.0
inet6 addr: fe80::203:6dff:fe13:7191/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:614026 errors:0 dropped:0 overruns:0 frame:0
TX packets:54497 errors:15 dropped:0 overruns:0 carrier:21
collisions:0 txqueuelen:1000
RX bytes:49217250 (46.9 MiB) TX bytes:5882517 (5.6 MiB)
Interrupt:169 Base address:0x6c00
Very very weird. I did get an address via dhcp, no default route in the
routing table, while the network scripts insist on setting a private
address, dating back from when I was going out through the router.
More information about the fedora-list
mailing list