openwrt-x86-64 icon indicating copy to clipboard operation
openwrt-x86-64 copied to clipboard

不能PING 域名 (只可以IP)

Open sillydanny opened this issue 4 years ago • 0 comments

你好, 我是用QNAP 的DOCKER. 使用的網段為 10.10.1.0/24 (gateway : 10.10.1.1)

已跟大佬指引創建了macnet (網卡是eth0)

docker network create -d macvlan --subnet=10.10.1.0/24 --gateway=10.10.1.1 -o parent=eth0 macnet

及成功啟動Docker Openwrt 和 設定了IP 及DNS等

config interface 'lan' option type 'bridge' option ifname 'eth0' option _orig_ifname 'eth0' option _orig_bridge 'true' option proto 'static' option ipaddr '10.10.1.66' option netmask '255.255.255.0' option gateway '10.10.1.1' option broadcast '10.10.1.255' option dns '1.1.1.1 8.8.8.8'

可以正常PING所有IP 但域名不能, 試用DNS 223.5.5.5 114.114.114.114都不能. 可以煩請大神協助了解一下嗎?

sillydanny avatar Nov 04 '20 00:11 sillydanny