Pages

network cisco ccna gns3 certification arteq

network cisco ccna gns3 certification arteq
a network runs through it

Search insearchofthecert

Sunday, September 9, 2012

mpls vpn again...

again, begin...



ce1a

int lo0
ip add 10.1.1.1 255.255.255.255

int f0/0
ip add 172.16.1.2 255.255.255.0
no shut

ce1b

int lo0
10.1.2.1 255.255.255.255

int f0/1
ip add 192.168.1.2 255.255.255.0
no shut

pe1

int lo0
ip add 11.0.0.1 255.255.255.255

int f0/0
ip add 172.16.1.1 255.255.255.0
no shut

int f0/1
ip add 192.168.1.1 255.255.255.0
no shut

int f1/0
ip add 11.1.1.1 255.255.255.0
no shut

int f1/1
ip add 11.1.2.1 255.255.255.0
no shut

p1

int lo0
ip add 11.0.0.3 255.255.255.255

int f1/0
ip add 11.1.1.2 255.255.255.0
no shut

int f2/0
ip add 11.1.3.2 255.255.255.0
no shut

int f2/1
ip add 11.1.5.1 255.255.255.0
no shut

p2

int lo0
ip add 11.0.0.4 255.255.255.255

int f1/1
ip add 11.1.2.2 255.255.255.0
no shut

int f0/0
ip add 11.1.4.2 255.255.255.0
no shut

int f2/1
ip add 11.1.5.2 255.255.255.0
no shut

pe2

int lo0
ip add 11.0.0.2 255.255.255.255

int f0/0
ip add 11.1.4.1 255.255.255.0
no shut

int f0/1
ip add 172.16.2.1 255.255.255.0
no shut

int f1/0
ip add 192.168.2.1 255.255.255.0
no shut

int f2/0
ip add 11.1.3.1 255.255.255.0
no shut

ce2a

int lo0
ip add 10.1.3.1 255.255.255.255

int f0/1
ip add 172.16.2.2 255.255.255.0
no shut

ce2b

int lo0
ip add 10.1.4.1 255.255.255.255

int f1/0
ip add 192.168.2.2 255.255.255.0
no shut

add ospf and ip cef to every router... add mpls ONLY to p's and pe interfaces connecting to p's...

verify ospf...

ce2b#sh ip route | ex L | inc loop
      
Gateway of last resort is not set

      10.0.0.0/32 is subnetted, 4 subnets
O        10.1.1.1 [110/5] via 192.168.2.1, 00:22:54, FastEthernet1/0
O        10.1.2.1 [110/5] via 192.168.2.1, 00:01:21, FastEthernet1/0
O        10.1.3.1 [110/3] via 192.168.2.1, 00:22:54, FastEthernet1/0
C        10.1.4.1 is directly connected, Loopback0
      11.0.0.0/8 is variably subnetted, 9 subnets, 2 masks
O        11.0.0.1/32 [110/4] via 192.168.2.1, 00:22:54, FastEthernet1/0
O        11.0.0.2/32 [110/2] via 192.168.2.1, 00:22:54, FastEthernet1/0
O        11.0.0.3/32 [110/3] via 192.168.2.1, 00:04:55, FastEthernet1/0
O        11.0.0.4/32 [110/3] via 192.168.2.1, 00:22:54, FastEthernet1/0
O        11.1.1.0/24 [110/3] via 192.168.2.1, 00:22:54, FastEthernet1/0
O        11.1.2.0/24 [110/3] via 192.168.2.1, 00:22:54, FastEthernet1/0
O        11.1.3.0/24 [110/2] via 192.168.2.1, 00:22:54, FastEthernet1/0
O        11.1.4.0/24 [110/2] via 192.168.2.1, 00:22:54, FastEthernet1/0
O        11.1.5.0/24 [110/3] via 192.168.2.1, 00:22:54, FastEthernet1/0
      172.16.0.0/24 is subnetted, 2 subnets
O        172.16.1.0 [110/4] via 192.168.2.1, 00:22:54, FastEthernet1/0
O        172.16.2.0 [110/2] via 192.168.2.1, 00:22:54, FastEthernet1/0
O     192.168.1.0/24 [110/4] via 192.168.2.1, 00:01:21, FastEthernet1/0
      192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.2.0/24 is directly connected, FastEthernet1/0

very exciting... 4 customer loopbacks, 4 provider loopbacks, 4 customer private networks and 5 provider networks...

check some router id's... especially pe's...

pe1#sh ip ospf
 Routing Process "ospf 1" with ID 11.0.0.1

pe2#sh ip ospf 
 Routing Process "ospf 1" with ID 11.0.0.2

check ldp neighbors...

pe1#sh mpls ldp neigh all
    Peer LDP Ident: 11.1.5.1:0; Local LDP Ident 11.0.0.1:0
    TCP connection: 11.1.5.1.61187 - 11.0.0.1.646
    State: Oper; Msgs sent/rcvd: 46/47; Downstream
    Up time: 00:23:14
    LDP discovery sources:
      FastEthernet1/0, Src IP addr: 11.1.1.2
        Addresses bound to peer LDP Ident:
          11.1.1.2        11.1.3.2        11.1.5.1        11.0.0.3       
    Peer LDP Ident: 11.0.0.4:0; Local LDP Ident 11.0.0.1:0
    TCP connection: 11.0.0.4.48125 - 11.0.0.1.646
    State: Oper; Msgs sent/rcvd: 47/46; Downstream
    Up time: 00:23:01
    LDP discovery sources:
      FastEthernet1/1, Src IP addr: 11.1.2.2
        Addresses bound to peer LDP Ident:

          11.1.4.2        11.1.2.2        11.1.5.2        11.0.0.4

and look at the pretty labels...





No comments:

Post a Comment