Iptables and network bridge
Hello,
I have the following XEN network setup at hand: Code:
IPTABLES Forward requests on tcp port 80 to the virtual machine with the IP 192.168.1.42. The virtual machine should get updates from the internet The virtual machine should successfully ping Public IP 123.123.123.123 The virtual machine should successfully ping 192.168.1.1 The virtualization host should successfully ping 192.168.1.42 IPtables has default drop policy. Some thoughts: Code:
echo 1 > /proc/sys/net/ipv4/ip_forward 2> /dev/null Internet in the virtual machine is ok: VM can ping google and wget index.html VM does not get ping reply to ip 192.168.1.42, 192.168.1.1 nor 123.123.123.123 How can I further debug this issue? What did I miss? Thanks! |
Maybe this thread will help.
|
Thanks for the help!
The solution was trivial. All was setup correct. Icmp was ignored by host. The following code solved the issue: Code:
echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all |
All times are GMT -5. The time now is 01:46 AM. |