SIOCADDRT?
jludwig
wralphie at comcast.net
Fri Dec 2 02:17:04 UTC 2005
On Friday 02 December 2005 12:51 am, Jonathan Carpenter wrote:
> I have setup one server for multiple ips. But when I bring eth0 down and
> then back up I get and error of:
>
> SIOCADDRT network is unreachable
>
> I am not exactly sure why I am getting this message everything seems to
> work fine. I can access anything from this server and I can access this
> server from anywhere. I have noticed some collisions and transmit errors. I
> am not sure what would be causing this.
>
> ifconfig returns
> eth0 Link encap:Ethernet HWaddr 01:10:26:19:12:B5
> inet addr:10.1.4.2 Bcast:10.1.4.30 Mask:255.255.255.192
> inet6 addr: fe80::214:22ff:fe17:15a9/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:248569 errors:0 dropped:0 overruns:0 frame:0
> TX packets:71281 errors:66 dropped:0 overruns:0 carrier:66
> collisions:180 txqueuelen:1000
> RX bytes:80778446 (77.0 MiB) TX bytes:14645178 (13.9 MiB)
> Base address:0xecc0 Memory:fe6e0000-fe700000
>
> eth0:0 Link encap:Ethernet HWaddr 01:10:26:19:12:B5
> inet addr:10.1.4.1 Bcast:10.1.4.30 Mask:255.255.255.192
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> Base address:0xecc0 Memory:fe6e0000-fe700000
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:6762 errors:0 dropped:0 overruns:0 frame:0
> TX packets:6762 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:274642 (268.2 KiB) TX bytes:274642 (268.2 KiB)
>
> route -n shows
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 10.1.4.0 0.0.0.0 255.255.255.192 U 0 0 0 eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
> eth0 0.0.0.0 10.1.4.35 0.0.0.0 UG 0 0 0
> eth0
>
> Thanks,
> --
> Jonathan Carpenter
> Linux System Administrator
> Windows System Administrator
> <The Unix Geek>
I'll bet that you may have eth0:0 set up as the gateway. If that is the case
eth0 may not be able to see "the network".
(I have seen this type of weirdness before.)
More information about the fedora-list
mailing list