>>ifconfig eth0 222.126.25.250 netmask 255.255.255.248 up  for the static IP
>>(as provided by ISP)
>>eth1 is for the LAN and working okay by pinging.
>>
>>Configuration Files:
>>/etc/sysconfig/network
>>      GATEWAY=222.126.25.249
>>      GATEWATDEV=eth0
>>/etc/resolv.conf
>>      nameserver 203.172.11.26
>>      nameserver 203.172.11.25                as provided by ISP
>>
>>I can ping the GATEWAY IP, the static IP and the local LAN PCs.
>>
>>I cannot ping the nameservers
>>issuing nslookup www.yahoo.com failed to return IP address.
>>
>>What am I missing?
>>
>>Thanks
>>Edward See
>>from the Philippines
>
>
> You do not need both GATEWAY and GATEWAYDEV  If you do not have a router,
> then
> you do not need a GATEWAY statement.
>
>
> derek
>
>Can you show us the output of the "route -n" and "ifconfig" commands?

>The error message you are getting is saying that a reverse lookup of
>your nameserver address is failing.  I suspect that your default route
>may be wrong, but it could be other problems...

>Mikkel

Hi Mikkel,

in /etc/sysconfig/network GATEWAY=222.126.25.249 but route -n showed
222.126.25.248
thanks
EdSee

route -n

Destination             Gateway Genmask         Flag    Metric  Ref     Use     Iface
222.126.25.248  0.0.0.0 255.255.255.248 u       0               0       0       eth0
192.168.20.0    0.0.0.0 255.255.255.0   u       0               0       0       eth1
127.0.0.0               0.0.0.0 255.0.0.0               u       0               0      
 0       lo

ifconfig

eth0
Link encap: Ethernet            HWAddr 00:04:75:E7:14:72
inet addr : 222.126.25.250      Bcast: 222.126.25.255   Mask: 255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1
Rx packets:12   errors:0        dropped:0       overruns:0      frame:0
Tx packets:4    errors:0        dropped:0       overruns:0      frame:0
collisions:0    txqueuelen: 100
Rx bytes: 998   Tx bytes: 240
Interrupt:5             Base address: 0xe800

eth1
Link encap: Ethernet            HWAddr 00:04:75:E7:14:72
inet addr : 192.168.20.1        Bcast: 192.168.20.255   Mask: 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1
Rx packets:16205        errors:0        dropped:0       overruns:1      frame:0
Tx packets:10599        errors:0        dropped:0       overruns:0      frame:0
collisions:0    txqueuelen: 100
Rx bytes: 1810729       Tx bytes: 1154602
Interrupt:10            Base address: 0xec00

lo
Link encap: Local loopback
inet addr: 127.0.0.1    Mask: 255.0.0.0
UP LOOPBACK RUNNING     MTU: 16436      Metric: 1
Rx packets:2    errors:0        dropped:0       overruns:0      frame:0
Tx packets:2    errors:0        dropped:0       overruns:0      frame:0
collisions:0    txqueuelen: 0
Rx bytes: 196   Tx bytes: 196
Interrupt:10            Base address: 0xec00





____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to