我知道ipv4路由表,它有一个默认网关,不符合其他规则的流量会进去。但是当我在手机上查看路由表时,我对结果感到困惑,有很多默认路由和很多netif之类的ipsec
,pdp_ip0
和pdp_ip1
。
Internet6:
Destination Gateway Flags Netif
default fe80::e903:5cea:17ea:fecb%pdp_ip0 UGcI pdp_ip0
default fe80::d419:a6c6:3bd9:d440%pdp_ip1 UGcI pdp_ip1
default fe80::%utun0 UGcI utun0
default fe80::%utun1 UGcI utun1
default 2409:8800:8806:f6e7:: UGcI ipsec0
default 2409:8800:8806:f6e7:: UGcI ipsec1
default fe80::%utun2 UGcI utun2
default fe80::%utun3 UGcI utun3
default fe80::%utun4 UGcI utun4
default fe80::%utun5 UGcI utun5
::1 ::1 UHL lo0
2409:8800:8806:f6e7::/64 link#5 UC pdp_ip1
2409:8800:8806:f6e7::/64 fe80::48e1:3a00:850:59d2%ipsec0 UcI ipsec0
2409:8800:8806:f6e7::/64 fe80::48e1:3a00:850:59d2%ipsec1 UcI ipsec1
2409:8800:8806:f6e7:100c:6165:5fde:7787 link#5 UHL lo0
2409:8800:8806:f6e7:5c28:2082:17e4:277 link#5 UHL lo0
2409:8900:1800:607a::/64 link#2 UC pdp_ip0
2409:8900:1800:607a:1cf2:fec:67df:c2ea link#2 UHL lo0
2409:8900:1800:607a:40bf:b6b5:7261:a1ab link#2 UHL lo0
2409:8900:1800:607a:e447:87d7:9f7b:14f5 link#2 UHLWI pdp_ip0
fe80::%lo0/64 fe80::1%lo0 UcI lo0
fe80::1%lo0 link#1 UHLI lo0
fe80::%pdp_ip0/64 link#2 UCI pdp_ip0
fe80::16:587b:857b:84b2%pdp_ip0 link#2 UHLI lo0
fe80::e903:5cea:17ea:fecb%pdp_ip0 link#2 UHLWIir pdp_ip0
fe80::%pdp_ip1/64 link#5 UCI pdp_ip1
fe80::857:f045:b0e8:d05e%pdp_ip1 link#5 UHLI lo0
fe80::d419:a6c6:3bd9:d440%pdp_ip1 link#5 UHLWIir pdp_ip1
fe80::%en0/64 link#8 UCI en0
fe80::49:3845:ebeb:3445%en0 2:0:0:0:0:0 UHLWI en0
...
...
...
... many more
我的问题是
- 当一个连接来的时候,是哪
default
条路由呢? - 我知道
pdp_ip
来自手机,但为什么有两个pdp_ip0
pdp_ip1
? - 我没有连接到VPN,为什么有一个名为的netif
ipsec
? - 在哪里
2:0:0:0:0:0
? - 如何理解如此巨大的结果?
谢谢!