openSuse 11.2 Network Problem

Good, I just installed OpenSuse 11.2 and I have a rare Bug to the Internet.
When I ping to any page I get this error:

linux-y2re:~ # ping Google
ping: unknown host Google
linux-y2re:~ #

These are the network settings

/etc/sysconfig/network/ifcfg-eth0


Código: BOOTPROTO='static'
BROADCAST='190.210.12.144'
ETHTOOL_OPTIONS=''
IPADDR='190.210.12.149'
MTU=''
NAME='baraghost'
NETMASK='255.255.255.248'
REMOTE_IPADDR=''
NETWORKING='yes'
HOSTNAME='baraghost.com'
GATEWAY='190.210.12.150'
STARTMODE='auto'
USERCONTROL='no'
FIREWALL='no'
NETWORK=''
PREFIXLEN='29'


/etc/resolv.conf


nameserver 200.69.193.1
nameserver 200.69.193.2

What device is at this IP address (gateway address): GATEWAY=‘190.210.12.150’

Modem → Switch → 5 Ips and 5 PC’s.

My ISP gave me the following data: My modem’s IP is 190.210.12.144 and PC’s 190.210.12.146 / 147 / 148 / 149. Mask: 255.255.255.248 Gateway: 190.210.12.150 and DNS:200.69.193.1 & 200.69.193.2

I fix it. Here’s the solution:

Go to:


baraghost:~ # yast2

Network Divices → Network Settings

Go to Option: Routing

Default IPv4 Gateway:
put ip of your gateway: 192.168.0.1

Device
Select your device: eth0 or eth1

And Here is: As you can see it works


baraghost:~ # ping google.com
PING google.com (209.85.195.99) 56(84) bytes of data.
64 bytes from eze03s01-in-f99.1e100.net (209.85.195.99): icmp_seq=1 ttl=56 time=8.96 ms
64 bytes from eze03s01-in-f99.1e100.net (209.85.195.99): icmp_seq=2 ttl=56 time=9.35 ms
64 bytes from eze03s01-in-f99.1e100.net (209.85.195.99): icmp_seq=3 ttl=56 time=15.9 ms
^Z
[1]+  Stopped                 ping google.com
baraghost:~ #

Glad for you, good find.