The latest version of Attitude Adjustment (12.09, r36088), which was loaded with openwrt in Hyper-V, has been mentioned in my previous article on how to install link
But found using Opkg update can not be used, said wget can not connect to openwrt.org this network
Find ping also ping different baidu.com, prompt appears
[Email protected]:~# Ping baidu.com
Ping:bad address ' baidu.com '
Is the DNS resolution problem, in/etc/resolv.conf, add my home gateway: 192.168.100.1
In the file, add:
NameServer 192.168.100.1
And now Ping baidu.com.
[Email protected]:~# Ping www.baidu.com
PING www.baidu.com (119.75.217.56): Data bytes
Ping:sendto:Network is unreachable
The discovery route should not be correct
So we looked at the route:
[Email protected]:~# Route
Kernel IP Routing Table
Destination Gateway genmask Flags Metric Ref use Iface
192.168.100.0 * 255.255.255.0 U 0 0 0 Br-lan
No default, so I can't even go to the outside network
And then I wrote a.
Route add 0.0.0.0 netmask 0.0.0.0 GW 192.168.100.1
The result is not even, and the result of the route is different from what I expected.
Default 192.168.100.1 255.255.255.255 UGH 0 0 0 Br-lan
The Mask is 255.255.255.255
So go to a multi-party search, see manuals, etc., to find the way to connect with the bridge can be
Route add-net 0.0.0.0 netmask 0.0.0.0 gw 192.168.100.1 Dev Br-lan