시스코
-
[네트워크] 35. BGP (eBGP)네트워크 2024. 1. 15. 20:24
이 게시물은 킹 오브 네트워킹 (피터전)을 공부한 내용을 바탕으로 작성됨. BGP(Border Gateway Protocol) BGP는 서로 다른 조직(AS)의 네트워크를 연결할 때 사용하는 라우팅 프로토콜이다. 예를 들어 서로 다른 두 ISP(Internet Service Provider) network를 연결할 때 사용된다. BGP를 사용할 때 link 한 개를 사용하는 방식을 single homing이라고 하고, 여러 개를 사용하는 방식을 multi homing이라고 한다. 실전에서는 대부분 multi homing을 사용하지만 우리는 입문자이므로 single homing을 이용한 실습을 해본다. 또한 BGP에서는 조직 당 하나의 BGP number가 부여되는데, 이 번호를 AS(Autonomous ..
-
[네트워크] 22. HSRP, NAT, WAN네트워크 2024. 1. 2. 15:38
이 게시물은 후니의 쉽게 쓴 CISCO 네트워킹 4판을 공부한 내용을 바탕으로 작성됨. HSRP (Hot Standby Routing Protocol) 라우터 장애 대비를 위한 HSRP에 대해 알아보도록 하자. HSRP는 시스코 장비에서만 사용되는 시스코 전용 프로토콜이다. 위처럼 구성된 네트워크가 있다고 해보자. 라우터 한 대가 고장났을 때 나머지 한 대를 이용하여 통신을 계속 사용할 수 있도록 하기 위하여 라우터를 두 대로 구성하였다. PC에서 인터넷을 사용하기 위해서는 Default Gateway를 지정해준다. Default Gateway는 네트워크에서 목적지를 찾는 데 실패하는 경우에 가장 먼저 길을 물어보려 달려가는 라우터이다. 여기서 Defalut Gateway를 A에 설정했다고 가정하자. 그..
-
[네트워크] 16. 패킷트레이서 기초 실습네트워크 2023. 12. 29. 13:26
패킷트레이서로 배우는 CCNA (01강) (youtube.com) 이 게시글은 계영수 강사님의 패킷트레이서로 배우는 CCNA를 따라 공부한 내용을 바탕으로 작성하였다. 후니 네트워크 교재에서 (패킷트레이서 or GNS3을 이용한) 실습 내용이 계속 등장하는데 한 번 따라하고 복습을 안했더니 어느 시점부터 따라가기 어려워졌다. 이왕 공부하는 거 제대로 해보자는 마음으로 계영수 강사님의 기초 강의를 차근차근 따라해보며 그 내용을 기록해보겠다. 이번 강의에서의 목표는 위 네트워크를 구성하는 것이다. 먼저 ISR4321 라우터 두 개를 설치하고 서로 연결해주었다. 같은 두 장비를 연결할 때는 Cross (점선)으로 연결하는 것이 국룰인데 (서로 다른 장비는 Staright로 연), 최신 장비일수록 Straigh..
-
[네트워크] 12. 라우터 내부, 라우터 메모리, 기본 명령어네트워크 2023. 12. 26. 16:18
이 게시물은 후니의 쉽게 쓴 CISCO 네트워킹 4판을 공부한 내용을 바탕으로 작성됨. 라우터 내부 뜯어보기 라우터의 동작을 직접 살펴보기 전에, 라우터의 내부에 어떤것들이 있는지 그 기초부터 자세히 들여다보기로 한다. 여기서는 Cisco 2500 라우터를 기준으로 살펴본다. 2, 3, 4 번째에 있는 DB-15, DB-60은 각각 Ethernet Interface, Serial Interface를 나타낸다. RJ-45는 각각 콘솔 포트와 Auxiliary 포트를 나타낸다. 포트 이외에 라우터에는 RAM, NVRAM, Flash Memory, ROM이 장착되어 있다. ➜ Axuiliary port는 백업 라인을 구축하는 용도로 사용되는데, 거의 사용하는 경우가 없기 때문에 그냥 이런게 있다고만 알아두자...
-
[네트워크] 11. 라우터 Router네트워크 2023. 12. 26. 15:28
이 게시물은 후니의 쉽게 쓴 CISCO 네트워킹 4판을 공부한 내용을 바탕으로 작성됨. 라우터가 뭘까? 여기까지 왔으면 드디어 라우터를 배울 차례이다. 네트워크 관리자가 가장 자주 다루는 장비가 바로 라우터이다. 라우터는 네트워크 간 통신을 가능하게 해주며, Broadcast domain을 나눠주는 장비로 네트워크 업계에서 종사한다면 가장 많이 다루게 되는 장비이다. 라우터는 기본적으로 데이터를 목적지까지 효율적으로 전달하기 위한 길을 안내해주는 역할을 한다. 라우터가 자동으로 이런 기능을 수행하는 것은 아니다. 네트워크 관리자가 직접 라우터에 설정을 해줘야 효율적인 길을 찾을 수 있다. IPX, DECENT, AppleTalk등 여러 라우팅 프로토콜이 존재하지만 여기서는 IP 라우팅을 위주로 살펴본다...
-
[네트워크] 9. VLAN 패킷 트레이서 실습 1네트워크 2023. 12. 26. 11:13
이 게시물은 후니의 쉽게 쓴 CISCO 네트워킹 4판을 공부한 내용을 바탕으로 작성됨. VLAN (Virtual LAN) 패킷 트레이서 실습 앞전에서 배운 VLAN을 패킷 트레이서로 실습해본다. 먼저 책에서는 Catalyst 2950 스위치를 사용했다고 해서 나도 그 종류 중 하나인 2950T 스위치로 실습했는데 결과가 뭔가 다르다.. 책이 구버전이라 2023년 패킷트레이서와는 차이점이 있을수도? 되는데까지만 따라해서 이해해보도록 하자. 먼저 config mode에서 vtp ? 를 입력하여 vtp 뒤에 나올 수 있는 옵션을 확인해본다. VTP domain, mode, password, version을 설정할 수 있다고 한다. (책에서는 file, interface, pruning도 있는데 여기선 없다.)..
-
[네트워크] 8. VLAN네트워크 2023. 12. 24. 19:00
이 게시물은 후니의 쉽게 쓴 CISCO 네트워킹 4판을 공부한 내용을 바탕으로 작성됨. VLAN (Virtual LAN); 가상 랜 VLAN은 현재 스위치의 기능 중에서 가장 많이 사용되고 있는 아주 중요한 개념이다. 스위치의 등장 배경은 바로 Collision domain을 분할해 줄 무언가가 필요했기 때문이었다. 하지만 스위치는 Broadcast domain을 나눠줄 수는 없었고, 이를 해결하기 위해 반드시 Router를 연결해야만 했다. Router를 사용하지 않고도 Broadcast domain을 효율적으로 나누기 위해 VLAN이 개발되었다. VLAN은 Broadcast domain을 물리적이 아닌, 논리적으로 나눈다. 따라서 서로 물리적으로 다른 공간에 있는 device들도 VLAN을 통해 논리..
-
[네트워크] 6. 서브넷 마스크, 서브네팅네트워크 2023. 12. 23. 14:16
이 게시물은 후니의 쉽게 쓴 CISCO 네트워킹 4판을 공부한 내용을 바탕으로 작성됨. 서브넷 마스크 Subnet Mask - 무엇인가? class B 네트워크를 배정받았다고 생각해보자. class B는 네트워크 당 호스트 수가 65,534개로, 이를 그대로 사용하면 Broadcast domain이 상당히 커 실제 상황에서 이를 그냥 사용하는 것은 불가능하다. (6.5만개 호스트가 전부 같은 broadcast domain에 속한다고 생각해보라!) → 네트워크를 작게 쪼개주는 subnetting이 필요 예를 들어 class B 네트워크 150.150.0.0을 서브네팅 한다면 서브넷 마스크는 255.255.0.0에서 255.255.255.0이 되고, 150.150.1.0, 150.150.2.0 ... 으로 ..