!
version 11.1
service udp-small-servers
service tcp-small-servers
!
hostname Router_A
!
enable password cisco
!
interface Ethernet0
ip address 172.16.1.1 255.255.255.0
!
interface Serial0
ip address 172.16.2.1 255.255.255.0
clockrate 64000
!
interface Serial1
ip address 172.16.3.1 255.255.255.0
clockrate 64000
!
router rip
network 172.16.0.0
!
ip classless
!
line con 0
line aux 0
line vty 0 4
password cisco
login
!
end
●Router_Bの設定
!
version 11.1
service udp-small-servers
service tcp-small-servers
!
hostname Router_B
!
enable password cisco
!
interface Ethernet0
ip address 172.16.4.1 255.255.255.0
!
interface Serial0
ip address 172.16.2.2 255.255.255.0
no fair-queue
!
interface Serial1
ip address 172.16.3.2 255.255.255.0
!
router rip
network 172.16.0.0
!
ip classless
logging buffered
!
line con 0
exec-timeout 0 0
line aux 0
line vty 0 4
password cisco
login
!
end
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 4 subnets
R 172.16.4.0 [120/1] via 172.16.2.2, 00:00:03, Serial0
[120/1] via 172.16.3.2, 00:00:03, Serial1
C 172.16.1.0 is directly connected, Ethernet0
C 172.16.2.0 is directly connected, Serial0
C 172.16.3.0 is directly connected, Serial1
●Router_Bのルーティングテーブル
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 4 subnets
C 172.16.4.0 is directly connected, Ethernet0
R 172.16.1.0 [120/1] via 172.16.2.1, 00:00:23, Serial0
[120/1] via 172.16.3.1, 00:00:23, Serial1
C 172.16.2.0 is directly connected, Serial0
C 172.16.3.0 is directly connected, Serial1