[j-nsp] OSPF NBMA

alain.briant at bt.com alain.briant at bt.com
Fri Mar 27 10:17:45 EDT 2009


Hi Aamir

I have tried this configured with logical routers on an M7i without any problem:

What kind of router are you using
Which version of software?

Regards
Alain


logical-systems {
    R1 {
        interfaces {
            fe-1/3/0 {
                unit 0 {
                    vlan-id 0;
                    family inet {
                        address 10.0.2.5/30;
                    }
                }
            }
        }
        protocols {
            ospf {
                area 0.0.0.0 {
                    interface fe-1/3/0.0 {
                        interface-type nbma;
                        neighbor 10.0.2.6 eligible;
                    }
                }
            }
        }
    }
    R2 {
        interfaces {
            fe-1/3/1 {
                unit 0 {
                    vlan-id 0;
                    family inet {
                        address 10.0.2.6/30;
                    }
                }
            }
        }
        protocols {
            ospf {
                area 0.0.0.0 {
                    interface fe-1/3/1.0 {
                        interface-type nbma;
                        neighbor 10.0.2.5 eligible;
                    }
                }
            }
        }
    }
}
interfaces {
    fe-1/3/0 {
        vlan-tagging;
    }
    fe-1/3/1 {
        vlan-tagging;
    }              
}

lab at PC_HP> show ospf neighbor logical-router all 
 
logical-router: R2
  Address         Interface             State      ID              Pri  Dead
10.0.2.5         fe-1/3/1.0                 Full      10.0.2.5         128   118 
-----
 
logical-router: R1
10.0.2.6         fe-1/3/0.0                 Full      10.0.2.6         128   105 
-----
 
logical-router: default
OSPF instance is not running 

-----Message d'origine-----
De : juniper-nsp-bounces at puck.nether.net [mailto:juniper-nsp-bounces at puck.nether.net] De la part de Aamir Saleem
Envoyé : vendredi 27 mars 2009 11:59
À : Juniper Puck
Objet : [j-nsp] OSPF NBMA

Hi All,

I am having problem to established NBMA relationship between two P2P SONET interfaces with frame-relay encapsulation. Can anyone tell me what is wrong with the following interface and ospf configuration or what else need to be added to have neighbor established. I am able to ping P2P ips and NBMA is working fine on multipoint interface configuration.

*A-END Configuration*

LAB1 <r at LAB1># show interfaces so-0/2/1
hold-time up 30 down 30;
encapsulation frame-relay;
lmi {
    n391dte 1;
    n392dte 2;
    n393dte 3;
    t391dte 15;
    lmi-type itu;
}
unit 0 {
    dlci 100;
    family inet {
        address 10.0.2.5/30;
    }
}
[edit]
LAB1 <r at LAB1># show protocols ospf
area 0.0.0.0 {
    interface so-0/2/1.0 {
        interface-type nbma;
        neighbor 10.0.2.6 eligible;
    }
}
[edit]
LAB1 <aamir at LAB1>#

*B-END Configuration*
**
LAB2 <r at LAB2># show interfaces so-0/2/1
dce;
hold-time up 30 down 30;
encapsulation frame-relay;
lmi {
    n392dce 2;
    n393dce 3;
    t392dce 25;
    lmi-type itu;
}
unit 0 {
    dlci 100;
    family inet {
        address 10.0.2.6/30;
    }
}
[edit]
LAB2 <r at LAB2># show protocols ospf
area 0.0.0.0 {
    interface so-0/2/1.0 {
        interface-type nbma;
        neighbor 10.0.2.5 eligible;
    }
}
[edit]
LAB2 <aamir at LAB2>#


some ospf outputs

LAB1 <r at LAB1># run show ospf interface
Interface           State   Area            DR ID           BDR ID
Nbrs
so-0/2/1.0          DR      0.0.0.0         10.0.5.1
0.0.0.0            0
so-0/2/1.0          DR      0.0.0.0         10.0.5.1
0.0.0.0            1
[edit]
aamir at LAB1# run show ospf neighbor
Address          Interface              State     ID               Pri  Dead
10.0.2.6         so-0/2/1.0             Down      0.0.0.0            0     0
10.0.2.6         so-0/2/1.0             Attempt   0.0.0.0            0     0
[edit]
aamir at LAB1#

Why we have two interface and neighbor entries in "show ospf interface" and "show ospf neighbor"?



Regards.
Aamir
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp


More information about the juniper-nsp mailing list