글 작성자: 마노링
반응형
Static Route
Router(config)#ip route <Destination Network> <Subnetmask> <Exit interface>
Router(config)#ip route <Destination Network> <Subnetmask> <Next-Hop IP>

전체 Network 정보
192.168.1.0/30 : R1 serial 1/0 <--> R2 serial 1/0
172.11.0.0/24 : R1 fastethernet 0/0 <--> VMnet1
172.12.0.0/24 : R2 loopback 0

R1 Router
C 192.168.1.0/30
C 172.11.0.0/24

S 172.12.0.0/24 : R1 s1/0(192.168.1.1) -> R2 s1/0(192.168.1.2) -> R2 lo 0(172.12.0.1)

R1(config)#ip route 172.12.0.0 255.255.255.0 serial 1/0
R1(config)#ip route 172.12.0.0 255.255.255.0 192.168.1.2

R2 Router
C 192.168.1.0/30
C 172.12.0.0/24

S 172.11.0.0/24 : R2 s1/0(192.168.1.2) -> R1 s1/0(192.168.1.1) -> R1 f0/0(172.11.0.1) -> VMnet(172.11.0.2)

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

static & default 실습

전체 Network 정보
10.10.10.0/24 : R1 loopback 0
172.11.0.0/24 : R2 fastethernet 0/0 < -- > PC1
172.12.0.0/24 : R3 fastethernet 0/0 < -- > PC2
192.168.1.0/30 : R1 serial 0/0 < -- > R2 serial 0/0
192.168.1.4/30 : R1 serial 0/1 < -- > R3 serial 0/0

R1 Router
C 10.10.10.0/24
C 192.168.1.0/30
C 192.168.1.4/30

S 172.11.0.0/24 : R1 s0/0(192.168.1.1) -> R2 s0/0(192.168.1.2) -> R2 f0/0(172.11.0.1) -> PC1(172.11.0.2)
R1(config)#ip route 172.11.0.0 255.255.255.0 serial 0/0
R1(config)#ip route 172.11.0.0 255.255.255.0 192.168.1.2

S 172.12.0.0/24 : R1 s0/1(192.168.1.5) -> R3 s0/0(192.168.1.6) -> R3 f0/0(172.12.0.1) -> PC2(172.12.0.2)
R1(config)#ip route 172.12.0.0 255.255.255.0 serial 0/0
R1(config)#ip route 172.12.0.0 255.255.255.0 192.168.1.6

R2 Router
C 172.11.0.0/24
C 192.168.1.0/30

S 10.10.10.0/24 : R2 s0/0(192.168.1.2) -> R1 s0/0(192.168.1.1) -> R1 lo0(10.10.10.1)
R2(config)#ip route 10.10.10.0 255.255.255.0 serial 0/0
R2(config)#ip route 10.10.10.0 255.255.255.0 192.168.1.1

S 192.168.1.4/30 : R2 s0/0(192.168.1.2) -> R1 s0/0(192.168.1.1) -> R1 s0/1(192.168.1.5) -> R3 s0/0(192.168.1.6)
R2(config)#ip route 192.168.1.4 255.255.255.252 serial 0/0
R2(config)#ip route 192.168.1.4 255.255.255.252 192.168.1.1

S 172.12.0.0/24 : R2 s0/0(192.168.1.2_ => R1 s0/0(192.168.1.1) -> R1 s0/1(192.168.1.5) -> R3 s0/0(192.168.1.6) -> R3 f0/0(172.12.0.1) -> PC2(172.12.0.2)
R2(config)#ip route 172.12.0.0 255.255.255.0 serial 0/0
R2(config)#ip route 172.12.0.0 255.255.255.0 192.168.1.1

R3 Router
C 172.12.0.0/24
C 192.168.1.4/30

S 10.10.10.0/24 : R3 s0/0(192.168.1.6) -> R1 s0/1(192.168.1.5) -> R1 lo0(10.10.10.1)
R3(config)#ip route 10.10.10.0 255.255.255.0 serial 0/0
R3(config)#ip route 10.10.10.0 255.255.255.0 192.168.1.5

S 192.168.1.0/30 : R3 s0/0(192.168.1.6) -> R1 s0/1(192.168.1.5) -> R1 s0/0(192.168.1.1) -> R2 s0/0(192.168.1.2
R3(config)#ip route 192.168.1.0 255.255.255.252 serial 0/0
R3(config)#ip route 192.168.1.0 255.255.255.252 192.168.1.5 

S 172.11.0.0/24 : R3 s0/0(192.168.1.6) -> R1 s0/1(192.168.1.5) -> R1 s0/0(192.168.1.1) -> R2 s0/0(192.168.1.2) -> R2 f0/0(172.11.0.1) -> PC1(172.11.0.2)
R3(config)#ip route 172.11.0.0 255.255.255.0 serial 0/0
R3(config)#ip route 172.11.0.0 255.255.2550 192.168.1.5

Default Route

R2 Router <-----> R1 Router(Default Route) <-----> R2 Router

R1 Router(Default Route)
C 10.10.10.0/24
C 192.168.1.0/30
C 192.168.1.4/30

S 172.11.0.0/24 : R1 s0/0(192.168.1.1) -> R2 s0/0(192.168.1.2) -> R2 f0/0(172..11.0.1) -> PC1(172.11.0.2)
R1(config)#ip route 172.11.0.0 255.255.255.0 serial 0/0
R1(config)#ip route 172.11.0.0 255.255.255.0 192.168.1.2

S 172.12.0.0/24 : R1 s0/1(192.168.1.5) -> R3 s0/0(192.168.1.6) -> R3 f0/0(172.12.0.1) -> PC2(172.12.0.2)
R1(config)#ip route 172.12.0.0 255.255.255.0 serial 0/0
R1(config)#ip route 172.12.0.0 255.255.255.0 192.168.1.6

R2 Router
C 172.11.0.0/24
C 192.168.1.0/30

S*0.0.0.0/0 -> R1 : R2 s0/0(192.168.1.2) -> R1 s0/0(192.168.1.1)
R2(config)#ip route 0.0.0.0 0.0.0.0 serial 0/0
R2(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.1

R3 Router
C 172.12.0.0/24
C 192.168.1.4/30

S*0.0.0.0/0 -> R1 : R3 s0/0(192.168.1.6) -> R1 s0/1(192.168.1.5)
R3(config)#ip route 0.0.0.0 0.0.0.0 serial 0/0
R3(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.5
반응형

'공부(工夫) > CCNA' 카테고리의 다른 글

CCNA 13강 수업내용  (0) 2009.01.21
CCNA 12강 수업내용  (0) 2009.01.20
CCNA 11강 수업내용  (0) 2009.01.19
Static Route vs Dynamic Routing Protocol  (0) 2009.01.15
CCNA 8강 SecureCRT를 이용한 라우터 설정  (0) 2009.01.14
CCNA 7강 실습내용  (0) 2009.01.13