Hello,
I'm facing a very strange situation with a KVM guest.
Inside the guest I can ping the gateway (my host) , my host can ping the guest, but the guest cannot ping or reach anything else .
This is the ip config in the host:
cat /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet static
address xx.118.27.62
netmask 255.255.255.128
gateway xx.118.27.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
auto vmbr1
iface vmbr1 inet static
address xx.118.24.157
netmask 255.255.255.192
gateway xx.118.24.129
bridge_ports eth1
bridge_stp off
bridge_fd 0
From outside, I can ping xx.118.27.62 with no problem, but impossible to ping the guest which has IP: xx.118.27.75
This is the routing table on my host:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
xx.118.27.75 0.0.0.0 255.255.255.255 UH 0 0 0 vmbr0
xx.118.24.128 0.0.0.0 255.255.255.192 U 0 0 0 vmbr1
xx.118.27.0 0.0.0.0 255.255.255.128 U 0 0 0 vmbr0
0.0.0.0 xx.118.27.1 0.0.0.0 UG 0 0 0 vmbr0
brctl show
bridge name bridge id STP enabled interfaces
vmbr0 8000.0040d0c04b69 no eth0
vmtab101i0
vmbr1 8000.0040d0c04b6a no eth1
My guest(freebsd) has a default route set as :
default xx.118.27.62
It's been few days I'm trying to solve this problem, but no luck so far.
I would highly appreciate some help on what might be wrong ...
Thanks
SB
I'm facing a very strange situation with a KVM guest.
Inside the guest I can ping the gateway (my host) , my host can ping the guest, but the guest cannot ping or reach anything else .
This is the ip config in the host:
cat /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet static
address xx.118.27.62
netmask 255.255.255.128
gateway xx.118.27.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
auto vmbr1
iface vmbr1 inet static
address xx.118.24.157
netmask 255.255.255.192
gateway xx.118.24.129
bridge_ports eth1
bridge_stp off
bridge_fd 0
From outside, I can ping xx.118.27.62 with no problem, but impossible to ping the guest which has IP: xx.118.27.75
This is the routing table on my host:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
xx.118.27.75 0.0.0.0 255.255.255.255 UH 0 0 0 vmbr0
xx.118.24.128 0.0.0.0 255.255.255.192 U 0 0 0 vmbr1
xx.118.27.0 0.0.0.0 255.255.255.128 U 0 0 0 vmbr0
0.0.0.0 xx.118.27.1 0.0.0.0 UG 0 0 0 vmbr0
brctl show
bridge name bridge id STP enabled interfaces
vmbr0 8000.0040d0c04b69 no eth0
vmtab101i0
vmbr1 8000.0040d0c04b6a no eth1
My guest(freebsd) has a default route set as :
default xx.118.27.62
It's been few days I'm trying to solve this problem, but no luck so far.
I would highly appreciate some help on what might be wrong ...
Thanks
SB