[Xorp-users] Running XORP considering an interface without connectivity

Olivier BONHOMME obonhomme at nerim.net
Thu Sep 4 06:00:59 PDT 2008


Bruce M Simpson a écrit :
> Olivier BONHOMME wrote:
>> Hello Everybody,
>>
>> I am running XORP on a Linux System with two interface. My problem is 
>> that on this system, I can have one of these interface not connected 
>> to any network equipments. So, the link is considered down by the 
>> Linux. In this configuration, my Xorp system doesn't want to start 
>> when I want to use MFEA. The logs tell me that the VIF interface is 
>> not UP. (The concerned VIF is linked to the physical interface which 
>> is not connected)
>>   
>
> This is a known issue, bug 520, and is already being worked on:
>    http://bugzilla.xorp.org/bugzilla/show_bug.cgi?id=560
It seems to be the same issue as described in this bug report.
>
> In the meantime:
> * Can you post the log message(s) and XORP configuration which are 
> failing?
Log Messages from router.log

[ 2008/09/04 17:00:28 INFO xorp_fea MFEA ] Interface added: Vif[dvbsat0] 
pif_index: 5 vif_index: 0 addr: 10.128.0.3 subnet: 10.128.0.0/16 
broadcast: 10.128.255.255 peer: 0.0.0.0 Flags: MULTICAST BROADCAST 
UNDERLYING_VIF_UP MTU: 1500
[ 2008/09/04 17:00:28 INFO xorp_fea MFEA ] Interface added: Vif[eth0] 
pif_index: 2 vif_index: 1 Flags: MULTICAST BROADCAST MTU: 1500
[ 2008/09/04 17:00:28 INFO xorp_fea MFEA ] MFEA started
[ 2008/09/04 17:00:28 INFO xorp_fea MFEA ] Interface enabled Vif[eth0] 
pif_index: 2 vif_index: 1 Flags: MULTICAST BROADCAST MTU: 1500 DOWN IPv4 
ENABLED
[ 2008/09/04 17:00:28  ERROR xorp_fea:19857 MFEA +1186 mfea_node.cc 
start_vif ] Cannot start vif eth0: underlying vif is not UP
[ 2008/09/04 17:00:28 WARNING xorp_fea XrlMfeaTarget ] Handling method 
for mfea/0.1/start_vif failed: XrlCmdError 102 Command failed Cannot 
start vif eth0: underlying vif is not UP

Configuration File :

interfaces {
    restore-original-config-on-shutdown: false
    interface eth0 {
    description: "User Interface #1"
    disable: false
    default-system-config
    }
    interface dvbsat0 {
    description: "Satellite Interface #1"
    disable: false
    default-system-config
    }

}

fea {
    unicast-forwarding4 {
    disable: false
    forwarding-entries {
        retain-on-startup: false
        retain-on-shutdown:    false
    }
    }
}


plumbing {
    mfea4 {
    disable: false
    interface eth0 {
        vif eth0 {
        disable: false
        }
    }
    interface dvbsat0 {
        vif dvbsat0 {
        disable: false
        }
    }
    interface register_vif {
        vif register_vif {
        /* Note: this vif should be always enabled */
        disable: false
        }
    }
    traceoptions {
        flag all {
        disable: false
        }
    }
    }

}

protocols {
    igmp {
    disable: false
    interface eth0 {
        vif eth0 {
        disable: false
        }
    }
    interface dvbsat0 {
        vif dvbsat0 {
        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 {
    pimsm4 {
    disable: false
    interface eth0 {
        vif eth0 {
        disable: false
        }
    }

    interface dvbsat0 {
        vif dvbsat0 {
        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 */
        }
    }

    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: 10.10.10.10 */
            /* 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: 10.10.10.10 */
            /* 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
    }
}


> * Which kernel version and Linux distro are you using?
2.6.18 Kernel on a Debian Etch
> * Which protocol(s) are you attempting to run?
IGMP.

Regards,
Olivier BONHOMME



More information about the Xorp-users mailing list