ppp addresses and routing table

From: Bernd Prager (bernd_at_prager.ws)
Date: 06/30/05

  • Next message: Ryan Schultz: "Re: LDAP with Kerberos authentification"
    Date: Thu, 30 Jun 2005 16:40:46 -0400
    To: "debian-user@lists.debian.org" <debian-user@lists.debian.org>
    
    

    I'm experiencing some trouble with my DSL setup.
    Every time after reboot my routing table is using my ppp0 P-t-P address
    instead of its inet address.

    $ ifconfig ppp0
    ppp0 Link encap:Point-to-Point Protocol
              inet addr:168.100.249.107 P-t-P:168.100.250.1
    Mask:255.255.255.255
              UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
              RX packets:278715 errors:0 dropped:0 overruns:0 frame:0
              TX packets:280248 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:3
              RX bytes:155755125 (148.5 MiB) TX bytes:67529994 (64.4 MiB)

    $ route -e
    Kernel IP routing table
    Destination Gateway Genmask Flags MSS Window irtt
    Iface
    168.100.250.1 * 255.255.255.255 UH 0 0 0 ppp0
    192.168.2.0 * 255.255.255.0 U 0 0 0
    eth0
    192.168.1.0 * 255.255.255.0 U 0 0 0
    eth1
    default 168.100.250.1 0.0.0.0 UG 0 0 0 ppp0

    I'm not getting any Internet connection by using the P-t-P address.
    Only after I delete PPP0 and default gateway route and change them
    manually to the PPP0 inet address I get the desired connection.

    When I change the routing addresses from 168.100.250.1 to
    168.100.249.107 I get:

    $ route -e
    Kernel IP routing table
    Destination Gateway Genmask Flags MSS Window irtt
    Iface
    249-107.custome * 255.255.255.255 UH 0 0 0
    ppp0
    192.168.2.0 * 255.255.255.0 U 0 0 0
    eth0
    192.168.1.0 * 255.255.255.0 U 0 0 0
    eth1
    default 249-107.custome 0.0.0.0 UG 0 0 0
    ppp0

    And everything works fine from here.

    Is there something with my configuration messed up and I should get a
    proper connection through the P-t-P address?
    Or is there a way to tell my system it should use the external address
    instead?

    Thanks for any help,
    -- Bernd

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Ryan Schultz: "Re: LDAP with Kerberos authentification"

    Relevant Pages

    • ifconfig
      ... When I run ifconfig I get that ppp0 is given the Inet ... address of the ppp0 dev is supposed to be 192.168.0.20 and the P-t-P ...
      (comp.os.linux.networking)
    • Re: Modem and NIC Gateway
      ... Your initial routing table ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: Making PPP device persist, even after lost connection?
      ... They don't go away when the connection drops and ppp0 is destroyed. ... FWIW I set my rules before networking ... For me, networking also means creating 802.1q interfaces, so I ... Routing info is dropped when a device goes away, ...
      (comp.os.linux.networking)
    • Re: cant get route to work
      ... Type of hardware device 203.xx.xxx.www (regular router or NAT ... But your routing definitely does NOT match your description. ... For another thing, your ppp0 routing does not make any sense, and should ... because you have no ppp0 route for your default gw IP. ...
      (comp.os.linux.networking)
    • [SLE] Martian source
      ... martian messages sort of: ... I got an ADSL/Ethernet modem in ppp0 with the public fixed IP ... Here is my routing tables: ... Anyone can tell me what sort of illegal trafic is catching my kernel? ...
      (SuSE)