Talk:Virtual Ethernet device

From OpenVZ Virtuozzo Containers Wiki
Revision as of 12:42, 17 July 2006 by Major (talk | contribs)
Jump to: navigation, search

Under Common Configurations -> Simple configuration -> Configure devices in VE0, the example shows

[host-node]# echo 1 > /proc/sys/net/ipv4/conf/eth0/forwarding
[host-node]# echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp

being run on the host node, VE0. I don't think this can be correct, because eth0 exists in VE 101, not VE0. -- —The preceding unsigned comment was added by Andrex (talkcontribs) .


This is correct, because we need to enable forwarding on both network interfaces in VE0 (host-node eth0 and veth101.0) to allow the network packets on one network interface (host-node eth0) to be forwarded to another network interface (veth101.0). The same thing with proxy ARP, we need to enable it on host-node eth0 and veth101.0 network interfaces. --Major 08:42, 17 July 2006 (EDT)