docker macvlan 运行 openwrt 后,其它机器都能使用 openwrt 作为网关,而宿主机不行,为什么

1次阅读

共计 274 个字符,预计需要花费 1 分钟才能阅读完成。

宿主机使用 openwrt 作为网关,且已经设置了 macvlan 的桥接访问
使用 ping 8.8.8.8
结果
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.0.11 icmp_seq=1 Destination Host Unreachable
From 192.168.0.11 icmp_seq=2 Destination Host Unreachable

但是可以通过使用 openwrt 的 http 代理来访问
如:curl -x http://192.168.0.188:10809 https://www.youtube.com

正文完
 0