[Xorp-users] Module not foudn problem

Pavlin Radoslavov pavlin at icir.org
Fri Sep 7 22:14:55 PDT 2007


> Sorry for the delay on this..... as you requested, here is the config 
> file.  I am using Linux with both IPv4 and IPv6 multicast enabled.  

In the configuration below you are explicitly configuring the IP
addresses. In that case you must add to the XORP configuration the
IPv6 link-local address as well (exactly as it appears in the
kernel).
Yes, currently it is hassle to require explicit configuration of the
IPv6 link-local address, so the "default-system-config" alternative
can be a simpler solution for you.

BTW, "99999:9999:99999:3:400:8000:0:196" is not a valid IPv6
address.

Also, in your PIM-SM configuration you should use either the
"static-rps" or the "bootstrap" mechanism, but not both.
BTW, if you want to play with IPv6 multicast routing, then you need
to enable/configure pimsm6 as well.

> Another issue I'm having is bridge ports.  The Linux routers have 
> SmallTree multiport cards which I configure using the brctl command 
> creating a "br0" interface.  what I have found is xorp blows up on the 
> br0 interface.  I believe the issue here is actually a linux multicast 
> patch problem with both Ipv4 and v6.  But if you know anyone who has 
> gotten the br0 interface to work, please let me know.  My work around is 
> to use direct configs and not bridging.  Wastes IP addresses but will 
> get the job done I think.

Unfortunately I haven't played with bridge ports so I don't know the
exact steps to get it working.
Did you try to:

1) Configure the br0 interface inside Linux before starting
   XORP. Also, make sure that it has IP address.

2) Use the "default-system-config" config statement like before to
   configure the interface inside XORP:

interfaces {
    interface br0 {
        default-system-config
    }
}

Regards,
Pavlin

> ....Chris
> 
> 
> interfaces {
>     restore-original-config-on-shutdown: false
>     interface eth0 {
>     description: "Eth0 interface"
>     disable: false
>     vif eth0 {
>         disable: false
>         address 10.128.142.196 {
>         prefix-length: 24
>         broadcast: 10.128.142.255
>         disable: false
>         }
>         address 99999:9999:99999:3:400:8000:0:196 {
>         prefix-length: 84
>         disable: false
>         }
>     }
>     }
> }
> 
> fea {
>     unicast-forwarding4 {
>     disable: false
>     forwarding-entries {
>         retain-on-startup: false
>         retain-on-shutdown:    false
>     }
>     }
>     unicast-forwarding6 {
>     disable: false
>     forwarding-entries {
>         retain-on-startup: false
>         retain-on-shutdown:    false
>     }
>     }
> }
> 
> protocols {
>     static {
>     route 0.0.0.0/0 {
>         next-hop: 192.168.1.1
>         metric: 1
>     }
>     }
> }
> 
> 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 {
>     ospf4 {
>     router-id: 192.168.1.106
>     /* Redistribute of hard interfaces and manual routes */
>     /* export: "connected" */
>     /* export: "static" */
>     area 0.0.0.0 {
>         interface eth0 {
>         /* link-type: "broadcast" */
>         vif eth0 {
>             address 10.128.142.196 {
>             /* priority: 128 */
>             /* hello-interval: 10 */
>             /* router-dead-interval: 40 */
>             /* interface-cost: 1 */
>             /* retransmit-interval: 5 */
>             /* transit-delay: 1 */
>             /* passive: false */
>             /* disable: false */           
>             }
>         }
>         }
>     }
>     }
>     ospf6 0 {
>         router-id: 102.168.1.106
>     area 0.0.0.0 {
>         interface eth0 {
>         vif eth0 {
>             address 9999:9999:9999:3:400:8000:0:196 {
>             /* priority: 128 */
>             /* hello-interval: 10 */
>             /* router-dead-interval: 40 */
>             /* interface-cost: 1 */
>             /* retransmit-interval: 5 */
>             /* transit-delay: 1 */
>             /* passive: false */
>                     /* disable: false */
>             }
>         }
>         }
>     }
>     }
> }
> 
> plumbing {
>     mfea4 {
>     disable: false
>     interface eth0 {
>         vif eth0 {
>         disable: false
>         }
>     }
>     interface register_vif {
>         vif register_vif {
>         /* Note: this vif should be always enabled */
>         disable: false
>         }
>     }
>     traceoptions {
>         flag all {
>         disable: false
>         }
>     }
>     }
>     mfea6 {
>     disable: false
>     interface eth0 {
>         vif eth0 {
>         disable: false
>         }
>     }
>     interface register_vif {
>         vif register_vif {
>         disable: false
>         }
>     }
>     traceoptions {
>         flag all {
>         disable: false
>         }
>     }
>     }
> }
> 
> protocols {
>     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 */
>         }
>     }
>     traceoptions {
>         flag all {
>         disable: false
>         }
>     }
>     }
> }
> 
> protocols {
>     mld {
>     disable: false
>     interface eth0 {
>         vif eth0 {
>         disable: false
>         version: 1
>         enable-ip-router-alert-option-check: false
>         query-interval: 125
>         query-last-member-interval: 1
>         query-response-interval: 10
>         robust-count: 2
>         }
>     }
>     traceoptions {
>         flag all {
>         disable: false
>         }
>     }
>     }
> }
> 
> protocols {
>     pimsm4 {
>     disable: false
>     interface eth0 {
>         vif eth0 {
>         disable: false
>         /* enable-ip-router-alert-option-check: false */
>         /* dr-priority: 1 */
>         /* hello-period: 30 */
>         /* hello-triggered-delay: 5 */
>         /* alternative-subnet 10.40.0.0/16 */
>         }
>     }
>     interface register_vif {
>         vif register_vif {
>         /* Note: this vif should be always enabled */
>         disable: false
>         }
>     }
> 
>     static-rps {
>         rp 10.128.142.196{
>         group-prefix 224.0.0.0/4 {
>             /* rp-priority: 192 */
>             /* hash-mask-len: 30 */
>         }
>         }
>     }
> 
>     bootstrap {
>         disable: false
>         cand-bsr {
>         scope-zone 224.0.0.0/4 {
>             /* is-scope-zone: false */
>             cand-bsr-by-vif-name: "eth0"
>             /* cand-bsr-by-vif-addr: 192.168.1.106 */
>             /* bsr-priority: 1 */
>             /* hash-mask-len: 30 */
>         }
>         }
> 
>         cand-rp {
>         group-prefix 224.0.0.0/4 {
>             /* is-scope-zone: false */
>             cand-rp-by-vif-name: "eth0"
>             /* cand-rp-by-vif-addr: 192.168.1.106 */
>             /* rp-priority: 192 */
>             /* rp-holdtime: 150 */
>         }
>         }
>     }
> 
>     switch-to-spt-threshold {
>         /* approx. 1K bytes/s (10Kbps) threshold */
>         disable: false
>         interval: 100
>         bytes: 102400
>     }
> 
>     traceoptions {
>         flag all {
>         disable: false
>         }
>     }
>     }
> }
> 
> /*
>  * Note: fib2mrib is needed for multicast only if the unicast protocols
>  * don't populate the MRIB with multicast-specific routes.
>  */
> protocols {
>     fib2mrib {
>     disable: false
>     }
> }
> 
> 
> 
> /*
>  * See xorp/mibs/snmpdscripts/README on how to configure Net-SNMP in 
> your host
>  * before uncommenting the snmp section below.
>  * Also check that the "bgp4_mib_1657.so" exists in the correct location.
>  */
> 
> /*
> protocols {
>     snmp {
>     mib-module bgp4_mib_1657 {
>         abs-path: "/usr/local/xorp/mibs/bgp4_mib_1657.so"
>     }
>     }
> }
> */
> 
> Pavlin Radoslavov wrote:
> >> Well I thought I had tested the default-system-config configuration but 
> >> it appears not.  After deleting all the interface section and 
> >> reprogramming as you suggested using only "default-system-config", its 
> >> working now.  However, I did try your second suggesting using both hard 
> >> coded addresses and using the default-system-config and both worked and 
> >> both show commands display the exact same information.  So it seems when 
> >> adding other configurations like "mld" have some issue with hard coding 
> >> interface addresses.  Besides the simple configuration you suggest of 
> >> just configuring the default interface and mfea6, would you want 
> >> something else tried but with the more complex configuration file that 
> >> works when using just defaults in the interface section?
> >>
> >> Output from your second Option (b) suggestion:
> >>
> >> xorp at FEON.nrl.gigef.net> show interfaces
> >> eth0/eth0: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500
> >>         inet6 2001:480:f022:3:400:8000:0:196 prefixlen 84
> >>         inet6 fe80::21a:6bff:fe69:a875 prefixlen 64
> >>         inet 10.128.142.196 subnet 10.128.142.0/24 broadcast 10.128.142.255
> >>         physical index 4
> >>         ether 0:1a:6b:69:a8:75
> >> xorp at FEON.nrl.gigef.net> show mfea6 interface
> >> Interface    State    Vif/PifIndex Addr            Flags
> >> eth0         UP                0/4 2001:480:f022:3:400:8000:0:196 
> >> MULTICAST BROADCAST KERN_UP
> >> register_vif UP                1/4 2001:480:f022:3:400:8000:0:196 
> >> PIM_REGISTER KERN_UP
> >>     
> >
> > Sorry, the second command should have been
> > "show mfea6 interface address" and shound print both IPv6 addresses:
> > 2001:480:f022:3:400:8000:0:196 and fe80::21a:6bff:fe69:a875 .
> >
> > Could you send your "interfaces" config section when you explicitly
> > configure the IP addresses instead of using "default-system-config".
> > I just tried it, and appears to work, though I had to use FreeBSD
> > instead of Linux, because the Linux version we have doesn't support
> > IPv6 multicast routing.
> >
> > Regards,
> > Pavlin
> >
> > _______________________________________________
> > Xorp-users mailing list
> > Xorp-users at xorp.org
> > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
> >
> >
> >   
> 
> -- 
> Christopher Robson
> Senior Computer Scientist, GS-15
> Naval Research Laboratory
> Center for Computational Science
> Networking, Code 5591
> 4555 Overlook ave.
> Washington, D.C. 20375-5320
> (COM) 202-404-3138
> (VoIP) 2024043138 at GIGEF
> (CHAT) Chris.Robson at GIGEF
> 
> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users



More information about the Xorp-users mailing list