bigeagle / gohop

A VPN implemention in golang, with crypto and obfuscation in nature.
1.33k stars 195 forks source link

client route table question #5

Closed ghost closed 10 years ago

ghost commented 10 years ago

fedora route table: 10.8.8.4 * 255.255.255.255 UH 0 0 0 tun0 10.8.8.0 10.8.8.4 255.255.255.0 UG 0 0 0 tun0 default 10.8.8.4 128.0.0.0 UG 0 0 0 tun0 default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 128.0.0.0 10.8.8.4 128.0.0.0 UG 0 0 0 tun0 为什么有两个 "default"?,是否由这句引起:ip -4 route add 0.0.0.0/1 via 10.8.8.4 dev tun0 128.0.0.0这条是什么意思

bigeagle commented 10 years ago

因为路由表里已经有0.0.0.0/0这一条了,要覆盖而不删除只能加两条。