라우터 명령어 관련 설명
03. Network : Cisco Packet Tracer 네트워크 구성
1. Router 1.1. Router CLI 모드 Router> : user mode (ping 등 약간의 확인만 가능, 일반 사용자 모드) Router# : Privilege Mode 관리자 모드, 특권모드 (Show run 라우터 설정확인, write 저장) Router(config)..
mh-itstudy.tistory.com
문제 1
50.50.50.0/24
1. 서버는 네트워크 첫번째 IP
2. PC는 네트워크 두번째 IP
3. 게이트웨이는 네트워크 마지막 IP
4. DNS는 서울 서버의 IP
5. Static Routing 사용
6. 라우터 기본 설정 모두 하기
1.1. Seoul_R1 설정
Router>en Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname Seoul_R1 Seoul_R1(config)#enable password babo1 Seoul_R1(config)#enable secret babo2 Seoul_R1(config)#no ip domain-lookup Seoul_R1(config)#service password-encryption Seoul_R1(config)#line con 0 Seoul_R1(config-line)#password babo3 Seoul_R1(config-line)#login Seoul_R1(config-line)#exec-timeout 0 0 Seoul_R1(config-line)#logging synchronous Seoul_R1(config-line)#exit Seoul_R1(config)#interface FastEthernet 0/0 Seoul_R1(config-if)#ip address 50.50.50.126 255.255.255.128 Seoul_R1(config-if)#no shutdown Seoul_R1(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up Seoul_R1(config-if)#exit Seoul_R1(config)#inter Seoul_R1(config)#interface serial 0/0 Seoul_R1(config-if)#ip add Seoul_R1(config-if)#ip address 50.50.50.193 255.255.255.192 Seoul_R1(config-if)#clock rate 4000000 Seoul_R1(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0, changed state to down Seoul_R1(config-if)#exit Seoul_R1(config)#ip route 50.50.50.128 255.255.255.192 50.50.50.194 Seoul_R1(config)#do wr |
1.2. Busan_R1 설정
Router>en Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname Busan_R1 Busan_R1(config)#enable password babo1 Busan_R1(config)#enable secret babo2 Busan_R1(config)#no ip domain-lookup Busan_R1(config)#service password-encryption Busan_R1(config)#line con 0 Busan_R1(config-line)#password babo3 Busan_R1(config-line)#exec-timeout 0 0 Busan_R1(config-line)#logging synchronous Busan_R1(config-line)#exit Busan_R1(config)#interface FastEthernet 0/0 Busan_R1(config-if)#ip address 50.50.50.190 255.255.255.192 Busan_R1(config-if)#no shutdown Busan_R1(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up Busan_R1(config-if)#exit Busan_R1(config)#interface serial 0/0 Busan_R1(config-if)#ip address 50.50.50.194 255.255.255.192 Busan_R1(config-if)#no shutdown Busan_R1(config-if)# %LINK-5-CHANGED: Interface Serial0/0, changed state to up Busan_R1(config-if)#exit Busan_R1(config)#ip route 50.50.50.0 255.255.255.128 50.50.50.193 Busan_R1(config)#do wr |
문제 2
100.100.100.0/0
1. 서버는 네트워크 첫번째 IP
2. PC는 네트워크 두번째 IP
3. 게이트웨이는 네트워크 마지막 IP
4. DNS는 서울 서버의 IP
5. Static Routing 사용
6. 라우터 기본 설정 모두 하기
2.1. Seoul_R1 설정
en conf t hostname Seoul_R1 enable password babo1 enable secret babo2 no ip domain-l ser password-encryption line con 0 password babo3 login exec-t 0 0 logging synchronous exit line vty 0 4 password babo4 login exit int f0/0 ip add 100.100.100.241 255.255.255.240 no shutdown exit int f0/1 ip add 100.100.100.126 255.255.255.128 no shutdown exit ip route 100.100.100.128 255.255.255.192 100.100.100.242 ip route 100.100.100.192 255.255.255.224 100.100.100.243 ip route 100.100.100.224 255.255.255.240 100.100.100.244 do wr |
2.2. Busan_R1 설정
en conf t hostname Busan_R1 enable password babo1 enable secret babo2 no ip domain-l ser password-encryption line con 0 password babo3 login exec-t 0 0 logging synchronous exit line vty 0 4 password babo4 login exit int f0/0 ip add 100.100.100.242 255.255.255.240 no shutdown exit int f0/1 ip add 100.100.100.190 255.255.255.192 no shutdown exit ip route 100.100.100.0 255.255.255.128 100.100.100.241 ip route 100.100.100.192 255.255.255.224 100.100.100.243 ip route 100.100.100.224 255.255.255.240 100.100.100.244 do wr |
2.3. Daegu_R1 설정
en conf t hostname Daegu_R1 enable password babo1 enable secret babo2 no ip domain-l ser password-encryption line con 0 password babo3 login exec-t 0 0 logging synchronous exit line vty 0 4 password babo4 login exit int f0/0 ip add 100.100.100.243 255.255.255.240 no shutdown exit int f0/1 ip add 100.100.100.222 255.255.255.224 no shutdown exit ip route 100.100.100.0 255.255.255.128 100.100.100.241 ip route 100.100.100.128 255.255.255.192 100.100.100.242 ip route 100.100.100.224 255.255.255.240 100.100.100.244 do wr |
2.4. Jeju_R1 설정
en conf t hostname Jeju_R1 enable password babo1 enable secret babo2 no ip domain-l ser password-encryption line con 0 password babo3 login exec-t 0 0 logging synchronous exit line vty 0 4 password babo4 login exit int f0/0 ip add 100.100.100.244 255.255.255.240 no shutdown exit int f0/1 ip add 100.100.100.238 255.255.255.240 no shutdown exit ip route 100.100.100.0 255.255.255.128 100.100.100.241 ip route 100.100.100.128 255.255.255.192 100.100.100.242 ip route 100.100.100.192 255.255.255.224 100.100.100.243 do wr |
문제 3
14.10.13.0/23
1. 서버는 네트워크 첫번째 IP
2. PC는 네트워크 두번째 IP
3. 게이트웨이는 네트워크 마지막 IP
4. DNS는 서울 서버의 IP
5. Static Routing 사용
6. 라우터 기본 설정 모두 하기
3.1. Seoul_R1 설정
en conf terminal hostname Seoul_R1 enable password babo1 enable secret babo2 no ip domain-lookup service password-encryption line con 0 password babo3 login exec-time 0 0 logging synchronous exit line vty 0 4 password babo4 login exit int FastEthernet 0/0 ip add 14.10.12.126 255.255.255.128 no shutdown exit int serial 0/0 ip add 14.10.13.193 255.255.255.252 clock rate 4000000 no shutdown exit ip route 14.10.12.128 255.255.255.128 14.10.13.194 ip route 14.10.13.0 255.255.255.128 14.10.13.194 ip route 14.10.13.128 255.255.255.192 14.10.13.194 ip route 14.10.13.196 255.255.255.252 14.10.13.194 ip route 14.10.13.200 255.255.255.252 14.10.13.194 do wr |
3.2. Busan_R1 설정
en conf terminal hostname Busan_R1 enable password babo1 enable secret babo2 no ip domain-lookup service password-encryption line con 0 password babo3 login exec-time 0 0 logging synchronous exit line vty 0 4 password babo4 login exit int FastEthernet 0/0 ip add 14.10.12.254 255.255.255.128 no shutdown exit int serial 0/0 ip add 14.10.13.194 255.255.255.252 no shutdown exit int serial 0/1 ip add 14.10.13.197 255.255.255.252 clock rate 4000000 no shutdown exit ip route 14.10.12.0 255.255.255.128 14.10.13.193 ip route 14.10.13.0 255.255.255.128 14.10.13.198 ip route 14.10.13.128 255.255.255.192 14.10.13.198 ip route 14.10.13.200 255.255.255.252 14.10.13.198 do wr |
3.3. Daegu_R1 설정
en conf terminal hostname Daegu_R1 enable password babo1 enable secret babo2 no ip domain-lookup service password-encryption line con 0 password babo3 login exec-time 0 0 logging synchronous exit line vty 0 4 password babo4 login exit int FastEthernet 0/0 ip add 14.10.13.126 255.255.255.128 no shutdown exit int serial 0/0 ip add 14.10.13.198 255.255.255.252 no shutdown exit int serial 0/1 ip add 14.10.13.201 255.255.255.252 clock rate 4000000 no shutdown exit ip route 14.10.12.0 255.255.255.128 14.10.13.197 ip route 14.10.12.128 255.255.255.128 14.10.13.197 ip route 14.10.13.192 255.255.255.252 14.10.13.197 ip route 14.10.13.128 255.255.255.252 14.10.13.202 do wr |
3.4. Jeju_R1 설정
en conf terminal hostname Jeju_R1 enable password babo1 enable secret babo2 no ip domain-lookup service password-encryption line con 0 password babo3 login exec-time 0 0 logging synchronous exit line vty 0 4 password babo4 login exit int FastEthernet 0/0 ip add 14.10.13.190 255.255.255.192 no shutdown exit int serial 0/0 ip add 14.10.13.202 255.255.255.252 no shutdown exit ip route 14.10.12.0 255.255.255.128 14.10.13.201 ip route 14.10.12.128 255.255.255.128 14.10.13.201 ip route 14.10.13.0 255.255.255.128 14.10.13.201 ip route 14.10.13.192 255.255.255.252 14.10.13.201 ip route 14.10.13.196 255.255.255.252 14.10.13.201 do wr |
'Network' 카테고리의 다른 글
06. Network : Switch (0) | 2022.04.19 |
---|---|
05. Network : 패킷 구조 (ARP) (0) | 2022.04.19 |
03. Network : Cisco Packet Tracer 네트워크 구성 (0) | 2022.03.15 |
02. Network : Subnetting (0) | 2022.03.15 |
01. Network : 개념 및 OSI 7계층 (0) | 2022.03.15 |