conf t
host r1
inter serial 0/0
encapsulation frame-relay
no shutdown
ip address 192.168.1.1 255.255.255.252
R2:
conf t
host r2
inter serial 0/0
encapsulation frame-relay
no shutdown
ip address 192.168.1.2 255.255.255.252
r2(config-if)#frame-relay map ip 192.168.1.2 201
2)关闭inverse-arp后,配置
3)配置点到点的子接口:
conf t
host R1
inter serial 0/0
encapsulation frame-relay
no shutdown
inter serial 0/0.1 point-to-point
ip address 192.168.1.1 255.255.255.252
no shutdown
frame-relay interface-dlci 102
interface serial 0/0.2 point-to-point
ip add 192.168.1.5 255.255.255.252
frame-relay interface-dlci 103
inter serial 0/0.3 point-to-point
ip add 192.168.1.9 255.255.255.252
frame-relay interface-dlci 104
frame-relay map ip 192.168.1.9 104
frame-relay map ip 192.168.1.10 104
enable
conf t
host R2
inter serial 0/0
encapsulation frame-relay
no shutdown
ip address 192.168.1.2 255.255.255.252
R3:
enable
conf t
host R3
inter serial 0/0
encapsulation frame-relay
no shutdown
ip address 192.168.1.6 255.255.255.252
R2:
enable
conf t
host R4
inter serial 0/0
encapsulation frame-relay
no shutdown
ip address 192.168.1.10 255.255.255.252
router#erase startup 清除nvram中的配置文件
router#reload 重启路由器
conf t
host r1
inter s 0/0
no shut
encapsu frame-relay
inter s 0/0.1 multipoint
ip address 192.168.1.1 255.255.255.0
frame-relay map ip 192.168.1.2 102 broadcast
frame-relay map ip 192.168.1.3 103 broadcast
frame-relay map ip 192.168.1.4 104 broadcast
R2:
enable
conf t
host R2
inter serial 0/0
encapsulation frame-relay
no shutdown
ip address 192.168.1.2 255.255.255.0
frame-relay map ip 192.168.1.1 201 broadcast
R3:
enable
conf t
host R3
inter serial 0/0
encapsulation frame-relay
no shutdown
ip address 192.168.1.3 255.255.255.0
frame-relay map ip 192.168.1.1 301 broadcast
R2:
enable
conf t
host R4
inter serial 0/0
encapsulation frame-relay
no shutdown
ip address 192.168.1.4 255.255.255.0
frame-relay map ip 192.168.1.1 401 broadcast