我正在使用 3G 调制解调器为我的 Linux 机器提供互联网连接。
因此,当我发出命令时ifconfig,我会看到以下内容:
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
Run Code Online (Sandbox Code Playgroud)
destination例如默认网关有什么问题?
根据我对PPP协议的理解,网络掩码是255.255.255.255,所以网关的IP地址应该是10.223.229.137或者类似的东西。
我想念什么?或者我们都在同一个网络上,因为地址是 A 类?
route -n给了我以下内容:
[root@server ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags …Run Code Online (Sandbox Code Playgroud)