24 Aralık 2017 Pazar

EoMPLS

aynı switche bağlıymıssın gibi pclerin görünebilir. mpls ile.

R3

interface FastEthernet0/0
 ip address 16.16.16.1 255.255.255.0

R2

interface Loopback0
 ip address 2.2.2.2 255.255.255.255
 ip ospf network point-to-point
!
interface FastEthernet0/0
 ip address 10.0.0.2 255.255.255.252
 duplex full
 mpls ip
 mpls label protocol ldp

interface FastEthernet1/1.234
 encapsulation dot1Q 234
 xconnect 4.4.4.4 234 encapsulation mpls

router ospf 1
 router-id 2.2.2.2
 network 2.2.2.2 0.0.0.0 area 0
 network 10.0.0.0 0.0.0.3 area 0
 network 0.0.0.0 255.255.255.255 area 0

mpls ldp router-id Loopback0 force


R1

interface Loopback0
 ip address 3.3.3.3 255.255.255.255
 ip ospf network point-to-point
!
interface FastEthernet0/0
 ip address 10.0.0.1 255.255.255.252
 duplex full
 mpls ip
 mpls label protocol ldp
!
interface FastEthernet1/0
 ip address 10.0.0.5 255.255.255.252
 mpls ip
 mpls label protocol ldp
!
router ospf 1
 router-id 3.3.3.3
 network 3.3.3.0 0.0.0.255 area 0
 network 10.0.0.0 0.0.0.3 area 0
 network 10.0.0.4 0.0.0.3 area 0
!
mpls ldp router-id Loopback0 force


R4

nterface Loopback0
 ip address 4.4.4.4 255.255.255.255
 ip ospf network point-to-point
!
interface FastEthernet1/0
 ip address 10.0.0.6 255.255.255.252
 speed auto
 duplex auto
 mpls ip
 mpls label protocol ldp
!
interface FastEthernet1/1.234
 encapsulation dot1Q 234
 xconnect 2.2.2.2 234 encapsulation mpls
!
router ospf 1
 router-id 4.4.4.4
 network 4.4.4.4 0.0.0.0 area 0
 network 10.0.0.4 0.0.0.3 area 0
 network 0.0.0.0 255.255.255.255 area 0
!
mpls ldp router-id Loopback0 force
!
R5

interface FastEthernet0/0
 ip address 16.16.16.2 255.255.255.0
 duplex auto
 speed auto

Hiç yorum yok:

Yorum Gönder