[Xorp-users] Multicast configuration from v1.6 to 1.8.3
Pak Woon
pakwoon at gmail.com
Sat Aug 4 05:37:39 PDT 2012
Hello,
I have been using v1.6 xorp on ubuntu 10.10 for a while now with no
issues. I recently upgraded to 12.04 and v1.8.3 but I am unable to get
it to work using the same config file.
Details as follows:
Interfaces are:
$ ifconfig -a
dummy0 Link encap:Ethernet HWaddr 5e:00:66:80:91:86
inet addr:192.168.200.1 Bcast:192.168.200.15 Mask:255.255.255.240
inet6 addr: fe80::5c00:66ff:fe80:9186/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:356 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:32104 (32.1 KB)
eth0 Link encap:Ethernet HWaddr 00:25:22:ff:61:59
inet addr:192.168.1.14 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::225:22ff:feff:6159/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7075 errors:0 dropped:0 overruns:0 frame:0
TX packets:356920 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4243292 (4.2 MB) TX bytes:476375173 (476.3 MB)
Interrupt:43
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:30259 errors:0 dropped:0 overruns:0 frame:0
TX packets:30259 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3283238 (3.2 MB) TX bytes:3283238 (3.2 MB)
pimreg Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:1472 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
My route table is:
$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default iinet.iad 0.0.0.0 UG 0 0 0 eth0
default iinet.iad 0.0.0.0 UG 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
192.168.1.0 * 255.255.255.0 U 1 0 0 eth0
192.168.200.0 * 255.255.255.240 U 0 0 0 dummy0
224.0.0.0 * 240.0.0.0 U 0 0 0 dummy0
Then I have dvblast sending to multicast address 239.255.0.1:5001
So basically I use xorp to reduce my network load by feeding the
dvblast stream into a dummy interface for it to handle the
multicasting.
My xorp.config file (located in /usr/etc/, using -c/-b always prints
out /usr/etc/xorp.conf for some reason) is as follows:
interfaces {
restore-original-config-on-shutdown: false
interface eth0 {
description: "gig-eth2"
disable: false
/*default-system-config*/
vif eth0 {
disable: false
address 192.168.1.14 {
prefix-length: 24
broadcast: 192.168.1.255
disable: false
}
}
}
interface dummy0 {
description: "dummy0"
disable: false
/*default-system-config*/
vif dummy0 {
disable: false
address 192.168.200.1 {
prefix-length: 28
broadcast: 192.168.200.15
disable: false
}
}
}
}
fea {
unicast-forwarding4 {
disable: false
/*
forwarding-entries {
retain-on-startup: false
retain-on-shutdown: false
}
*/
}
}
plumbing {
mfea4 {
disable: false
interface dummy0 {
vif dummy0 {
disable: false
}
}
interface eth0 {
vif eth0 {
disable: false
}
}
interface "register_vif" {
vif "register_vif" {
disable: false
}
}
traceoptions {
flag all {
disable: false
}
}
}
}
protocols {
fib2mrib {
disable: false
}
pimsm4 {
disable: false
interface dummy0 {
vif dummy0 {
disable: false
}
}
interface eth0 {
vif eth0 {
disable: false
}
}
interface "register_vif" {
vif "register_vif" {
disable: false
}
}
static-rps {
rp 192.168.1.14 {
group-prefix 239.255.0.0/16 {
rp-priority: 1
}
}
}
}
igmp {
disable: false
interface dummy0 {
vif dummy0 {
disable: false
version: 2
/*
enable-ip-router-alert-option-check: false */
/* query-interval: 125 */
/* query-last-member-interval: 1 */
/* query-response-interval: 10 */
/* robust-count: 2 */
}
}
interface eth0 {
vif eth0 {
disable: false
version: 2
/* enable-ip-router-alert-option-check: false */
query-interval: 125
/* query-last-member-interval: 1 */
/* query-response-interval: 10 */
/* robust-count: 2 */
}
}
traceoptions {
flag all {
disable: false
}
}
}
}
Using vlc to view udp://@239.255.0.1:5001 from the host machine works,
but when I try to access it from elsewhere in the network(STB), it
fails.
I definitely get the JOIN on xorp, but it does not seem to be forward
to the dummy interface:
TRACE xorp_igmp MLD6IGMP ] mld6igmp_process: RX
IGMP_V2_MEMBERSHIP_REPORT from 192.168.1.3 to 239.255.0.2 on vif eth0
TRACE xorp_igmp MLD6IGMP ] Notify routing add membership for (0.0.0.0,
239.255.0.2) on vif eth0
I feel I'm missing something fundamental and probably just need to be
reminded of what I did 18 months ago.
Any help would be much appreciated.
Regards,
Pak
More information about the Xorp-users
mailing list