pppoe internet can ping external IP,but resolving NAT DNS fails
Hello,
I use Debian Etch,apt-pinned with unstable and experimental repos.yesterday onwards,when i try my adsl to connect,it shows connected.but when i try on my web browser (iceweasel2),or pinging www.linuxquestions.org,itfails,though i can ping IP addresses of any sites on www. i tried/checked /etc/resolv.conf for dns server for ISP entries;it is there.checked firewall rules(iptables,tried flushing rules too).looked ifconfig for eth0 and lo and both are working with ppp0 as the internet connxn.i tried "route del default" and "route add default ppp0"-that also not able to solve my problem.So I assumed some problem with DNS server of ISP.But Now as I can Browse Internet with Ubuntu Edgy-it seems to me that My Debian Install have some problem resolving DNS,as well as NAT.so please Help!:) Code:
prakash@ubuntu:~$ sudo ifconfig |
Post the output of your /sbin/route command. I'm wondering is you have a restrictive netmask which only allows changes in the last 2 or 3 octets.
|
Here is the o/p of route:
Code:
Kernel IP routing table |
I think that the line for your gateway should look like:
Code:
default 59.93.0.1 0.0.0.0 UG 0 0 0 ppp0 I think that you left out the "gw 59.93.0.1" argument to the route command. You need to delete your old default route and include the gateway argument when you setup the default gateway route. |
suddenly dsl is up ?
I am working with my ubuntu for few days.so today only i checked debian for net.now it is working! SO...Self Healing power of Debian :scratch:
here is the o/p of /sbin/route Code:
prakash@etch:~$ /sbin/route -n |
Solved.it is actually a problem with iptables.so removed and reinstalled.
|
ip route
Quote:
59.93.0.1 dev ppp0 proto kernel scope link src 59.93.20.100 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.2 169.254.0.0/16 dev eth0 scope link 127.0.0.0/8 dev lo scope link default via 192.168.1.1 dev ppp0 line for gateway can be chaged by ip route change default via address dev ppp0 The address should be the inet addr or P-t-P ? I am using a DSL modem. Please help. |
^addr is inet . for ur thing,disable/remove "network-manager" if installed.p-t-p is the n/w range.
|
Thanks for ur respond, u read very "carefully"
|
All times are GMT -5. The time now is 03:01 AM. |