Hi,
I can't get any internet connection in the VM.
here is my host network config (with NAT postrouting statements):
# network interface settings
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask 255.255.255.224
gateway xxx.xxx.xxx.xxx
broadcast xxx.xxx.xxx.xxx
post-up mii-tool -F 100baseTx-FD eth0
auto vmbr0
iface vmbr0 inet static
address 10.10.10.254
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up iptables -t nat -A POSTROUTING -s '10.0.0.0/8' -o eth0 -j SNAT -
-to-source 10.10.10.1
post-down iptables -t nat -D POSTROUTING -s '10.0.0.0/8' -o eth0 -j SNAT
--to-source 10.10.10.1
my guest network settings:
# network interface settings
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.10.10.1
netmask 255.255.255.0
gateway 10.10.10.254
I can ping each other, i can remotely connect to my VM apache using apache mod_proxy configured in the host apache. But no internet in the VM.
Any help would be greatly appreciated.
Thanks a lot in advance !
I can't get any internet connection in the VM.
here is my host network config (with NAT postrouting statements):
# network interface settings
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask 255.255.255.224
gateway xxx.xxx.xxx.xxx
broadcast xxx.xxx.xxx.xxx
post-up mii-tool -F 100baseTx-FD eth0
auto vmbr0
iface vmbr0 inet static
address 10.10.10.254
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up iptables -t nat -A POSTROUTING -s '10.0.0.0/8' -o eth0 -j SNAT -
-to-source 10.10.10.1
post-down iptables -t nat -D POSTROUTING -s '10.0.0.0/8' -o eth0 -j SNAT
--to-source 10.10.10.1
my guest network settings:
# network interface settings
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.10.10.1
netmask 255.255.255.0
gateway 10.10.10.254
I can ping each other, i can remotely connect to my VM apache using apache mod_proxy configured in the host apache. But no internet in the VM.
Any help would be greatly appreciated.
Thanks a lot in advance !