I am having some trouble with my opensuse 11.3 internet connection for two weeks. After a certain period connection drops while using both NetworkManager and ifup. For info, I write the outputs of some codes.
On 02/22/2011 07:36 AM, kekren wrote:
>
> I am having some trouble with my opensuse 11.3 internet connection for
> two weeks. After a certain period connection drops while using both
> NetworkManager and ifup. For info, I write the outputs of some codes.
>
> linux-6pjb:/etc # ifconfig
>
> eth0 Link encap:Ethernet HWaddr 00:E0:4C:15:16:7B
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:20539 errors:0 dropped:0 overruns:0 frame:0
> TX packets:16775 errors:1 dropped:0 overruns:0 carrier:2
> collisions:0 txqueuelen:1000
> RX bytes:10933679 (10.4 Mb) TX bytes:3122617 (2.9 Mb)
> Interrupt:16 Base address:0x6000
>
> 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:714 errors:0 dropped:0 overruns:0 frame:0
>
> TX packets:714 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
>
> RX bytes:54988 (53.6 Kb) TX bytes:54988 (53.6 Kb)
>
> linux-6pjb:/etc # route -n
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
> lo
>
> linux-6pjb:/etc # cat hosts
>
> #special IPv6 addresses
> 127.0.0.1 localhost.localdomain localhost
> ::1 localhost ipv6-localhost ipv6-loopback
> 10.100.10.214 linux-6pjb.site linux-6pjb
> 10.100.10.220 linux-6pjb.site linux-6pjb
>
> BUT THE WEIRD THING IS ROUTE TABLE. BEFORE THE CONNECTION DIES ROUTE
> WAS ;
> linux-6pjb:/home/doruk # route -n
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
>
> 10.100.10.0 0.0.0.0 255.255.255.0 U 0 0 0
> eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0
> 0 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0
> 0 lo
> 0.0.0.0 10.100.10.254 0.0.0.0 UG 0 0
> 0 eth0
>
> Any ideas ? thank you
Your connection was shut down, which is why the routing table was cleared. You
need to look in the output of dmesg to see why that interface died. Clues may
also be in /var/log/NetworkManager.
A rather speculative guess, I suspect that you have a DHCP server problem.
To me, it looks like your DHCP lease has expired and then your interface is broadcasting looking for a DHCP server and configured with a Link-Local Address (169.x.y.z). If things are working properly, when your DHCP lease is half way to expiration, your machine should have re-applied to the DHCP server and your lease should have been renewed before the lease actually expires.
If this is the problem, there are some obvious workarounds (very long DHCP lease TTL, reserved leases, static addresses, etc) but either your DHCP server or your local machine probably needs to be evaluated depending on how many other Hosts are in your network and if any others are experiencing similar issues.