OpenVZ Forum


Home » General » Support » How to run OSPF inside VE? (or: multicast support in VE in general)
How to run OSPF inside VE? (or: multicast support in VE in general) [message #24170] Sun, 02 December 2007 08:56 Go to next message
yiwang is currently offline  yiwang
Messages: 5
Registered: October 2007
Junior Member
I've been trying to get OSPF running inside VE, but without success so far.

I'm using 2.6.18-ovz028stab049.1 on FC5. I setup my VE using veth devices, following the instructions on http://wiki.openvz.org/Veth

When I run OSPF inside the VE, I found the multicast packets went through veth101.0 and veth101.1 (which correspond to eth0 and eth1 of the VE) from tcpdump:

-bash-3.1$ sudo tcpdump -i veth101.0
tcpdump: WARNING: veth101.0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on veth101.0, link-type EN10MB (Ethernet), capture size 96 bytes
01:32:39.192908 IP 192.168.0.101 > OSPF-ALL.MCAST.NET: OSPFv2, Hello, length: 44
01:32:49.193922 IP 192.168.0.101 > OSPF-ALL.MCAST.NET: OSPFv2, Hello, length: 44
01:32:59.193966 IP 192.168.0.101 > OSPF-ALL.MCAST.NET: OSPFv2, Hello, length: 44
01:33:09.194958 IP 192.168.0.101 > OSPF-ALL.MCAST.NET: OSPFv2, Hello, length: 44

But the packets never showed up at eth0 and eth1 of the HN. (I expect packets coming out of veth101.0 to leave from eth0, and those from veth101.1 to leave from eth1.)

Any idea what the problem might be?

Thanks a lot!
Re: How to run OSPF inside VE? (or: multicast support in VE in general) [message #24193 is a reply to message #24170] Sun, 02 December 2007 23:04 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello Yi,

You need to create a bridge between your physical devices and veths on HN.

Some information about bridges is here: http://wiki.openvz.org/Virtual_Ethernet_device#Create_bridge _device

HTH,
Vasily
Previous Topic: Warning: Variable TEMPLATE not found in /etc/sysconfig/vz
Next Topic: Multiple (2) Network Cards both used for VE's + Public IP issues
Goto Forum:
  


Current Time: Sun Aug 11 22:19:42 GMT 2024

Total time taken to generate the page: 0.02879 seconds