It is currently Mon Oct 14, 2019 1:16 pm


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Multicast broken on Juniper Olive (OSX / Qemu 2.0)
PostPosted: Wed May 21, 2014 10:47 am 
Offline

Joined: Wed May 21, 2014 10:02 am
Posts: 2
Hello fellow tinkerers, geeks, labrats, sys- and network admins,

I apologize in advance:
    * If there is a similar question already, I've searched the forum but decided to post a new question
    * For the long post

Problem:
Multicast traffic doesn't work between two Olive images I'm running on OSX, connected via a bridge interface via my OSX host.
Unicast works (BGP and routing works) but multicast traffic get dropped, it seems, by my system.

I'm running:

So I've installed the TunTap package, and I've setup a bridge interface between my two Olive's like so:

Create bridge interface and add tap interfaces:
Code:
sudo ifconfig bridge10 create
sudo ifconfig bridge10 up addm tap0
sudo ifconfig bridge10 up addm tap1


Configure IP on bridge interface:
Code:
sudo ifconfig bridge10 10.10.10.254/24 up


Add route for multicast traffic:
Quote:
sudo route add -net 224.0.0.0/24 -interface bridge10


So the IP config is as follows:
Code:
Olive1 interface em0 = 10.10.10.1
Olive2 interface em0 = 10.10.10.2
OSX interface bridge10 = 10.10.10.254


Now, with tcpdump I can see OSPF hello packets going out the em0 interface of each Olive, and I see ingress packets on my OSX bridge10 interface I created. But then the packets of the first Olive, never reach the second Olive, and vice versa.

Capture from Olive1:
Code:
12:27:16.538889 Out IP 10.10.10.1 > 224.0.0.5: OSPFv2, Hello, length 44
12:27:26.214762 Out IP 10.10.10.1 > 224.0.0.5: OSPFv2, Hello, length 44
12:27:32.226205 Out IP 10.10.10.1 > 224.0.0.5: OSPFv2, Hello, length 44


Capture from Olive2:
Code:
12:29:06.334229 Out IP 10.10.10.2 > 224.0.0.5: OSPFv2, Hello, length 44
12:29:13.594172 Out IP 10.10.10.2 > 224.0.0.5: OSPFv2, Hello, length 44
12:29:23.250220 Out IP 10.10.10.2 > 224.0.0.5: OSPFv2, Hello, length 44


Capture from OSX brige10 interface:
Code:
12:31:08.737743 IP 10.10.10.2 > 224.0.0.5: OSPFv2, Hello, length 44
12:31:12.888509 IP 10.10.10.1 > 224.0.0.5: OSPFv2, Hello, length 44
12:31:25.521446 IP 10.10.10.2 > 224.0.0.5: OSPFv2, Hello, length 44
12:31:28.225551 IP 10.10.10.1 > 224.0.0.5: OSPFv2, Hello, length 44
12:31:35.487982 IP 10.10.10.2 > 224.0.0.5: OSPFv2, Hello, length 44
12:31:35.916790 IP 10.10.10.1 > 224.0.0.5: OSPFv2, Hello, length 44



For what it's worth:
    * The OSX firewall is disabled for the record.
    * I can ping all IP's from all interfaces (meaning unicast address 10.10.10.x on both em0's and the bridge10 interface)

Output of ifconfig:
Code:
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
   ether 1a:37:5b:b1:6d:14
   open (pid 92860)
tap1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
   ether 06:0d:2e:3d:33:57
   open (pid 93150)
bridge10: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
   options=3<RXCSUM,TXCSUM>
   ether 7a:31:c1:bc:21:0a
   inet 10.10.10.254 netmask 0xffffff00 broadcast 10.10.10.255
   Configuration:
      id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
      maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
      root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
      ipfilter disabled flags 0x2
   member: tap0 flags=3<LEARNING,DISCOVER>
           ifmaxaddr 0 port 12 priority 0 path cost 0
   member: tap1 flags=3<LEARNING,DISCOVER>
           ifmaxaddr 0 port 13 priority 0 path cost 0
   media: <unknown type>
   status: inactive




I've booted Olive1 ('R1') in Qemu with:
Code:
sudo qemu-system-x86_64 R1.img -m 96 -nographic -serial telnet::2001,server,nowait \
-localtime -net nic,vlan=1,macaddr=00:aa:00:60:00:01,model=e1000 \
-net tap,vlan=1,ifname=tap0,script=no



I've booted Olive2 ('R2') in Qemu with:
Code:
sudo qemu-system-x86_64 R2.img -m 96 -nographic -serial telnet::2002,server,nowait \
-localtime -net nic,vlan=1,macaddr=00:aa:00:60:00:02,model=e1000 \
-net tap,vlan=1,ifname=tap1,script=no


Can anyone think of a solution?

Being able to run protocols that run on multicast like OSPF and VRRP would totally rock... As soon as this works, I want to experiment with running the images under GNS3/Dynamips.

Any help would be much appreciated!

Thanks!




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO