PPP over Frame-relay的配置
R1:
hostname R1
username R2 password 0 cisco
interface Loopback0
ip address 1.1.1.1 255.0.0.0
interface Serial1/2 //1.在接口封装FR,并且打开接口(no sh)
no ip address
encapsulation frame-relay
serial restart-delay 0
no shutdown
interface Serial1/2.1 point-to-point //2.创建子接口,再启用一个模板
frame-relay interface-dlci 102 ppp Virtual-Template1
interface Virtual-Template1 //3.virtual template interface的默认封装类型是PPP
ip address 10.1.1.1 255.255.255.0
ppp authentication chap
no shutdown
router rip
version 2
passive-interface Loopback0
network 1.0.0.0
network 10.0.0.0
neighbor 10.1.1.2 //4.手工指定RIP邻居路由器,与之进行单播更新
no auto-summary
end
==============================================
R2:
hostname R2
username R1 password 0 cisco
interface Loopback0
ip address 2.2.2.2 255.0.0.0
interface Serial1/2
no ip address
encapsulation frame-relay
serial restart-delay 0
no shutdown
interface Serial1/2.1 point-to-point
frame-relay interface-dlci 201 ppp Virtual-Template1
interface Virtual-Template1
ip address 10.1.1.2 255.255.255.0
ppp authentication chap
no shutdown
router rip
version 2
network 2.0.0.0
network 10.0.0.0
neighbor 10.1.1.1
no auto-summary
end
========================================
R1#show ip route
Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2
i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, * – candidate default, U – per-user static route
o – ODR, P – periodic downloaded static route
Gateway of last resort is not set
C 1.0.0.0/8 is directly connected, Loopback0
R 2.0.0.0/8 [120/1] via 10.1.1.2, 00:00:09, Virtual-Access1
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.1.1.2/32 is directly connected, Virtual-Access1
C 10.1.1.0/24 is directly connected, Virtual-Access1
Name : Jakee.
Leave a comment