router rip
network 1.1.1.0
명령어
R1 ============================
en
conf t
hostname R1
no ip domain-lookup
int g0/0
ip add 1.1.1.1 255.255.255.0
no sh
int s0/0/0
ip add 12.1.1.1 255.255.255.0
no sh
int s0/1/0
ip add 31.1.1.1 255.255.255.0
no sh
R2 ============================
en
conf t
hostname R2
no ip domain-lookup
int g0/0
ip add 2.2.2.1 255.255.255.0
no sh
int s0/0/0
ip add 12.1.1.2 255.255.255.0
no sh
int s0/0/1
ip add 23.1.1.2 255.255.255.0
no sh
R3 ============================
en
conf t
hostname R3
no ip domain-lookup
int g0/0
ip add 3.3.3.1 255.255.255.0
no sh
int s0/0/1
ip add 23.1.1.3 255.255.255.0
no sh
int s0/1/0
ip add 31.1.1.3 255.255.255.0
no sh
R1 RIP ========
router rip
network 1.1.1.0
network 12.1.1.0
network 31.1.1.0
R2 RIP ========
router rip
network 2.2.2.0
network 12.1.1.0
network 23.1.1.0
R3 RIP ========
router rip
network 3.3.3.0
network 23.1.1.0
network 31.1.1.0
결과