[Xorp-users] multicast routing not working -- Sorted
Dr Ben G Wu
ben at sparkcomputing.co.uk
Thu Jun 19 04:27:06 PDT 2008
Hello Bruce,
Centos is mutlicast touting compiled by default. I now get it working.
For those who is interested. I attach my config.boot as below. It is a
very simple sample and I think get use it as a starter.
---------start-----------
interfaces {
restore-original-config-on-shutdown: false
interface eth2 {
description: "vlan2"
default-system-config
}
interface eth1 {
description: "vlan11"
default-system-config
}
}
fea {
unicast-forwarding4 {
disable: false
forwarding-entries {
retain-on-startup: false
retain-on-shutdown: false
}
}
}
plumbing {
mfea4 {
disable: false
interface eth1 {
vif eth1 {
disable: false
}
}
interface eth2 {
vif eth2 {
disable: false
}
}
interface register_vif {
vif register_vif {
/* Note: this vif should be always enabled */
disable: false
}
}
traceoptions {
flag all {
disable: false
}
}
}
}
protocols {
igmp {
disable: false
interface eth2 {
vif eth2 {
disable: false
}
}
interface eth1 {
vif eth1 {
disable: false
}
}
traceoptions {
flag all {
disable: false
}
}
}
}
protocols {
pimsm4 {
disable: false
interface eth2 {
vif eth2 {
disable: false
}
}
interface eth1 {
vif eth1 {
disable: false
}
}
interface register_vif {
vif register_vif {
/* Note: this vif should be always enabled */
disable: false
}
}
static-rps {
rp 192.168.1.1 {
group-prefix 239.255.0.0/16 {
/*rp-priority: 192
hash-mask-len: 30*/
}
}
}
switch-to-spt-threshold {
/* approx. 1K bytes/s (10Kbps) threshold */
disable: false
interval: 100
bytes: 102400
}
traceoptions {
flag all {
disable: false
}
}
}
}
protocols {
fib2mrib {
disable: false
}
}
policy {
/* Describe connected routes for redistribution */
policy-statement connected {
term export {
from {
protocol: "connected"
}
}
}
}
policy {
/* Describe static routes for redistribution */
policy-statement static {
term export {
from {
protocol: "static"
}
}
}
}
protocols {
rip {
/* Connected interfaces will only be advertised if explicitly exported */
export: "connected"
/* Run on specified network interface addresses */
interface eth1 {
vif eth1 {
address 192.168.1.1 {
disable: false
/*
authentication {
simple-password: "password";
md5 @: u32 {
password: "password";
start-time: "2006-01-01.12:00"
end-time: "2007-01-01.12:00"
}
}
*/
}
}
}
interface eth2 {
vif eth2 {
address 192.168.2.1 {
disable: false
}
}
}
}
}
protocols {
static {
disable: false
route 192.168.110.0/24 {
next-hop: 192.168.110.1
metric: 1
}
mrib-route 239.255.0.0/16 {
next-hop: 192.168.2.1
metric: 1
}
}
}
---------------------end------------------
On Thu, Jun 19, 2008 at 8:28 AM, Bruce M Simpson <bms at incunabulum.net> wrote:
> Dr Ben G Wu wrote:
>>
>> Hello,
>> I just found xorp 2 days ago and try to setup a multicast network. The
>> source is at 192.168.1.0/24 subnet and the multicast subscribers are
>> in 192.168.2.0/24 subnet. Centos 5 is running xorp with 2 physical
>> interfaces connecting the 2 subnets.
>>
>
> I believe CentOS is similar to Red Hat. Do you have multicast routing
> compiled into your kernel? It has to be specifically selected during "make
> menuconfig" or whatever tool your Linux distro uses.
>
--
Dr. Ben G Wu, Ph.D, B. Eng, M.BCS
5 Dargate, Shrewsbury, Shropshire, SY3 9QE, UK
T: +44(0)1743 290009
M: +44(0) 7980546757
F: +44(0)7092 861166
W: http://www.sparkcomputing.co.uk
Website & Software development
More information about the Xorp-users
mailing list