Re: ping problem ...



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


onkar wrote:
[snip]
$ /sbin/ifconfig
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:137 errors:0 dropped:0 overruns:0 frame:0
TX packets:137 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8936 (8.7 Kb) TX bytes:8936 (8.7 Kb)


ppp0 Link encap:Point-to-Point Protocol
inet addr:10.112.112.112 P-t-P:10.112.112.113
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:20 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:0 (0.0 b) TX bytes:244 (244.0 b)

OK, so 192.168.1.1 isn't a local IP address.

This means that any packets sent to it will be directed through one of
the two IP addresses above. So, let's check the routing table to see
/which/ IP gets the packets

$ /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.112.112.113 0.0.0.0 255.255.255.255 UH 0 0 0
ppp0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
lo
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
0.0.0.0 10.112.112.113 0.0.0.0 UG 0 0 0
ppp0

Oh dear. You don't have an explicit route for 192.168.1.1. This means
that pings to 192.168.1.1 will be sent to the default route, which
means that they get sent via your ppp0 (10.112.112.113) onward.

192.168.x.x is not routable via the internet, so packets sent to the
internet will be dropped by your ISP's router.


----------------------------------------------------------------------
WITHOUT PING

# ./iptables -L -v -n -t filter
[snip]

Your firewall rules look sane, and you don't show any suspicious
(pingish) packets dropped.

My conclusion: You lost your router when pppoe started up. You no
longer have a local interface on the 192.168.x.y network, and all
192.168.x.y packets are being routed to your ISP.

It sounds like you have a little more sophisticated network than your
experience with Unix tools will support, and you need some help in
setting up your PPPoE so that it doesn't conflict with your network. If
we're to help, we need a /complete/ description of your network,
starting with the system on which you run PPPoE.

- --
Lew Pitcher

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32) - WinPT 0.11.12

iD8DBQFFGRa8agVFX4UWr64RAjuxAJ9g9eaU46bpgfKU6Mf9KHkSh5SEHQCdHyzi
a+KVyYRvNZp8DHVm/dcjte8=
=z3R8
-----END PGP SIGNATURE-----

.


Quantcast