On Mon, 30 Jan 2012 07:56:02 GMT, glistwan
<glistwan@no-mx.forums.opensuse.org> wrote:
>
>josephkk;2435001 Wrote:
>> Problem box:
>> Has 2 realtek rtl8168/8111 gigabit nic on mainboard (yes, that troubled
>> one), added an Intel gigabit nic. Connect (cable) only Intel nic.
>> Cannot see outside my net, no ping, nothing. This is a fresh install
>> of
>> OS 11.4 LXDE.
>>
>> Can ping and ssh local machines. I can browse the internet with ssh to
>> firefox on another machine.
>>
>> I have rebooted my router (WRVS4400N) and updated its DHCP assignment
>> tables. No change.
>>
>> Any ideas on what is going on?
>>
>> ?-)
>Most likely your default gateway is incorrectly set up. Check with
>
>Code:
>--------------------
> /sbin/route -n
>--------------------
>
>or
>
>Code:
>--------------------
> ip route
>--------------------
>
>or compare outputs from
>
>Code:
>--------------------
> traceroute 8.8.8.8
>--------------------
> from the machine that internet doesn’t work and the machine from which
>you run firefox with ssh.
>
>Best regards,
>Greg
On the bad machine the only visible NIC is eth1, the others (mainboard
realtek rtl8111/8169) are de-configured.
Bad machine results:
/sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.0.0 0.0.0.0 255.255.254.0 U 0 0 0
eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
ip route
192.168.0.0/23 dev eth1 proto kernel scope link src 192.168.1.120
169.254.0.0/16 dev eth1 scope link
127.0.0.0/8 dev lo scope link
/sbin/traceroute
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 40 byte packets using UDP
and an error message of no network, sorry i didn’t capture it.
Good machine has two configured NICs, i don’t remember the make/model.
Good machine results:
/sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
eth0
192.168.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 192.168.1.1 0.0.0.0 UG 0 0 0
eth0
ip route
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.111
192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.112
169.254.0.0/16 dev eth0 scope link
192.168.0.0/16 dev eth0 proto kernel scope link src 192.168.1.102
127.0.0.0/8 dev lo scope link
default via 192.168.1.1 dev eth0
/sbin/traceroute
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 40 byte packets using UDP
1 WRVS4400N-Cisco-linksys (192.168.1.1) 1.307 ms 0.717 ms 0.666 ms
2 SpeedStream5100-DSL-modem (192.168.0.1) 1.555 ms 1.290 ms 1.782
ms
3 bras1-l0.scrm01.sbcglobal.net (151.164.185.12) 11.215 ms 10.257 ms
9.681 ms
4 dist1-vlan50.scrm01.pbi.net (64.171.152.66) 11.077 ms 9.394 ms
9.397 ms
5 151.164.93.212 (151.164.93.212) 8.881 ms 10.830 ms 8.231 ms
6 12.122.114.21 (12.122.114.21) 12.035 ms 14.367 ms 12.422 ms
7 12.249.231.14 (12.249.231.14) 63.112 ms 64.238 ms 63.046 ms
8 64.233.175.223 (64.233.175.223) 13.639 ms 13.127 ms 12.849 ms
9 google-public-dns-a.google.com (8.8.8.8) 12.369 ms 13.751 ms 12.953
ms
==================================
OK i am seeing some differences. How do i set the default gateway
(192.168.1.1 it seems).?
?-)