[Xorp-users] Multicast router: Everything is not working
Damien Girard
damien.girard at odyssee-systemes.fr
Mon Jul 7 02:58:42 PDT 2008
Hi all,
I am a new user to xorp, and I have few problems with it.
I am running Debian 4.0 (Etch), and I have installed the xorp package
that comes from "testing" (Ver: 1.5~cvs.20080128-1)
What I want to do is fairly simple:
- Two network. 192.168.1.0/24 and 192.168.2.0/24
- Those two networks must be able to talk together using multicast
protocol.
- eth0 is connected on network 192.168.2.0/24
- eth1 is connected on network 192.168.1.0/24
Multicast is enabled in the kernel as the Xorp manual say.
What I want to do is the following to test everything:
VLC is playing a multicast stream from one network, the another network
must show the video. The IP Address of the streaming multicast is :
239.255.0.1
------------------------------------------------
My xorp configuration file:
protocols {
fib2mrib {
}
igmp {
interface eth0 {
vif eth0 {
}
}
interface eth1 {
vif eth1 {
}
}
traceoptions {
flag {
all {
}
}
}
}
pimsm4 {
interface eth0 {
vif eth0 {
}
}
interface eth1 {
vif eth1 {
}
}
bootstrap {
cand-bsr {
scope-zone 224.0.0.0/4 {
cand-bsr-by-vif-name: "eth0"
}
}
cand-rp {
group-prefix 224.0.0.0/4 {
cand-rp-by-vif-name: "eth0"
}
}
}
switch-to-spt-threshold {
bytes: 102400
}
traceoptions {
flag {
all {
}
}
}
}
}
fea {
unicast-forwarding4 {
forwarding-entries {
}
}
}
interfaces {
interface eth0 {
description: "Ethernet Interface #1"
default-system-config
}
interface eth1 {
description: "Ethernet Interface #2"
default-system-config
}
}
plumbing {
mfea4 {
interface eth0 {
vif eth0 {
}
}
interface eth1 {
vif eth1 {
}
}
interface "register_vif" {
vif "register_vif" {
}
}
traceoptions {
flag {
all {
}
}
}
}
}
------------------------------------------------
root at R1> show interfaces
eth0/eth0: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500
inet 192.168.2.1 subnet 192.168.2.0/24 broadcast 192.168.2.255
physical index 2
ether 0:80:82:49:52:c2
eth1/eth1: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500
inet 192.168.1.109 subnet 192.168.1.0/24 broadcast 192.168.1.255
physical index 1
ether 0:80:82:49:52:c3
Multicast seem to be enabled on all interfaces.
------------------------------------------------
root at R1> show mfea interface
Interface State Vif/PifIndex Addr Flags
eth0 UP 0/2 192.168.2.1 MULTICAST BROADCAST
KERN_UP
eth1 UP 1/1 192.168.1.109 MULTICAST BROADCAST
KERN_UP
register_vif UP 2/2 192.168.2.1 PIM_REGISTER KERN_UP
------------------------------------------------
root at R1> show mfea dataflow
Group
Source
224.0.1.24
192.168.1.3
Measured(Start|Packets|Bytes) Type Thresh(Interval|Packets|Bytes)
Remain
3540.952097|0|? <= 210.0|0|?
93.77190
239.255.0.1
192.168.1.101
Measured(Start|Packets|Bytes) Type Thresh(Interval|Packets|Bytes)
Remain
3610.112892|68960|? <= 210.0|0|?
162.237985
239.255.0.1 is VLC Media player that is sending multicast packet on the
network. So it detects it.
------------------------------------------------
root at R1> show pim join
239.255.0.1 192.168.1.101 192.168.2.1 SG DirectlyConnectedS
Upstream interface (S): eth1
Upstream interface (RP): UNKNOWN
Upstream MRIB next hop (RP): UNKNOWN
Upstream MRIB next hop (S): UNKNOWN
Upstream RPF'(S,G): UNKNOWN
Upstream state: NotJoined
Register state: RegisterNoinfo RegisterNotCouldRegister
Join timer: -1
KAT(S,G) running: true
Local receiver include WC: ...
Local receiver include SG: ...
Local receiver exclude SG: ...
Joins RP: ...
Joins WC: ...
Joins SG: ...
Join state: ...
Prune state: ...
Prune pending state: ...
I am assert winner state: ...
I am assert loser state: ...
Assert winner WC: ...
Assert winner SG: ...
Assert lost WC: ...
Assert lost SG: ...
Assert lost SG_RPT: ...
Assert tracking SG: ...
Could assert WC: ...
Could assert SG: ...
I am DR: OOO
Immediate olist RP: ...
Immediate olist WC: ...
Immediate olist SG: ...
Inherited olist SG: ...
Inherited olist SG_RPT: ...
PIM include WC: ...
PIM include SG: ...
PIM exclude SG: ...
As you seen, it really see the multicast. I do not know how interpret
this result as I am not a network engineer.
------------------------------------------------
So, what I am asking is how make this configuration working. I navigated
through the entire documentation multiple time and I did not found
anything that helped me.
Regards,
--
Damien Girard
Software Engineer
Odyssee Systemes.
More information about the Xorp-users
mailing list