Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

LAB-MPLS VPN Using RIPv2

3.3.3.3/32

eth0/1 eth0/0
P
10.0.0.8/30 10.0.0.20/30

eth0/0 eth0/0
1.1.1.1/32

2.2.2.2/32
PE1 PE2

s1/0 s1/0

172.16.1.0/24 172.16.2.0/24

s1/0 s1/0

5.5.5.5/32
4.4.4.4/32

CE1 CE2

I. KHAI BÁO CẤU HÌNH CƠ BẢN:


- Khai báo địa chỉ IP cho các interface như sơ đồ.
P#
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface Ethernet0/0
description to_CE2
ip address 10.0.0.22 255.255.255.252
!
interface Ethernet0/1
description to_PE1
ip address 10.0.0.10 255.255.255.252

PE1#
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface Ethernet0/0
description to_P
ip address 10.0.0.9 255.255.255.252
!
interface Serial1/0
description to_CE1
ip address 172.16.1.254 255.255.255.0
!

PE2#
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface Ethernet0/0
description to_P
ip address 10.0.0.21 255.255.255.252
!
interface Serial1/0
description to_CE2
ip address 172.16.2.254 255.255.255.0
!

CE1#
interface Loopback0
ip address 4.4.4.4 255.255.255.0
!
interface Serial1/0
ip address 172.16.1.1 255.255.255.0
!

CE2#
interface Loopback0
ip address 5.5.5.5 255.255.255.255
!
interface Serial1/0
ip address 172.16.2.1 255.255.255.0
!

You might also like