openSUSE 11.1 RTL8100 ethernet card default getway problem

I have RTL8100 realtek ethernet card. I setup everything ok. IP, DNS, DEFAULT GETWAY, and I get access to Internet but after some time my default getway is not richable and everyone in my local network is accessible. After some time (a minute or two) I get access to Internet again and that repeats again and again. On windows evergthhog work perfect. What is the problem? Please help!

Post the result of the following when (1) working and (2) not working:

/sbin/ipconfig
/sbin/route

In both cases ifconfig is:


eth0      Link encap:Ethernet  HWaddr 00:0E:A6:46:BA:9B
          inet addr:10.11.40.23  Bcast:10.11.40.255  Mask:255.255.255.0
          inet6 addr: fe80::20e:a6ff:fe46:ba9b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9895 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5097 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8073369 (7.6 Mb)  TX bytes:626576 (611.8 Kb)
          Interrupt:20 Base address:0x2000

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:192 errors:0 dropped:0 overruns:0 frame:0
          TX packets:192 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:16161 (15.7 Kb)  TX bytes:16161 (15.7 Kb)

and route is:


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.11.40.0      *               255.255.255.0   U     0      0        0 eth0
link-local      *               255.255.0.0     U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo
default         10.11.40.254    0.0.0.0         UG    0      0        0 eth0

What makes you feel that the gateway stopped working?
Are you not able to ping?

ping 10.11.40.254

Yes, I cannot ping my default getway and cannot go out from my local network to Internet. But after minute or two everything is back to normal and that repeats constantly.

That is strange. Can you post the exact output of the ping to the gateway and and to another machine on the network?
Also, I presume that you have already looked for IP conflicts on the same network.

This is ping of getway 10.11.40.254 when it is not working:

ping 10.11.40.254                     
PING 10.11.40.254 (10.11.40.254) 56(84) bytes of data.         
From 10.11.40.23: icmp_seq=1 Destination Host Unreachable      
From 10.11.40.23 icmp_seq=1 Destination Host Unreachable       
From 10.11.40.23 icmp_seq=2 Destination Host Unreachable       
From 10.11.40.23 icmp_seq=3 Destination Host Unreachable       
From 10.11.40.23 icmp_seq=4 Destination Host Unreachable       
From 10.11.40.23 icmp_seq=5 Destination Host Unreachable       
From 10.11.40.23 icmp_seq=6 Destination Host Unreachable       
From 10.11.40.23 icmp_seq=8 Destination Host Unreachable       
From 10.11.40.23 icmp_seq=9 Destination Host Unreachable       
From 10.11.40.23 icmp_seq=10 Destination Host Unreachable      
From 10.11.40.23 icmp_seq=12 Destination Host Unreachable      
From 10.11.40.23 icmp_seq=13 Destination Host Unreachable      
From 10.11.40.23 icmp_seq=14 Destination Host Unreachable      
From 10.11.40.23 icmp_seq=15 Destination Host Unreachable      
From 10.11.40.23 icmp_seq=16 Destination Host Unreachable      
From 10.11.40.23 icmp_seq=17 Destination Host Unreachable

and this is when it is working:

ping 10.11.40.254
PING 10.11.40.254 (10.11.40.254) 56(84) bytes of data.
64 bytes from 10.11.40.254: icmp_seq=1 ttl=64 time=435 ms
64 bytes from 10.11.40.254: icmp_seq=2 ttl=64 time=48.2 ms
64 bytes from 10.11.40.254: icmp_seq=3 ttl=64 time=319 ms
64 bytes from 10.11.40.254: icmp_seq=4 ttl=64 time=200 ms
64 bytes from 10.11.40.254: icmp_seq=5 ttl=64 time=415 ms
64 bytes from 10.11.40.254: icmp_seq=6 ttl=64 time=304 ms
64 bytes from 10.11.40.254: icmp_seq=7 ttl=64 time=52.2 ms
64 bytes from 10.11.40.254: icmp_seq=8 ttl=64 time=155 ms
64 bytes from 10.11.40.254: icmp_seq=9 ttl=64 time=1089 ms
64 bytes from 10.11.40.254: icmp_seq=10 ttl=64 time=225 ms
64 bytes from 10.11.40.254: icmp_seq=11 ttl=64 time=592 ms
64 bytes from 10.11.40.254: icmp_seq=12 ttl=64 time=201 ms

and this is when I ping my access point on 10.11.40.22:

ping 10.11.40.22
PING 10.11.40.22 (10.11.40.22) 56(84) bytes of data.
64 bytes from 10.11.40.22: icmp_seq=1 ttl=64 time=4.57 ms
64 bytes from 10.11.40.22: icmp_seq=2 ttl=64 time=0.535 ms
64 bytes from 10.11.40.22: icmp_seq=3 ttl=64 time=0.525 ms
64 bytes from 10.11.40.22: icmp_seq=4 ttl=64 time=0.521 ms
64 bytes from 10.11.40.22: icmp_seq=5 ttl=64 time=0.517 ms
64 bytes from 10.11.40.22: icmp_seq=6 ttl=64 time=0.514 ms
64 bytes from 10.11.40.22: icmp_seq=7 ttl=64 time=0.520 ms
64 bytes from 10.11.40.22: icmp_seq=8 ttl=64 time=0.520 ms
64 bytes from 10.11.40.22: icmp_seq=9 ttl=64 time=0.521 ms
64 bytes from 10.11.40.22: icmp_seq=10 ttl=64 time=0.516 ms
64 bytes from 10.11.40.22: icmp_seq=11 ttl=64 time=0.517 ms
64 bytes from 10.11.40.22: icmp_seq=12 ttl=64 time=0.517 ms
64 bytes from 10.11.40.22: icmp_seq=13 ttl=64 time=0.520 ms
64 bytes from 10.11.40.22: icmp_seq=14 ttl=64 time=0.518 ms
64 bytes from 10.11.40.22: icmp_seq=15 ttl=64 time=0.516 ms
64 bytes from 10.11.40.22: icmp_seq=16 ttl=64 time=0.559 ms
64 bytes from 10.11.40.22: icmp_seq=17 ttl=64 time=0.517 ms

There is something really wrong with the way your machine is communicating with the router. It could be a problem at the router end because your machine’s communication with other machine is looking OK.
The reason I am saying this is because of the unusual turnaround time it shows when pinging the router. It should not show this sort of higher values. Can you do 2 things? (1) Ping the router from another machine and see the turnaround time. (2) Check the router configuration again.

are you using multi-core processor and 8139too.ko? I have similiar problem. it will works ok if you disable one core by setting maxcpu=1 at boot up