|
R1配置:
interface FastEthernet0/0
ip address 192.168.10.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
no ip address
encapsulation frame-relay
!
interface Serial0/0/0.1 point-to-point
ip address 192.168.1.1 255.255.255.0
frame-relay interface-dlci 101
!
interface Serial0/0/0.2 point-to-point
ip address 192.168.3.1 255.255.255.0
frame-relay interface-dlci 102
!
interface Vlan1
no ip address
shutdown
!
router rip
network 192.168.1.0
network 192.168.3.0
network 192.168.10.0
R2配置:
interface FastEthernet0/0
ip address 192.168.20.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
no ip address
encapsulation frame-relay
!
interface Serial0/0/0.1 point-to-point
ip address 192.168.1.2 255.255.255.0
frame-relay interface-dlci 201
!
interface Serial0/0/0.2 point-to-point
ip address 192.168.2.2 255.255.255.0
frame-relay interface-dlci 202
!
interface Vlan1
no ip address
shutdown
!
router rip
network 192.168.1.0
network 192.168.2.0
network 192.168.20.0
R3配置:
interface FastEthernet0/0
ip address 192.168.30.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
no ip address
encapsulation frame-relay
!
interface Serial0/0/0.1 point-to-point
ip address 192.168.3.2 255.255.255.0
frame-relay interface-dlci 301
!
interface Serial0/0/0.2 point-to-point
ip address 192.168.2.1 255.255.255.0
frame-relay interface-dlci 302
!
interface Vlan1
no ip address
shutdown
!
router rip
network 192.168.2.0
network 192.168.3.0
network 192.168.30.0
R1路由表:C 192.168.10.0/24 is directly connected, FastEthernet0/0
R2路由表:C 192.168.20.0/24 is directly connected, FastEthernet0/0
R3路由表:C 192.168.2.0/24 is directly connected, Serial0/0/0.2
C 192.168.3.0/24 is directly connected, Serial0/0/0.1
C 192.168.30.0/24 is directly connected, FastEthernet0/0
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|