구축환경
GNS3 - (https://www.gns3.com/software/download)
[가상링크 설정하기] - 루프백
라우터 아이디 설정하기 = 첫번째 라우터를 인식하는 아이디
****** Loop6 가장 높은 ip주소가 라우터 아이디이다.
논리 인터페이스: PC가 없어도 가상으로 만들어주는 것
논리인터페이스 만들기 (루프백)
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface lo 0
Router(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
Router(config-if)#ip address 20.20.20.20 255.255.255.0
Router(config-if)#exit
Router(config)#router ospf 1
Router(config-router)#network 20.20.20.0 0.0.0.255 area 0
reload: 장비자체가 재부팅
Router#clear ip ospf process (특정 프로세서만 재부팅)
관리자가 직접 라우터 ID 설정하는 방법
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#router-id 5.5.5.5
Router(config-router)#Reload or use "clear ip ospf process" command, for this to take effect
Virtual Link 추가
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#area 0 virtual-link
% Incomplete command.
Router(config-router)#area 0 virtual-link 1.1.1.1
area 0 virtual-link 1.1.1.1
network 192.168.128.0 0.0.15.255 area 0
sh run
router ospf 1
no ip 주소
no area 0 virtual-link 1.1.1.1
network 192.168.128.0 0.0.15.255 area 2
area 2 virtual-link 1.1.1.1
'정보보안실무 > 네트워크' 카테고리의 다른 글
Net.11 GNS3 FHRP(HSRP, VRRP, GLBP) 구축 및 설정 (0) | 2023.04.16 |
---|---|
Net.10 GNS3 OSPF <-> EIGRP 또는 RIP 재분배 (0) | 2023.04.16 |
Net.08 GNS3 OSPF로 라우팅 시키기 (0) | 2023.04.16 |
Net.07 GNS3 DHCP 구축 및 설정 (0) | 2023.04.16 |
Net.06 RIP <-> EIGRP 재분배 (0) | 2023.04.16 |