[Xorp-users] configure PIM-SM
Truong Le
letruong1985vn at gmail.com
Tue May 10 03:38:40 PDT 2011
Hi,
Actually, I already sent my email in last week. However, it may not be
delivered due to the size of attached file.
I also try to config another model. There are 3 routers.
Source (eth0 10.10.10.104) <----> (eth1:10.10.10.103) Router_3
(eth0:192.168.1.3) <-------> (eth1:192.168.1.1) Router_1
(eth0:172.20.20.101)<--------> (eth0:172.20.20.102) Router_2
(eth1:192.168.0.2) <----------> (eth0:192.168.0.100) Client
Router_3: the sender's DR.
Router_1: RP
Router_2: the receiver's DR
*The problem is Router 3 did not send the PIM register message to RP
(Router_1)
*
Config for Router_1
/* XORP configuration file
*
* Configuration format: 1.1
* XORP version: 1.8-CT
* Date: 2011/05/10 10:00:18.753564
* Host: desktop1
* User: root
*/
protocols {
fib2mrib {
disable: false
}
pimsm4 {
disable: false
interface eth0 {
vif eth0 {
disable: false
dr-priority: 1
hello-period: 30
hello-triggered-delay: 5
}
}
interface eth1 {
vif eth1 {
disable: false
dr-priority: 1
hello-period: 30
hello-triggered-delay: 5
}
}
interface "register_vif" {
vif "register_vif" {
disable: false
dr-priority: 1
hello-period: 30
hello-triggered-delay: 5
}
}
static-rps {
rp 192.168.1.1 {
group-prefix 224.0.0.0/4 {
rp-priority: 192
hash-mask-len: 30
}
}
}
}
static {
disable: false
route 10.10.10.0/24 {
next-hop: 192.168.1.3
metric: 1
}
route 192.168.0.0/24 {
next-hop: 172.20.20.102
metric: 1
}
}
}
fea {
unicast-forwarding4 {
disable: false
}
}
interfaces {
restore-original-config-on-shutdown: false
interface eth0 {
description: ""
disable: false
discard: false
unreachable: false
management: false
vif eth0 {
disable: false
}
default-system-config
}
interface eth1 {
description: ""
disable: false
discard: false
unreachable: false
management: false
vif eth1 {
disable: false
}
default-system-config
}
}
plumbing {
mfea4 {
disable: false
interface eth0 {
vif eth0 {
disable: false
}
}
interface eth1 {
vif eth1 {
disable: false
}
}
interface "register_vif" {
vif "register_vif" {
disable: false
}
}
}
}
------------------------
Config for Router 2
/* XORP configuration file
*
* Configuration format: 1.1
* XORP version: 1.8-CT
* Date: 2011/05/10 09:16:02.704159
* Host: desktop2
* User: root
*/
protocols {
fib2mrib {
disable: false
}
igmp {
disable: false
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
}
}
interface eth1 {
vif eth1 {
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
}
}
}
pimsm4 {
disable: false
interface eth0 {
vif eth0 {
disable: false
dr-priority: 1
hello-period: 30
hello-triggered-delay: 5
}
}
interface eth1 {
vif eth1 {
disable: false
dr-priority: 1
hello-period: 30
hello-triggered-delay: 5
}
}
interface "register_vif" {
vif "register_vif" {
disable: false
dr-priority: 1
hello-period: 30
hello-triggered-delay: 5
}
}
static-rps {
rp 192.168.1.1 {
group-prefix 224.0.0.0/4 {
rp-priority: 192
hash-mask-len: 30
}
}
}
}
static {
disable: false
route 192.168.1.0/24 {
next-hop: 172.20.20.101
metric: 1
}
route 10.10.10.0/24 {
next-hop: 172.20.20.101
metric: 1
}
}
}
fea {
unicast-forwarding4 {
disable: false
}
}
interfaces {
restore-original-config-on-shutdown: false
interface eth0 {
description: ""
disable: false
discard: false
unreachable: false
management: false
vif eth0 {
disable: false
}
default-system-config
}
interface eth1 {
description: ""
disable: false
discard: false
unreachable: false
management: false
vif eth1 {
disable: false
}
default-system-config
}
}
plumbing {
mfea4 {
disable: false
interface eth0 {
vif eth0 {
disable: false
}
}
interface eth1 {
vif eth1 {
disable: false
}
}
interface "register_vif" {
vif "register_vif" {
disable: false
}
}
}
}
--------------------------------------------
Config for router 3
/*XORP Configuration File, v1.0*/
protocols {
fib2mrib {
disable: false
}
pimsm4 {
disable: false
interface eth0 {
vif eth0 {
disable: false
dr-priority: 1
hello-period: 30
hello-triggered-delay: 5
}
}
interface eth1 {
vif eth1 {
disable: false
dr-priority: 1
hello-period: 30
hello-triggered-delay: 5
}
}
interface "register_vif" {
vif "register_vif" {
disable: false
dr-priority: 1
hello-period: 30
hello-triggered-delay: 5
}
}
static-rps {
rp 192.168.1.1 {
group-prefix 224.0.0.0/4 {
rp-priority: 192
hash-mask-len: 30
}
}
}
}
static {
disable: false
route 172.20.20.0/24 {
next-hop: 192.168.1.1
metric: 1
}
route 192.168.0.0/24 {
next-hop: 192.168.1.1
metric: 1
}
}
}
fea {
unicast-forwarding4 {
disable: false
}
}
interfaces {
restore-original-config-on-shutdown: false
interface eth0 {
description: ""
disable: false
discard: false
unreachable: false
management: false
vif eth0 {
disable: false
}
default-system-config
}
interface eth1 {
description: ""
disable: false
discard: false
unreachable: false
management: false
vif eth0 {
disable: false
}
default-system-config
}
}
plumbing {
mfea4 {
disable: false
interface eth0 {
vif eth0 {
disable: false
}
}
interface eth1 {
vif eth1 {
disable: false
}
}
interface "register_vif" {
vif "register_vif" {
disable: false
}
}
}
}
Best regards,
Le Truong.
2011/5/5 Ben Greear <greearb at candelatech.com>
> On 05/05/2011 09:01 AM, Williams, Mark wrote:
>
>> Without seeing you config files for Router_1 or Router_2, the things you
>> need to check are
>>
>> -Do you have an RP configured for this multicast group? Are you using
>> Static RP or BSR?
>>
>> -Is there a unicast routing protocol running between the routers?
>>
>
> And make sure you are using top-of-tree xorp..there is a multicast
> bug in 1.8.3 on recent Linux kernels.
>
> Thanks,
> Ben
>
>
>> -Mark Williams
>>
>> *From:* xorp-users-bounces at xorp.org [mailto:xorp-users-bounces at xorp.org]
>> *On Behalf Of *Truong Le
>> *Sent:* Thursday, May 05, 2011 08:27
>> *To:* xorp-users at xorp.org
>> *Subject:* [Xorp-users] configure PIM-SM
>>
>> Hi,
>>
>> I am trying to configure PIM-SM. In order to understand my problem, I am
>> going to show my configuration information.
>>
>> [Desktop_1] (eth0) <---------------> (eth0) [Router_1] (eth1)
>> <-----------------> (eth1) [Router_2] (eth0) <------------------> (eth0)
>> [Desktop_2]
>>
>> Desktop_1, Desktop_2, Router_1, Router_2: Ubuntu 10.
>> Desktop_1 => Client
>> Desktop_2 => Server
>> IGMPv3 is configured on Router_1's eth0
>>
>> To config xorp on Router_1 and Router_2, I followed this link
>> "
>> http://xorp.run.montefiore.ulg.ac.be/latex2wiki/user_manual/pim_sparse_mode
>> ".
>> In addition, I wrote 2 small program (client & server). Server will send
>> multicast packet, and client will receive it.
>> The problem is the client cannot receive data from server.
>> I used the wireshark to capture packet and I realized that the Router_2
>> didnot forward the packet from Desktop_2. I already checked the kernel
>> to make sure that multicast routing and PIM-SM is enabled.
>>
>> Could you help me to solve this problem?
>>
>> --
>> Contact Information
>> LE, TRUONG
>> Home Address: 429/7 Le Van Sy street, Ward 12, District 3, Ho Chi Minh
>> City, Vietnam
>> Mobile Phone: +84.943.104.686
>> Skype: letruong1985vn
>>
>>
>>
>> _______________________________________________
>> Xorp-users mailing list
>> Xorp-users at xorp.org
>> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
>>
>
>
> --
> Ben Greear <greearb at candelatech.com>
> Candela Technologies Inc http://www.candelatech.com
>
>
--
Contact Information
LE, TRUONG
Home Address: 429/7 Le Van Sy street, Ward 12, District 3, Ho Chi Minh City,
Vietnam
Mobile Phone: +84.943.104.686
Skype: letruong1985vn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20110510/b51984f1/attachment-0001.html
More information about the Xorp-users
mailing list