I'm using a 3G-modem to provide an Internet connection to my Linux box.

So, when I issue the ifconfig command, I see the following:

        inet  netmask  destination
        ppp  txqueuelen 3  (Point-to-Point Protocol)
        RX packets 120  bytes 33390 (32.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 197  bytes 23842 (23.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

What's wrong with destination, e.g. with the default gateway?

According to my understanding of the PPP protocol, the netmask is, so the IP address of the gateway should be or something like that.

What do I miss? Or are we both on the same network, because the address is class A?

route -n gives me the following:

[root@server ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         U     0      0        0 ppp0 UH    0      0        0 ppp0   U     0      0        0 eth0

2 Answers 2


pppd uses a default for "hisaddr" if it doesn't receive remote address info from the peer during IPCP. The address pppd uses is 0x0a404040 + unit where unit is the 0 in ppp0. That typically appears as (The other default address you may see is 0xa707070 + unit =, used for dial-on-demand interfaces).

I have seen this happen with the PPP interfaces emulated by GSM cellular modems. IPCP is used to inform the host of its GPRS IP address, but there is no real peer at "the other end" so you get this fake one.


The destination isn't the default gateway. PPP stands for 'point-to-point protocol' and this is exactly what you're seeing: the near-end point is, and the far end is

Check your routing table (route -n): this will display the default gateway.

The 'all 1s' netmask means that there is in effect no subnet associated with the local address. Don't bother with classes of subnet: they haven't had any real-world meaning for many years.

  • I've updated the question, so route -n gives me the default gateway of
    – maniaque
    Jul 26, 2013 at 15:57
  • So yes, your traffic is routed to the other side of the point-to-point connection. All looks healthy to me.
    – Flup
    Jul 27, 2013 at 17:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .