문제)

왼쪽LAN은 10.10.10.0/24 오른쪽 LAN은 20.20.20.0/24

라우터와 라우터 연결은 Serial 케이블 사용, 라우터 번호가 작은 쪽 DCE

HDLC, 1024, 라우터 간 네트워크는 임의로 설정(ex : 12.0.0.0/24)

라우팅은 OSPF 구성

왼쪽 LAN과 오른쪽 LAN의 PC 간 통신이 가능하도록


왼쪽 LAN
오른쪽 LAN
ping으로 확인해본 왼쪽, 오른쪽의 통신상태 good


R1 기본 설정 (이름바꾸기, 시리얼 설정)

Router>enable
Router#conf t
Router(config)#hostname R1     이름바꾸기
R1(config)#no ip domain-lookup
R1(config)#line console 0
R1(config-line)#logging synchronous
R1(config-line)#exec-timeout 0
R1(config-line)#exit

 

R1(config)#int
R1(config)#interface fastEthernet 0/0    Fa0/0
R1(config-if)#ip address 10.10.10.254 255.255.255.0
R1(config-if)#no shutdown 
R1(config-if)#exit
R1(config)#interface serial 0/0             Se0/0
R1(config-if)#encapsulation hdlc 
R1(config-if)#bandwidth 1024
R1(config-if)#clock rate  1024000
Unknown clock rate
R1(config-if)#clock rate ?
Speed (bits per second
  1200           
  2400           
  4800           
  9600           
  19200          
  38400          
  56000          
  64000          
  72000          
  125000         
  128000         
  148000         
  250000         
  500000         
  800000         
  1000000        (1024000이랑 제일 가까운거)
  1300000        
  2000000        
  4000000        
  <300-4000000>  Choose clockrate from list above
R1(config-if)#clock rate 1000000
R1(config-if)#ip address 12.0.0.1 255.255.255.0
R1(config-if)#no shutdown 
R1(config-if)#exit
R1(config)#interface serial 0/1                Se0/1
R1(config-if)#encapsulation hdlc 
R1(config-if)#bandwidth 1024
R1(config-if)#clock rate 1000000
R1(config-if)#ip address 13.0.0.1 255.255.255.0
R1(config-if)#no shutdown 
R1(config-if)#end
R1#wr me
Building configuration...
[OK]

R2 기본설정

Router>enable 
Router#conf t
Router(config)#hostname R2
R2(config)#no ip domain-lookup 
R2(config)#line console 0
R2(config-line)#logging synchronous 
R2(config-line)#exec-timeout 0
R2(config-line)#exit
R2(config)#interface serial 0/0            Se0/0
R2(config-if)#encapsulation hdlc 
R2(config-if)#bandwidth 1024
R2(config-if)#ip address 12.0.0.2 255.255.255.0
R2(config-if)#no shutdown 
R2(config-if)#exit
R2(config)#interface serial 0/1             Se0/1
R2(config-if)#clock rate 1000000
R2(config-if)#ip address 24.0.0.1 255.255.255.0
R2(config-if)#no sh
R2(config-if)#end
R2#wr me
Building configuration...
[OK]

R3 기본설정

Router>enable 
Router#conf t
Router(config)#hostname R3
R3(config)#no ip domain-lookup 
R3(config)#line console 0
R3(config-line)#logging sy
R3(config-line)#logging synchronous 
R3(config-line)#exec-timeout 0
R3(config-line)#exit
R3(config)#interface serial 0/0              Se0/0
R3(config-if)#encapsulation hdlc 
R3(config-if)#bandwidth 1024
R3(config-if)#ip address 13.0.0.2 255.255.255.0
R3(config-if)#no sh
R3(config-if)#exit
R3(config)#interface serial 0/1              Se0/1
R3(config-if)#encapsulation hdlc 
R3(config-if)#bandwidth 1024
R3(config-if)#clock rate 1000000
R3(config-if)#ip address 34.0.0.1 255.255.255.0
R3(config-if)#no shutdown 
R3(config-if)#end
R3#wr me
Building configuration...
[OK]
Router>enable 
Router#conf t
Router(config)#hostname R4
R4(config)#no ip domain-lookup 
R4(config)#line console 0
R4(config-line)#logging synchronous 
R4(config-line)#exec-timeout 0
R4(config-line)#exit
R4(config)#interface fastEthernet 0/0     Fa0/0
R4(config-if)#ip address 20.20.20.254 255.255.255.0
R4(config-if)#no shutdown 
R4(config-if)#exit
R4(config)#interface serial 0/0              Se0/0
R4(config-if)#encapsulation hdlc 
R4(config-if)#bandwidth 1024
R4(config-if)#ip address 24.0.0.2 255.255.255.0
R4(config-if)#no shutdown 
R4(config-if)#exit
R4(config)#interface serial 0/1              Se0/1
R4(config-if)#encapsulation hdlc 
R4(config-if)#bandwidth 1024
R4(config-if)#ip address 34.0.0.2 255.255.255.0
R4(config-if)#no shutdown 
R4#wr me
Building configuration...
[OK]

R1에서 R2와 R3의 연결 확인 
R4에서 연결 확인

이처럼 커넥트 네트워크 연결은 완성!


R1#SHOW IP ROUTE
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     10.0.0.0/24 is subnetted, 1 subnets
C       10.10.10.0 is directly connected, FastEthernet0/0
     12.0.0.0/24 is subnetted, 1 subnets
C       12.0.0.0 is directly connected, Serial0/0
     13.0.0.0/24 is subnetted, 1 subnets
C       13.0.0.0 is directly connected, Serial0/1

R1#conf t
R1(config)#router ospf 1
R1(config-router)#network 10.10.10.254 0.0.0.255 area 0
R1(config-router)#network 12.0.0.1 0.0.0.255 area 0
R1(config-router)#network 13.0.0.1 0.0.0.255 area 0
R1(config-router)#passive-interface fastEthernet 0/0
R1(config)#end
R1#wr me
Building configuration...
[OK]
R2#conf t
R2(config)#router ospf 1
R2(config-router)#network 12.0.0.2 0.0.0.255 area 0
R2(config-router)#network 24.0.0.1 0.0.0.255 area 0
R2(config-router)#network 24.0.0.1 0.0.0.255 area 0
R2(config-router)#end
R2#wr me
Building configuration...
[OK]
R3#conf t
R3(config)#router ospf 1
R3(config-router)#network 13.0.0.2 0.0.0.255 area 0
R3(config-router)#network 34.0.0.1 0.0.0.255 area 0
R3(config-router)#end
R3#wr me
Building configuration...
[OK]
R4#conf t
R4(config)#router ospf 1
R4(config-router)#network 20.20.20.254 0.0.0.255 area 0
R4(config-router)#network 24.0.0.2 0.0.0.255 area 0
R4(config-router)#network 34.0.0.2 0.0.0.255 area 0
R4(config-router)#passive-interface fastEthernet 0/0
R4(config-router)#end
R4# wr me
Building configuration...
[OK]
R4#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     10.0.0.0/24 is subnetted, 1 subnets
O       10.10.10.0 [110/195] via 24.0.0.1, 00:00:11, Serial0/0
                   [110/195] via 34.0.0.1, 00:00:11, Serial0/1
     12.0.0.0/24 is subnetted, 1 subnets
O       12.0.0.0 [110/194] via 24.0.0.1, 00:00:22, Serial0/0
     13.0.0.0/24 is subnetted, 1 subnets
O       13.0.0.0 [110/194] via 34.0.0.1, 00:00:11, Serial0/1
     20.0.0.0/24 is subnetted, 1 subnets
C       20.20.20.0 is directly connected, FastEthernet0/0
     24.0.0.0/24 is subnetted, 1 subnets
C       24.0.0.0 is directly connected, Serial0/0
     34.0.0.0/24 is subnetted, 1 subnets
C       34.0.0.0 is directly connected, Serial0/1

 


마지막으로 왼쪽, 오른쪽에 ping으로 확인

왼쪽 LAN 에서 오른쪽 IP 
오른쪽 LAN 에서 왼쪽 IP

 

'TEST > Packet Tracer' 카테고리의 다른 글

시험실습2 ACL 응용  (0) 2021.07.15
[Router] 실습  (0) 2021.07.03
[Router] 실습 #1  (0) 2021.06.29
[Router] 기본 실습  (0) 2021.06.29
[Packet Tracer] Switch 통신 실습  (0) 2021.06.27

- PC 4대
 Network 영역 : 192.168.10.0/24
 할당 IP : 192.168.10.1 ~ 192.168.10.4
- 시나리오
 시뮬레이션 모드
 PC_11 에서 PC_13 으로 Ping Message 전송
 ICMP, ARP 메시지 전송 확인

'TEST > Packet Tracer' 카테고리의 다른 글

[Router] 실습  (0) 2021.07.03
[Router] 실습 #1  (0) 2021.06.29
[Router] 기본 실습  (0) 2021.06.29
[Packet Tracer] Hub 통신 실습 2  (0) 2021.06.27
[Packet Tracer] Hub 통신 실습  (0) 2021.06.27

총 6대의 PC를 하나의 네트워크로 연결
3대의 Hub를 사용
각 허브는 2대의 PC연결, 허브끼리 연결하여 6대 PC모두 통신 가능
주소는 192.168.0.1 ~ 192.168.0.6

'TEST > Packet Tracer' 카테고리의 다른 글

[Router] 실습  (0) 2021.07.03
[Router] 실습 #1  (0) 2021.06.29
[Router] 기본 실습  (0) 2021.06.29
[Packet Tracer] Switch 통신 실습  (0) 2021.06.27
[Packet Tracer] Hub 통신 실습  (0) 2021.06.27

- PC 4대
   Network 영역 : 192.168.10.0/24
   할당 IP : 192.168.10.1 ~ 192.168.10.4
- 시나리오
   시뮬레이션 모드
   HOST_A에서 HOST_B로 Ping Message 전송
   ICMP 메시지 전송 확인


PC 4대를 설치한다

 

PC 클릭 > Desktop > 수정 

IP Address는 192.168.0.1~192.168.0.4 

 

PC 클릭 > Desktop > Command Prompt. 현재 컴퓨터에 출력되는 IP 확인
통신하고자하는 컴터랑 통신이 되는지 확인 (연결 전)
통신하고자하는 컴터랑 통신이 되는지 확인 (연결 후) (+PC와 PC는 페스트이더넷으로 연결)
Simulation > Edit Fiters > ICMP
실행 화면
4대를 허브와 함께 연결한 후 실행
시뮬레이션 한 결과

'TEST > Packet Tracer' 카테고리의 다른 글

[Router] 실습  (0) 2021.07.03
[Router] 실습 #1  (0) 2021.06.29
[Router] 기본 실습  (0) 2021.06.29
[Packet Tracer] Switch 통신 실습  (0) 2021.06.27
[Packet Tracer] Hub 통신 실습 2  (0) 2021.06.27

+ Recent posts