[Xorp-users] Was: Setting default routes Now: general config problem I think...

Pavlin Radoslavov pavlin@icir.org
Tue, 20 Jul 2004 18:07:12 -0700


> I have created all the protocols-igmp stuff
> for all four interfaces and the register_vif
> (once I worked out it was an underscore and not a dot!)
> 
> [Aside: when I did do it with a dot in name, it let
> me create it all but then gave a syntax error when
> I tried to commit the change. I guess that's correct,
> but it was sort of only by luck I spotted I had the dot
> and not an underscore]

Interesting. The behavior is correct, but it needs to be improved
to spot such errors when attempting to create the interface.
I will add it to our TODO list, but in the mean time please be more
careful with such typos :)

> I have created the protocols-pimsm4 stuff for all four
> interfaces, the register_vif interface and set a static RP
> to point to the distant router. I set the switch-to...
> stuff to match the documents.
> 
> [Aside: do I really need to add all four interfaces
> into the PIMSM setting as the only PIM neighbour
> is upstream and I guess only IGMP is used to signal
> on the other three networks that hosts are interested
> in multicast traffic etc.  I only added the upstream
> one first but that seemd to not work so I added
> the other three, but I don't think its really working now
> anyway...]

[Repeating Philippe's answer:] Yes, you have to enable PIMSM on all
interfaces you are going to use for multicast forwarding. This
includes the interfaces with only multicast senders or receivers.

> I have not enabled the fib2mrib stuff as I only have
> directly connected networks plus the default route
> which I have manually added as a static-mrib4 entry.

That's fine. If you are going to install a default route into the
MRIB, then you don't need the fib2mrib stuff.

> I've attached a copy of /etc/xorp.cfg to this email, anyone
> someone can have a look for me and spot any obvious
> (or less obvious :-) ) problems....

The configuration file looks fine. However, for debugging purpose
I'd recommend that you set all "traceoptions" flags to "true", so
you can see various debug messages that may be helpful spotting the
problem.

Pavlin


> 
> Dave Price
> 
> 
> --==_Exmh_-21163577130
> Content-Type: text/plain ; name="xorp.cfg"; charset=us-ascii
> Content-Description: xorp.cfg
> Content-Disposition: attachment; filename="xorp.cfg"
> 
> /*XORP Configuration File, v1.0*/
> interfaces {
>     interface rl0 {
>         description: "Ethernet"
>         vif rl0 {
>             enabled: true
>             address 193.60.15.40 {
>                 enabled: true
>                 broadcast: 193.60.15.255
>                 prefix-length: 24
>             }
>         }
>         enabled: true
>     }
>     interface rl1 {
>         description: "Ethernet"
>         vif rl1 {
>             enabled: true
>             address 193.60.10.90 {
>                 enabled: true
>                 broadcast: 193.60.10.255
>                 prefix-length: 24
>             }
>         }
>         enabled: true
>     }
>     interface rl2 {
>         description: "Ethernet"
>         vif rl2 {
>             enabled: true
>             address 193.60.11.33 {
>                 enabled: true
>                 prefix-length: 24
>                 broadcast: 193.60.11.255
>             }
>         }
>         enabled: true
>     }
>     interface rl3 {
>         description: "Ethernet"
>         vif rl3 {
>             enabled: true
>             address 144.124.34.30 {
>                 enabled: true
>                 broadcast: 144.124.35.255
>                 prefix-length: 22
>             }
>         }
>         enabled: true
>     }
>     interface lo0 {
>         description: "Loopback interface"
>         vif lo0 {
>             enabled: true
>         }
>         enabled: true
>     }
>     targetname: "fea"
> }
> protocols {
>     static {
>         route4 0.0.0.0/0 {
>             metric: 1
>             nexthop: 144.124.35.254
>         }
>         targetname: "static_routes"
>         enabled: true
>         mrib-route4 0.0.0.0/0 {
>             metric: 1
>             nexthop: 144.124.35.254
>         }
>     }
>     igmp {
>         interface rl3 {
>             vif rl3 {
>                 enabled: true
>             }
>         }
>         interface rl2 {
>             vif rl2 {
>                 enabled: true
>             }
>         }
>         interface rl1 {
>             vif rl1 {
>                 enabled: true
>             }
>         }
>         interface rl0 {
>             vif rl0 {
>                 enabled: true
>             }
>         }
>         targetname: "IGMP"
>         enabled: true
>         traceoptions {
>             flag {
>                 all {
>                     enabled: false
>                 }
>             }
>         }
>     }
>     pimsm4 {
>         interface rl3 {
>             vif rl3 {
>                 enabled: true
>                 dr-priority: 1
>             }
>         }
>         interface register_vif {
>             vif register_vif {
>                 enabled: true
>                 dr-priority: 1
>             }
>         }
>         interface rl0 {
>             vif rl0 {
>                 enabled: true
>                 dr-priority: 1
>             }
>         }
>         interface rl1 {
>             vif rl1 {
>                 enabled: true
>                 dr-priority: 1
>             }
>         }
>         interface rl2 {
>             vif rl2 {
>                 enabled: true
>                 dr-priority: 1
>             }
>         }
>         targetname: "PIMSM_4"
>         enabled: true
>         static-rps {
>             rp 146.97.34.8 {
>                 group-prefix 224.0.0.0/4 {
>                     rp-priority: 192
>                     hash-mask-len: 30
>                 }
>             }
>         }
>         switch-to-spt-threshold {
>             enabled: true
>             interval-sec: 100
>             bytes: 102400
>         }
>         traceoptions {
>             flag {
>                 all {
>                     enabled: false
>                 }
>             }
>         }
>     }
> }
> plumbing {
>     mfea4 {
>         interface rl3 {
>             vif rl3 {
>                 enabled: true
>             }
>         }
>         interface rl2 {
>             vif rl2 {
>                 enabled: true
>             }
>         }
>         interface rl1 {
>             vif rl1 {
>                 enabled: true
>             }
>         }
>         interface rl0 {
>             vif rl0 {
>                 enabled: true
>             }
>         }
>         interface register_vif {
>             vif register_vif {
>                 enabled: true
>             }
>         }
>         targetname: "MFEA_4"
>         enabled: true
>         traceoptions {
>             flag {
>                 all {
>                     enabled: false
>                 }
>             }
>         }
>     }
> }
> 
> --==_Exmh_-21163577130--
> 
> 
> _______________________________________________
> Xorp-users mailing list
> Xorp-users@xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users