OpenVZ Forum


Home » General » Support » Cannot get veth working to save my life... please help!
Cannot get veth working to save my life... please help! [message #37912] Sun, 01 November 2009 21:11 Go to previous message
batfastad is currently offline  batfastad
Messages: 15
Registered: September 2009
Location: London, UK
Junior Member
Hi everyone
I'm really struggling getting veth to work. The container is Ubuntu 8.04 64bit and host is CentOS 5.3 64bit

I'm following this guide... http://wiki.openvz.org/Veth#Simple_configuration_with_virtua l_Ethernet_device
but I just can't get it going

Here's what I'm doing:

vzctl set 105 --netif_add eth0,,,,vzbr0 --save

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

[host-node]# vzctl enter 101
[ve-101]# /sbin/ifconfig eth0 0
[ve-101]# /sbin/ip addr add 192.168.1.15 dev eth0
[ve-101]# /sbin/ip route add default dev eth0


Do I need to restart the CT or the host's networking at any point in this procedure?

At what point should I be able to ping out of the container?

Anyone?
I've been working on this all day to switch our servers over and still no luck

Cheers, B

[Updated on: Sun, 01 November 2009 21:15]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: deadline scheduler?
Next Topic: Kernel panics (debian, 2.6.x kernels)
Goto Forum:
  


Current Time: Sun Aug 18 22:18:07 GMT 2024

Total time taken to generate the page: 0.02854 seconds