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:
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 10.223.229.136 netmask 255.255.255.255 destination 10.64.64.64
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 255.255.255.255, so the IP address of the gateway should be 10.223.229.137 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
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0