[Xorp-users] Question on OSPF setting

Atanu Ghosh atanu at ICSI.Berkeley.EDU
Thu May 1 15:17:16 PDT 2008


Hi,

Your config files also require an interfaces block, XORP will only use
interfaces that it has been configured to use.

interfaces {
    interface eth2 {
        vif eth2 {
            address 10.1.1.2 {
                prefix-length: 16
            }
        }
    }
}


       Atanu.

>>>>> "Eric" == Eric Sohn <ssohn at gmu.edu> writes:

    Eric> Hello,


    Eric> My code is not quite working great.
    Eric> I hope anybody can take a look at my codes and find some bugs if there
    Eric> is in.


    Eric> My connection is quite simple.


    Eric> Source1 - R1 -R2 - Sink1


    Eric> Symptom is ping sink1 from source1 is impossible and each router does
    Eric> not have neighbor information in ospf database.


    Eric> At R1 of xorp configuration,


    Eric> protocols {

    Eric> ospf4 {

    Eric> router-id: 10.1.1.2

    Eric> area 0.0.0.0 {

    Eric> interface eth2 {

    Eric> vif eth2 {

    Eric> address 10.1.1.2

    Eric> }

    Eric> }

    Eric> interface eth4 {

    Eric> vif eth4 {

    Eric> address 10.1.3.3


    Eric> }

    Eric> }

    Eric> }

    Eric> }

    Eric> }



    Eric> At R2


    Eric> protocols {

    Eric> ospf4 {

    Eric> area 0.0.0.0 {

    Eric> interface eth4 {

    Eric> vif eth4 {

    Eric> address 10.1.1.3

    Eric> }

    Eric> }

    Eric> interface eth2 {

    Eric> vif eth2 {

    Eric> address 10.1.2.2

    Eric> }

    Eric> }

    Eric> }

    Eric> router-id: 10.1.1.3

    Eric> }

    Eric> }


    Eric> Two scripts are for routing itself and I didn't set anything for
    Eric> routing (i.e., no policy, no static).


    Eric> Is there anything wrong in this code ?


    Eric> Eric
    Eric> _______________________________________________
    Eric> Xorp-users mailing list
    Eric> Xorp-users at xorp.org
    Eric> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users



More information about the Xorp-users mailing list