[Xorp-hackers] {Disarmed} Re: xorp: enable IGMP/PIM-SM over a VLAN interface on Linux
frank hu
frank.1975.hu at gmail.com
Thu Dec 8 13:47:23 PST 2011
Thanks Eric for sharing your working config file. It does work much better
than xorpsh.
On Thu, Dec 8, 2011 at 11:53 AM, Eric S. Johnson <esj at cs.fiu.edu> wrote:
>
> Here is a working config file for vlans and multicast using a recent
> svn pull (1.8.5-WIP) on centos 5 linux.
>
> As Ray mentioned, its better to let the OS create the vlans
> and let xorp deal with them as "real" interfaces with a single vif.
>
> Note the fib2mrib and plumbing mfea sections.
>
> E
>
> ----
>
>
>
> protocols {
> fib2mrib {
> disable: false
> }
> igmp {
> interface "eth0.10" {
> vif "eth0.10" {
> disable: true
> 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.14" {
> vif "eth0.14" {
> 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.15" {
> vif "eth0.15" {
> disable: true
> 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.16" {
> vif "eth0.16" {
> 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
> }
> }
> }
> ospf4 {
> router-id: X.X.X.X
> rfc1583-compatibility: true
> ip-router-alert: false
> area 0.0.0.125 {
> area-type: "normal"
> interface "eth0.16" {
> link-type: "broadcast"
> vif "eth0.16" {
> address X.X.X.X {
> priority: 1
> hello-interval: 10
> router-dead-interval: 40
> interface-cost: 70
> retransmit-interval: 5
> transit-delay: 1
> authentication {
> simple-password: ""
> md5 1 {
> password: "XXXXXXX"
> start-time: ""
> end-time: ""
> max-time-drift: 3600
> }
> }
> disable: false
> }
> }
> }
> interface "eth0.15" {
> link-type: "broadcast"
> vif "eth0.15" {
> address X.X.X.X {
> priority: 1
> hello-interval: 10
> router-dead-interval: 40
> interface-cost: 70
> retransmit-interval: 5
> transit-delay: 1
> passive {
> disable: false
> host: false
> }
> disable: false
> }
> }
> }
> interface "eth0.10" {
> link-type: "broadcast"
> vif "eth0.10" {
> address X.X.X.X {
> priority: 1
> hello-interval: 10
> router-dead-interval: 40
> interface-cost: 70
> retransmit-interval: 5
> transit-delay: 1
> authentication {
> simple-password: ""
> md5 1 {
> password: "XXXXXXX"
> start-time: ""
> end-time: ""
> max-time-drift: 3600
> }
> }
> disable: false
> }
> }
> }
> interface "eth0.14" {
> link-type: "broadcast"
> vif "eth0.14" {
> address X.X.X.X {
> priority: 1
> hello-interval: 10
> router-dead-interval: 40
> interface-cost: 70
> retransmit-interval: 5
> transit-delay: 1
> passive {
> disable: false
> host: false
> }
> disable: false
> }
> }
> }
> }
> }
> pimsm4 {
> disable: false
> interface "eth0.10" {
> vif "eth0.10" {
> disable: false
> dr-priority: 1
> hello-period: 30
> hello-triggered-delay: 5
> }
> }
> interface "eth0.14" {
> vif "eth0.14" {
> disable: false
> dr-priority: 1
> hello-period: 30
> hello-triggered-delay: 5
> }
> }
> interface "eth0.15" {
> vif "eth0.15" {
> disable: false
> dr-priority: 1
> hello-period: 30
> hello-triggered-delay: 5
> }
> }
> interface "eth0.16" {
> vif "eth0.16" {
> 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 X.X.X.X {
> group-prefix 224.0.0.0/4 {
> rp-priority: 192
> hash-mask-len: 30
> }
> }
> }
> }
> }
> fea {
> unicast-forwarding4 {
> disable: false
> forwarding-entries {
> retain-on-startup: false
> retain-on-shutdown: true
> }
> }
> }
> interfaces {
> restore-original-config-on-shutdown: false
> interface "eth0.10" {
> description: ""
> disable: false
> discard: false
> unreachable: false
> management: false
> vif "eth0.10" {
> disable: false
> address X.X.X.X {
> prefix-length: 26
> disable: false
> }
> }
> }
> interface "eth0.14" {
> description: ""
> disable: false
> discard: false
> unreachable: false
> management: false
> vif "eth0.14" {
> disable: false
> address X.X.X.X {
> prefix-length: 24
> disable: false
> }
> }
> }
> interface "eth0.15" {
> description: ""
> disable: false
> discard: false
> unreachable: false
> management: false
> vif "eth0.15" {
> disable: false
> address X.X.X.X {
> prefix-length: 27
> disable: false
> }
> }
> }
> interface "eth0.16" {
> description: ""
> disable: false
> discard: false
> unreachable: false
> management: false
> vif "eth0.16" {
> disable: false
> address X.X.X.X {
> prefix-length: 26
> disable: false
> }
> }
> }
> }
> plumbing {
> mfea4 {
> disable: false
> interface "eth0.10" {
> vif "eth0.10" {
> disable: false
> }
> }
> interface "eth0.14" {
> vif "eth0.14" {
> disable: false
> }
> }
> interface "eth0.15" {
> vif "eth0.15" {
> disable: false
> }
> }
> interface "eth0.16" {
> vif "eth0.16" {
> disable: false
> }
> }
> interface "register_vif" {
> vif "register_vif" {
> disable: false
> }
> }
> }
> }
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20111208/960e749a/attachment-0001.html
More information about the Xorp-hackers
mailing list