[Xorp-users] MFEA crashing on system with subinterfaces

Eric S. Johnson esj at cs.fiu.edu
Thu Jul 1 07:51:33 PDT 2010


Mark,

Ive been using xorp on linux with vlans/multicast for a while.
(Im not running the "current" .ct branch, but one that
is close)

I have found that to make it work you need to treat the 
vlan interfaces as separate interfaces not separate vif's 
of a single interface. I actually bring up the interfaces 
outside of xorp, but use xorp vif's that correspond.


E




My interfaces look like:


eth0.14   Link encap:Ethernet  HWaddr 00:06:5B:88:84:C6  
          inet addr:131.94.132.91  Bcast:131.94.132.255  Mask:255.255.255.0
          inet6 addr: 2001:468:701:3803:206:5bff:fe88:84c6/64 Scope:Global
          inet6 addr: fe80::206:5bff:fe88:84c6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:74556615 errors:0 dropped:0 overruns:0 frame:0
          TX packets:119107697 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2828663148 (2.6 GiB)  TX bytes:3576639776 (3.3 GiB)

eth0.15   Link encap:Ethernet  HWaddr 00:06:5B:88:84:C6  
          inet addr:131.94.131.2  Bcast:131.94.131.31  Mask:255.255.255.224
          inet6 addr: fe80::206:5bff:fe88:84c6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8522903 errors:0 dropped:0 overruns:0 frame:0
          TX packets:125184 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:445383310 (424.7 MiB)  TX bytes:5258196 (5.0 MiB)

eth0.16   Link encap:Ethernet  HWaddr 00:06:5B:88:84:C6  
          inet addr:131.94.134.131  Bcast:131.94.134.191  Mask:255.255.255.192
          inet6 addr: fe80::206:5bff:fe88:84c6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:308961401 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8353961 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1102564519 (1.0 GiB)  TX bytes:1326031999 (1.2 GiB)

and my xorp configs look like:


interfaces {
    interface "eth0.14" {
        description: ""
        disable: false
        discard: false
        unreachable: false
        management: false
        vif "eth0.14" {
            disable: false
            address 131.94.132.91 {
                prefix-length: 24
                disable: false
            }
        }
    }
    interface "eth0.15" {
        description: ""
        disable: false
        discard: false
        unreachable: false
        management: false
        vif "eth0.15" {
            disable: false
            address 131.94.131.2 {
                prefix-length: 27
                disable: false
            }
        }
    }
    interface "eth0.16" {
        description: ""
        disable: false
        discard: false
        unreachable: false
        management: false
        vif "eth0.16" {
            disable: false
            address 131.94.134.131 {
                prefix-length: 26
                disable: false
            }
        }
    }
}



protocols { 
    fib2mrib {
        disable: false
    }
     igmp {
        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
            }
        }
     }

     pimsm4 {
        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: true
                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
            }
        }
    }
}
plumbing {
    mfea4 {
        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
            }
        }
    }
}



More information about the Xorp-users mailing list