[Xorp-users] MFEA crashing on system with subinterfaces

Williams, Mark william at losrios.edu
Wed Jun 30 14:43:33 PDT 2010


I am using 1.6. 

Here is the configuration of the native interfaces on the Linux system itself:
eth0      Link encap:Ethernet  HWaddr 00:0F:20:98:A5:17
          inet addr:172.27.0.1  Bcast:172.27.255.255  Mask:255.255.0.0
          inet6 addr: fe80::20f:20ff:fe98:a517/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:845013 errors:0 dropped:0 overruns:0 frame:0
          TX packets:880720 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:107779155 (102.7 MiB)  TX bytes:147334738 (140.5 MiB)
          Interrupt:177 Memory:f7df0000-f7e00000
eth0.2400 Link encap:Ethernet  HWaddr 00:0F:20:98:A5:17
          inet addr:165.196.182.254  Bcast:165.196.182.255  Mask:255.255.255.0
          inet6 addr: fe80::20f:20ff:fe98:a517/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:770010 errors:0 dropped:0 overruns:0 frame:0
          TX packets:837373 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:80934576 (77.1 MiB)  TX bytes:135522439 (129.2 MiB)
eth0.3400 Link encap:Ethernet  HWaddr 00:0F:20:98:A5:17
          inet addr:165.196.183.254  Bcast:165.196.183.255  Mask:255.255.255.0
          inet6 addr: fe80::20f:20ff:fe98:a517/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:117 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43320 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5382 (5.2 KiB)  TX bytes:3381874 (3.2 MiB)
eth1      Link encap:Ethernet  HWaddr 00:0F:20:98:A5:01
          inet addr:172.18.255.254  Bcast:172.18.255.255  Mask:255.255.0.0
          inet6 addr: fe80::20f:20ff:fe98:a501/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:28234 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14320 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12280669 (11.7 MiB)  TX bytes:1915095 (1.8 MiB)
          Interrupt:185 Memory:f7ff0000-f8000000
eth2      Link encap:Ethernet  HWaddr 00:13:21:78:C4:FC
          inet addr:165.196.190.253  Bcast:165.196.190.255  Mask:255.255.255.128
          inet6 addr: fe80::213:21ff:fe78:c4fc/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18618881 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24945308 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:380107056 (362.4 MiB)  TX bytes:3884887570 (3.6 GiB)
eth3      Link encap:Ethernet  HWaddr 00:13:21:78:C4:FD
          inet addr:165.196.192.253  Bcast:165.196.192.255  Mask:255.255.255.128
          inet6 addr: fe80::213:21ff:fe78:c4fd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:29503244 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40214761 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1156470672 (1.0 GiB)  TX bytes:898363986 (856.7 MiB)
eth3.3402 Link encap:Ethernet  HWaddr 00:13:21:78:C4:FD
          inet addr:165.196.184.254  Bcast:165.196.184.255  Mask:255.255.255.0
          inet6 addr: fe80::213:21ff:fe78:c4fd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3031290 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4972821 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:280804345 (267.7 MiB)  TX bytes:2362081912 (2.1 GiB)
eth3.3404 Link encap:Ethernet  HWaddr 00:13:21:78:C4:FD
          inet addr:165.196.185.254  Bcast:165.196.185.255  Mask:255.255.255.0
          inet6 addr: fe80::213:21ff:fe78:c4fd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43322 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1053 (1.0 KiB)  TX bytes:3382106 (3.2 MiB)
eth4      Link encap:Ethernet  HWaddr 00:13:21:78:C4:FE
          inet addr:165.196.26.242  Bcast:165.196.26.255  Mask:255.255.255.240
          inet6 addr: fe80::213:21ff:fe78:c4fe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:67174688 errors:0 dropped:0 overruns:0 frame:0
          TX packets:50465127 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1283825546 (1.1 GiB)  TX bytes:2277745046 (2.1 GiB)
Here is my Xorp config:
fea {
    unicast-forwarding4 {
        disable: false
    }
}
interfaces {
    restore-original-config-on-shutdown: false
    interface eth4 {
        description: ""
        disable: false
        discard: false
        unreachable: false
        management: false
        default-system-config
    }
    interface eth2 {
        description: ""
        disable: false
        discard: false
        unreachable: false
        management: false
        default-system-config
    }
    interface eth3 {
        description: ""
        disable: false
        discard: false
        unreachable: false
        management: false
        default-system-config
    }
    interface eth1 {
        description: ""
        disable: false
        discard: false
        unreachable: false
        management: false
        default-system-config
    }
}
This is the output of "show interfaces" in xorpsh
eth1/eth1: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500 speed 100 Mbps
        inet6 fe80::20f:20ff:fe98:a501 prefixlen 64
        inet 172.18.255.254 subnet 172.18.0.0/16 broadcast 172.18.255.255
        physical index 3
        ether 0:f:20:98:a5:1
eth2/eth2: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500 speed 100 Mbps
        inet6 fe80::213:21ff:fe78:c4fc prefixlen 64
        inet 165.196.190.253 subnet 165.196.190.128/25 broadcast 165.196.190.255
        physical index 4
        ether 0:13:21:78:c4:fc
eth3/eth3: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500 speed 100 Mbps
        inet6 fe80::213:21ff:fe78:c4fd prefixlen 64
        inet 165.196.192.253 subnet 165.196.192.128/25 broadcast 165.196.192.255
        physical index 5
        ether 0:13:21:78:c4:fd
eth3/eth3.3402: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500 speed 100 Mbps
        inet6 fe80::213:21ff:fe78:c4fd prefixlen 64
        inet 165.196.184.254 subnet 165.196.184.0/24 broadcast 165.196.184.255
        physical index 11
        ether 0:13:21:78:c4:fd
        vlan: 3402 parent interface: eth3
eth3/eth3.3404: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500 speed 100 Mbps
        inet6 fe80::213:21ff:fe78:c4fd prefixlen 64
        inet 165.196.185.254 subnet 165.196.185.0/24 broadcast 165.196.185.255
        physical index 12
        ether 0:13:21:78:c4:fd
        vlan: 3404 parent interface: eth3
eth4/eth4: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500 speed 100 Mbps
        inet6 fe80::213:21ff:fe78:c4fe prefixlen 64
        inet 165.196.26.242 subnet 165.196.26.240/28 broadcast 165.196.26.255
        physical index 6
        ether 0:13:21:78:c4:fe
If I go to configure mode and enter 
root at gw-s-edc# set plumbing mfea4 interface eth4 vif eth4 disable false
[edit]
root at gw-s-edc# commit
I get the error 
Commit Failed
Can't startup process mfea4[edit]
Console output from xorp_rtrmgr process is 
 2010/06/30 14:13:54  INFO xorp_rtrmgr:20073 RTRMGR +101 module_manager.cc execute ] Executing module: mfea4 (fea/xorp_fea)
[ 2010/06/30 14:13:54  FATAL xorp_fea:20074 MFEA +539 mfea_node.cc vif_update ] Assertion (vif_index != Vif::VIF_INDEX_INVALID) failed
[ 2010/06/30 14:13:54  ERROR xorp_rtrmgr:20073 RTRMGR +754 module_manager.cc done_cb ] Command "/usr/local/xorp/fea/xorp_fea": terminated with signal 6.
[ 2010/06/30 14:13:54  INFO xorp_rtrmgr:20073 RTRMGR +299 module_manager.cc module_exited ] Module abnormally killed: fea
[ 2010/06/30 14:13:54  INFO xorp_rtrmgr:20073 RTRMGR +299 module_manager.cc module_exited ] Module abnormally killed: firewall
[ 2010/06/30 14:13:54  INFO xorp_rtrmgr:20073 RTRMGR +299 module_manager.cc module_exited ] Module abnormally killed: interfaces
[ 2010/06/30 14:13:54  INFO xorp_rtrmgr:20073 RTRMGR +299 module_manager.cc module_exited ] Module abnormally killed: mfea4
[ 2010/06/30 14:13:54  ERROR xorp_rtrmgr:20073 RTRMGR +2003 task.cc task_fail ] Shutting down fatally wounded process (mfea4)
[ 2010/06/30 14:13:54  ERROR xorp_rtrmgr:20073 RTRMGR +691 master_conf_tree.cc commit_pass2_done ] Commit failed: Can't startup process mfea4


________________________________________
From: Ben Greear [greearb at candelatech.com]
Sent: Wednesday, June 30, 2010 2:07 PM
To: Williams, Mark
Cc: xorp-users at xorp.org
Subject: Re: [Xorp-users] MFEA crashing on system with subinterfaces

On 06/30/2010 01:25 PM, Williams, Mark wrote:
> Hello,
> I have been successfully using Xorp to perform PIM-SM multicast routing
> within our network. I recently deployed a new Linux system that uses
> 802.1q sub-interfaces, and I am having a problem with the Xorp mfea.
> If I start Xorp with a minimal configuration that includes only the
> interface defenitions, it starts fine. But as soon as I add an IGMP or
> PIM interface, I get this error
> [ 2010/06/30 13:21:39 INFO xorp_rtrmgr:13238 RTRMGR +101
> module_manager.cc execute ] Executing module: mfea4 (fea/xorp_fea)
> [ 2010/06/30 13:21:39 FATAL xorp_fea:13239 MFEA +539 mfea_node.cc
> vif_update ] Assertion (vif_index != Vif::VIF_INDEX_INVALID) failed
> [ 2010/06/30 13:21:39 ERROR xorp_rtrmgr:13238 RTRMGR +754
> module_manager.cc done_cb ] Command "/usr/local/xorp/fea/xorp_fea":
> terminated with signal 6.
> [ 2010/06/30 13:21:39 INFO xorp_rtrmgr:13238 RTRMGR +299
> module_manager.cc module_exited ] Module abnormally killed: fea
> [ 2010/06/30 13:21:39 INFO xorp_rtrmgr:13238 RTRMGR +299
> module_manager.cc module_exited ] Module abnormally killed: firewall
> [ 2010/06/30 13:21:39 INFO xorp_rtrmgr:13238 RTRMGR +299
> module_manager.cc module_exited ] Module abnormally killed: interfaces
> [ 2010/06/30 13:21:39 INFO xorp_rtrmgr:13238 RTRMGR +299
> module_manager.cc module_exited ] Module abnormally killed: mfea4
> [ 2010/06/30 13:21:39 ERROR xorp_rtrmgr:13238 RTRMGR +2003 task.cc
> task_fail ] Shutting down fatally wounded process (mfea4)
> [ 2010/06/30 13:21:39 ERROR xorp_rtrmgr:13238 RTRMGR +691
> master_conf_tree.cc commit_pass2_done ] Commit failed: Can't startup
> process mfea4
> I did some searches, but couldn't find anything conclusive. Is there a
> known problem with Xorp mfea and sub-interfaces?
> Thanks,
> -Mark Williams

What version of xorp?  Can you try xorp.ct if you are not already
using it?

http://www.candelatech.com/xorp.ct/

Please do post your config as well.

Thanks,
Ben


--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-users mailing list