Can ping the gateway but not the DNS or the Internet.
Hi,
I recently installed Madrake 9.2(Mdk 9.2).
I have a cable connection , as in i have a NIC(I have a D-Link but linux detects it as a Relatek fast ethernet..something like 8139too) which connects to a router/NAT etc; without any proxy.
I have a static IP 10.71.1.149
Default Gateway address :10.71.0.1
Subnet Mask: 255.255.255.0 OR 255.255.0.0 (both work)
Server Address: 10.71.0.1
DNS: 202.134.160.7 /202.134.160.8
I configured the LAN from MCC but it din work.So later i manually configured the files as follows:
***************************************************************
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.71.1.149
NETWORK=10.71.1.0 #this should be the server address right?/
When i change this NETWORK parameter to point to 10.71.0.1 (which is my actual server/gateway address...)
ifup eth0 give me a REALNETLINK answers: Invalid Arguments ERROR.
Otherwise ifup works fine.
*************************************************************
/etc/resolv.conf
nameserver 202.134.160.7
nameserver 202.134.160.8
*************************************************************
ifconfig -a works fine. As in it shows me that the subnet mask and the IP is bound to my NIC.
So no problems there.
*************************************************************
Results of route
Destination Gateway GenMask Flags Metric Ref Use IFace
10.71.1.0 * 255.255.255.0 U 0 0 0 eth0
there's one more entry here for localhost...i thinkit doesnt matter in this context.
*************************************************************
Now given the scenario i am able to ping the gateway/server (10.71.0.1).
I am also able to ping my own IP (which should be obvious).
However whenever i try to ping an external IP (Google for instance) or any IP not on my network..i get a "Destination Host Unreachable" error.
I'm presuming its a route problem but am not able to figure out what to do to resolve this.
Could some one help me asap.
Thanks in advance.
P.S : Its a dual boot with WinXP and Win98. The Internet works fine on both.perfect.
Last edited by boyish; 04-19-2005 at 01:22 AM.
|