Unable to ping Gateway.
I have dual boot windows XP and Slackware 12.
I use PPPoE to connect net. IP: 10.8.192.65 Netmask: 255.255.255.0 Gateway: 10.8.188.1 DNS : 10.8.188.1 I am able to connect and ping the Gateway on Windows XP.Net works fine using the PPPoE dialer on XP. On Slackware Unable to ping the gateway whereas able to establish a pppoe connection on Slackware. it shows ppp0 is up and running but not able to open webpages ifconfig eth0 Link encap:Ethernet HWaddr 00:80:48:2C:A3:B1 inet addr:10.8.192.65 Bcast:10.8.192.255 Mask:255.255.255.0 inet6 addr: fe80::280:48ff:fe2c:a3b1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:353 errors:0 dropped:0 overruns:0 frame:0 TX packets:29 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:50242 (49.0 KiB) TX bytes:1956 (1.9 KiB) Interrupt:11 Base address:0xc000 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:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) ppp0 Link encap:Point-to-Point Protocol inet addr:58.146.97.247 P-t-P:172.31.29.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:7 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:74 (74.0 b) TX bytes:49 (49.0 b) ------------------------------------ I Tried disabling the firewall but still not able to ping the gateway/DNS. Pls, help me with this prob Thank you. |
What is the output of the below given commands ?
Quote:
Quote:
|
root@devil:~# ping 10.8.188.1
connect: Network is unreachable root@devil:~# /sbin/route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.8.192.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo root@devil:~# cat /etc/resolv.conf nameserver 10.8.188.1 root@devil:~# |
try changing ur ip address to something in this range
10.8.188.2 -- 10.8.188.255 also is the ip same on ur winxp machine? |
change ip or mask
You jave to change ur ip as above .
or u can change the mask to 255.255.128.0 |
Quote:
Here is why, 10.8.192.65 with a netmask of 255.255.255.0 will only be able to talk to hosts 10.8.192.1 - 10.8.192.254. Because your gateway( 10.8.188.1) is located outside of that subnet your computer will not be able to reach it. I would suggest looking at your XP machines "ipconfig" output to determine what subnet mask it has and go from there. |
I changed my IP to 10.8.188.2 - 10.8.188.255 range now i can ping the Gateway, DNS.
When i do pppoe-start, it shows connected. Still i am not able to browse. What can be the problem now - I have turned my firewall off too. |
My guess is that you don't have a default route setup.
Check your current routing table, you should have something like this. Code:
0.0.0.0 10.8.188.1 0.0.0.0 UG 0 0 0 eth0 Code:
route add default gw 10.8.188.1 |
I checked my routing table its 10.8.188.1
|
Here is the routing table.
Quote:
Quote:
|
Can you perform DNS lookups? Ping by IP/hosts in the internet? What about traceroutes.
|
All times are GMT -5. The time now is 01:27 PM. |