[Xorp-users] MFEA crashing on system with subinterfaces

Garry Peirce peirce at maine.edu
Thu Jul 1 08:30:31 PDT 2010


A timely thread as I work on the same issue and running into the same.

I got it running under 1.6 - took more effort than desirable to find the
right method.  
I'd be very curious to know how it goes with xorp.ct.

I had to define the interfaces within XORP, and not use
default-system-config directive.
It seemed the order of the config made a significant difference with respect
to the mfea4 failing or not, and I sometimes had to back out/restart and
then enter things in the right order.

1) configure interfaces
Vlans are not defined as vifs under the major interface but a defined
interface itself.
do not use the default-system-config directive
add the address on the vlan interface (addr is used by register_vif I
believe)
1a) I then commit and restart xorp
2) enable fib2mrib
3) enable mfea4
4) enable pimsm4

* Addresses anonymized

xorp at host> show pim neighbors
Interface    DRpriority NeighborAddr    V Mode   Holdtime Timeout
eth0.605              1 10.1.1.81    2 Sparse      105     101 


config 
===========
xorp at host# show -all
    protocols {
        fib2mrib {
            disable: false
        }
        pimsm4 {
            disable: false
            interface "register_vif" {
                vif "register_vif" {
                    disable: false
                    dr-priority: 1
                    hello-period: 30
                    hello-triggered-delay: 5
                }
            }
            interface "eth0.605" {
                vif "eth0.605" {
                    disable: false
                    dr-priority: 1
                    hello-period: 30
                    hello-triggered-delay: 5
                }
            }
        }
        static {
            disable: false
        }
    }
    fea {
        unicast-forwarding4 {
            disable: false
            forwarding-entries {
                retain-on-startup: true
                retain-on-shutdown: true
            }
        }
    }
    interfaces {
        restore-original-config-on-shutdown: true
        interface eth0 {
            description: ""
            disable: false
            discard: false
            unreachable: false
            management: false
            vif eth0 {
                disable: false
                address 10.3.3.10 {
                    prefix-length: 23
                    disable: false
                }
            }
        }
        interface eth1 {
            description: "LAN"
            disable: false
            discard: false
            unreachable: false
            management: false
        }
        interface eth2 {
            description: "Available"
            disable: false
            discard: false
            unreachable: false
            management: false
        }
        interface eth3 {
            description: "Available"
            disable: false
            discard: false
            unreachable: false
            management: false
        }
        interface "eth0.605" {
            description: ""
            disable: false
            discard: false
            unreachable: false
            management: false
            vif "eth0.605" {
                disable: false
                address 10.1.1.82 {
                    prefix-length: 30
                    disable: false
                }
            }
        }
    }
    plumbing {
        mfea4 {
            disable: false
            interface eth0 {
                vif eth0 {
                    disable: false
                }
            }
            interface "register_vif" {
                vif "register_vif" {
                    disable: false
                }
            }
            interface "eth0.605" {
                vif "eth0.605" {
                    disable: false
                }
            }
        }
    }



> -----Original Message-----
> From: xorp-users-bounces at xorp.org [mailto:xorp-users-bounces at xorp.org]
> On Behalf Of Williams, Mark
> Sent: Wednesday, June 30, 2010 6:59 PM
> To: xorp-users at xorp.org
> Subject: Re: [Xorp-users] MFEA crashing on system with subinterfaces
> 
> I was able to get some interfaces working by removing the default-
> system-config primitive and specifying all the necessary information.
> However, I cannot get the 802.1q tagged interfaces to work. It allows
> me to create a vif with a vlan-id specified, but when I try to create
> the mfea4 interface, I get an error saying that the underlying vif is
> not up.
> 
> -Mark Williams
> 
> _______________________________________________
> 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