Thread: Host can't access gateway but VM can with Bridged Networking
i've set bridged networking can have kvm virtual machines accessible outside host. can access both host , vm other machines on local network, , vm can access internet host can access local network. since can access local network , same issue applies regardless of whether use host names or ip addresses suspect it's not picking gateway properly.
how go allowing vm host access internet while still having bridged networking can access vms?
i've checked far:
ping google dns (8.8.8.8 )
host: destination host unreachable
vm: suceeds
tracepath 8.8.8.8 -n
host:
from vm:code:1: 192.168.1.15 0.215ms pmtu 1500 1: 192.168.1.15 3001.013ms !h resume: pmtu 1500
since 192.168.1.1 nat gateway vm going straight gateway , out expected, host (ip 192.168.1.15) seems not leaving box.code:1: 192.168.1.1 7.055ms asymm 2 2: 203.109.128.90 59.708ms 3: 203.109.143.101 149.582ms ... more
route -n
host:
i'm not realy sure how intepret this, me it's picked gateway properly.code:kernel ip routing table destination gateway genmask flags metric ref use iface 192.168.1.0 0.0.0.0 255.255.255.0 u 0 0 0 br0 192.168.1.0 0.0.0.0 255.255.255.0 u 1 0 0 eth0 192.168.122.0 0.0.0.0 255.255.255.0 u 0 0 0 virbr0 169.254.0.0 0.0.0.0 255.255.0.0 u 1000 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 ug 0 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 ug 100 0 0 br0
/etc/network/interfaces on host follows:
i've checked dns specified in /etc/resolve.conf correct. since things fail using ip addresses that's unlikely cause.code:auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto br0 iface br0 inet dhcp bridge_ports eth0 bridge_stp off bridge_fd 9 bridge_maxwait 0
issues accessing things outside of subnet. can access other machines on same subnet host fine.
i encouter same problem
can not solve either
can
welcome
in advance!
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Host can't access gateway but VM can with Bridged Networking
Ubuntu
Comments
Post a Comment