!
hostname Router_A
!
enable password cisco
!
interface Ethernet0
ip address 172.16.1.1 255.255.255.0
!
interface Serial0
ip address 192.168.1.1 255.255.255.0
bandwidth 64
clockrate 64000
!
router eigrp 1
network 172.16.0.0
network 192.168.1.0
!
ip classless
!
line vty 0 4
password cisco
login
!
end
●Router_Bの設定
!
hostname Router_B
!
enable password cisco
!
interface Ethernet0
ip address 172.16.3.1 255.255.255.0
!
interface Serial0
ip address 192.168.1.2 255.255.255.0
bandwidth 64
!
interface Serial1
no ip address
!
router eigrp 1
network 172.16.0.0
network 192.168.1.0
!
ip classless
!
line vty 0 4
password cisco
login
!
end
Router_A、Router_Bのルーティングテーブルを確認してみます。
●Router_Aのルーティングテーブル
Gateway of last resort is not set
C 192.168.1.0/24 is directly connected, Serial0
172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
D 172.16.0.0/16 is a summary, 00:02:49, Null0
C 172.16.1.0/24 is directly connected, Ethernet0
●Router_Bのルーティングテーブル
Gateway of last resort is not set
C 192.168.1.0/24 is directly connected, Serial0
172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
D 172.16.0.0/16 is a summary, 00:03:35, Null0
C 172.16.3.0/24 is directly connected, Ethernet0