Olive and VirtualBox Multicast Issue

Posted by

Now that I have Olive running in VirtualBox I decided to connect the interfaces to the host-only network and get a few things working between a couple olive instances.  One catch … I can’t get multicast to work properly between the two instances.

The IPv4 subnet defined by VB on the host-only network is 192.168.56.0/24.  192.168.56.1 is assigned to the PC and I have 192.168.56.10 and 192.168.56.11 assigned to R1 and R2 respectively.

 

root@R1> ping 192.168.56.1
PING 192.168.56.1 (192.168.56.1): 56 data bytes
64 bytes from 192.168.56.1: icmp_seq=0 ttl=128 time=1.211 ms
64 bytes from 192.168.56.1: icmp_seq=1 ttl=128 time=0.627 ms
64 bytes from 192.168.56.1: icmp_seq=2 ttl=128 time=0.690 ms
64 bytes from 192.168.56.1: icmp_seq=3 ttl=128 time=0.925 ms
^C
--- 192.168.56.1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.627/0.863/1.211/0.229 ms
root@R1> ping 192.168.56.11
PING 192.168.56.11 (192.168.56.11): 56 data bytes
64 bytes from 192.168.56.11: icmp_seq=0 ttl=64 time=0.502 ms
64 bytes from 192.168.56.11: icmp_seq=1 ttl=64 time=0.797 ms
64 bytes from 192.168.56.11: icmp_seq=2 ttl=64 time=0.765 ms
64 bytes from 192.168.56.11: icmp_seq=3 ttl=64 time=1.410 ms
^C
--- 192.168.56.11 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.502/0.869/1.410/0.333 ms
root@R1> show arp
MAC Address       Address         Name                     Interface     Flags
08:00:27:00:d4:38 192.168.56.1    192.168.56.1              em0.0        none
08:00:27:c7:b4:ed 192.168.56.11   192.168.56.11             em0.0        none
Total entries: 2

ARP is functioning which means broadcast is working.

The next step was to enable IPv6 and test that out.

R1 configuration:

interfaces {
    em0 {
        unit 0 {
            family inet {
                address 192.168.56.10/24;
            }
            family inet6 {
                address fec0::1/64;
            }
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 1.1.1.1/32;
            }
        }
    }
}

R2 Configuration:

interfaces {
    em0 {
        unit 0 {
            family inet {
                address 192.168.56.11/24;
            }
            family inet6 {
                address fec0::2/64;
            }
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 2.2.2.2/32;
            }
        }
    }
}

At this point I should be able to do IPv6 pings. However, they fail.

 

root@R1> ping inet6 fec0::2 
PING6(56=40+8+8 bytes) fec0::1 --> fec0::2
^C
--- fec0::2 ping6 statistics ---
10 packets transmitted, 0 packets received, 100% packet loss
root@R2> show ipv6 neighbors 

root@R2> ping inet6 fec0::1 
PING6(56=40+8+8 bytes) fec0::2 --> fec0::1
^C
--- fec0::1 ping6 statistics ---
6 packets transmitted, 0 packets received, 100% packet loss

But I can ping the VB connection from R1 and R2:

root@R1> ping inet6 fec0::a00:27ff:fe00:d438 
PING6(56=40+8+8 bytes) fec0::1 --> fec0::a00:27ff:fe00:d438
16 bytes from fec0::a00:27ff:fe00:d438, icmp_seq=0 hlim=64 time=2.168 ms
16 bytes from fec0::a00:27ff:fe00:d438, icmp_seq=1 hlim=64 time=0.912 ms
16 bytes from fec0::a00:27ff:fe00:d438, icmp_seq=2 hlim=64 time=0.655 ms
16 bytes from fec0::a00:27ff:fe00:d438, icmp_seq=3 hlim=64 time=0.725 ms
16 bytes from fec0::a00:27ff:fe00:d438, icmp_seq=4 hlim=64 time=1.101 ms
16 bytes from fec0::a00:27ff:fe00:d438, icmp_seq=5 hlim=64 time=0.493 ms
^C
--- fec0::a00:27ff:fe00:d438 ping6 statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max/std-dev = 0.493/1.009/2.168/0.553 ms

And it shows up in neighbors table:

root@R1> show ipv6 neighbors 
IPv6 Address                 Linklayer Address  State       Exp Rtr Interface
fe80::a00:27ff:fe00:d438     08:00:27:00:d4:38  stale       583 no  em0.0       
fec0::a00:27ff:fe00:d438     08:00:27:00:d4:38  stale       1178 no em0.0

So I’m a little confused on the issue. I can get IPv6 working if I statically map the neighbors and can get OSPF working if I specify neighbors. It appears multicast doesn’t work between the two routers but functions up to the host interface.

Advertisements

2 comments

  1. Matt:

    Did you ever figure this out? Helping with an IPv6 class and really want to use GNS3 for the labs..

    I’m stuck in the same boat.. Know it was a long time ago maybe you have another way now

    Thanks

    Blair

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s