Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #1277

Re: default route ignored when ppp0 up

From Pascal Hambourg <boite-a-spam@plouf.fr.eu.org>
Newsgroups comp.os.linux.networking
Subject Re: default route ignored when ppp0 up
Date 2012-04-10 20:52 +0200
Organization Plouf !
Message-ID <jm1vhv$1s36$1@saria.nerim.net> (permalink)
References <f3df6a61-f737-4cb6-aac1-32664783d86c@2g2000yqp.googlegroups.com>

Show all headers | View raw


Hello,

Don a écrit :
> I have a Lenny Debian distro with a 2.6.21 kernel.  I start with a
> single Ethernet interface to the Internet:
> 
> tcors01:~# netstat -rn
>  Kernel IP routing table
>  Destination     Gateway         Genmask  Flags MSS Window irtt Iface
>  129.116.XXX.  0 0.0.0.0             255.255.255.0 U    0 0 0 eth2
>  0.0.0.0             129.116.XXX.254           0.0.0.0 UG 0 0 0 eth2
>  tcors01:~# ping 8.8.8.8
>  PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
>  64 bytes from 8.8.8.8: icmp_seq=1 ttl=48 time=35.0 ms
>  64 bytes from 8.8.8.8: icmp_seq=2 ttl=48 time=30.3 ms
> 
> --- 8.8.8.8 ping statistics ---
>  2 packets transmitted, 2 received, 0% packet loss, time 1006ms
>  rtt min/avg/max/mdev = 30.381/32.726/35.072/2.352 ms
> 
> The default route works fine until I bring up a point-to-point
> interface.
> 
> tcors01:~# pon att
>  tcors01:~# netstat -rn
>  Kernel IP routing table
>  Destination       Gateway     Genmask    Flags MSS Window irtt Iface
>  192.168.111.111    0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
>  129.116.XXX.0       0.0.0.0 255.255.255.0     U    0 0 0 eth2
>  0.0.0.0   129.116.XXX.254             0.0.0.0     UG 0 0 0 eth2
>  tcors01:~# ping 8.8.8.8
>  PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
>  From 129.116.XXX.27 icmp_seq=1 Destination Host Unreachable
>  From 129.116.XXX.27 icmp_seq=2 Destination Host Unreachable
>  From 129.116.XXX.27 icmp_seq=3 Destination Host Unreachable

This message normally means that the " next hop" (either router or final
destination) IP address could not be resolved with ARP.

> --- 8.8.8.8 ping statistics ---
>  5 packets transmitted, 0 received, +3 errors, 100% packet loss, time
> 4012ms
>  , pipe 3
> 
> Why does the default route fail with the addition of the ppp0
> interface to the routing table?

What is 129.116.XXX.27 ? The host itself, I guess ?
What is the output of : ip route get 8.8.8.8
What is the output of : ping 129.116.XXX.254
What is the output of : ip neigh
While trying to ping 8.8.8., what is the output of : tcpdump -ni eth2

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

default route ignored when ppp0 up Don <don.w.tucker@gmail.com> - 2012-04-10 07:35 -0700
  Re: default route ignored when ppp0 up J G Miller <miller@yoyo.ORG> - 2012-04-10 15:49 +0000
    Re: default route ignored when ppp0 up Andy Furniss <spam@andyfurniss.entadsl.com> - 2012-04-10 17:04 +0100
      Re: default route ignored when ppp0 up J G Miller <miller@yoyo.ORG> - 2012-04-10 16:12 +0000
    Re: default route ignored when ppp0 up Don <don.w.tucker@gmail.com> - 2012-04-10 10:10 -0700
  Re: default route ignored when ppp0 up Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-10 20:52 +0200
    Re: default route ignored when ppp0 up Don <don.w.tucker@gmail.com> - 2012-04-10 15:04 -0700
      Re: default route ignored when ppp0 up Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-11 00:52 +0200
        Re: default route ignored when ppp0 up Don <don.w.tucker@gmail.com> - 2012-04-11 07:25 -0700
          Re: default route ignored when ppp0 up Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-12 23:04 +0200
            Re: default route ignored when ppp0 up Don <don.w.tucker@gmail.com> - 2012-05-01 08:49 -0700

csiph-web