본문 108 슬라이드 · 강의 시간 약 150분 · TA(Technical Architect) 양성 과정
강사 박수현 · 🚀 젠아이랩스(GenAI Labs)
🎨 이미지 프롬프트: "Editorial wide cinematic illustration on dark navy background — a large wooden desk overhead view; on the desk sit thick coiled Cat 6a U/FTP cables in teal jacket (with a small printed label 'Cat 6a U/FTP · 10GBASE-T · 100m · 802.3an') and a coil of OS2 SM 9/125µm yellow fiber patch cords plus an aqua OM4 MM 50/125µm duplex; a tray of pluggable optical modules glinting under warm lamplight — 'Cisco SFP-10G-SR', 'Finisar QSFP28-100G-SR4', 'Arista QSFP-DD-400G-DR4', 'OSFP-800G 2×400GBASE-DR4' — each with a tiny printed PN sticker and matching DOM label; a printed OSI 7-layer cheat sheet next to an IEEE 802.3 timeline (802.3ae 10G · 802.3by 25G · 802.3bs 200/400G · 802.3df 800G); a folded network topology blueprint showing Core / Aggregation / Access (Catalyst 9500 · 9400 · 9300-48P) and Spine-Leaf (Nexus 9336C-FX2 · Arista 7050X3) side by side with port-channel and ECMP annotations; a small toy-sized 1RU rack switch labeled 'Cisco Catalyst 9300-48P' with blinking green/amber link LEDs and a console RJ45 dongle; a 1m SFP28 Twinax DAC coiled beside an LC duplex pair; a protocol-stack notepad with a hand-drawn TCP 3-way handshake (SYN / SYN-ACK / ACK) plus a sticky note showing
Switch# show ip interface briefoutput; soft cinematic light, teal #00b894 and purple #6c5ce7 accents, 16:9"

Session 4 · Day 1 — TA가 알아야 할 네트워크 전 계층 한 권
네트워크는 7계층 · 100+ 프로토콜 · 수십 가지 장비의 약속 집합. TA는 이 약속을 다이어그램·표·결정 매트릭스로 풀어낸다.
7개 계층의 약속이 모여 우리가 보는 모든 통신이 된다.
암기 트릭: "All People Seem To Need Data Processing" (위→아래) — Please Do Not Touch Steve's Pet Alligator (아래→위).

OSI 7 Layer 스택 (삽화)
| TCP/IP 계층 | OSI 매핑 | 대표 프로토콜 | 대표 장비 |
|---|---|---|---|
| Application | L5+L6+L7 | HTTP·HTTPS·DNS·DHCP·SMTP·SSH·FTP·LDAP·SNMP | LB(L7)·WAF·Proxy |
| Transport | L4 | TCP·UDP·SCTP·QUIC | LB(L4)·Firewall |
| Internet | L3 | IP·ICMP·ARP*·OSPF·BGP | Router·L3 Switch |
| Network Access | L1+L2 | Ethernet·WiFi·PPP·VLAN(802.1Q)·MAC | L2 Switch·Hub·AP·케이블·SFP |
현장에서는 TCP/IP 4 계층이 실제 표준. OSI 7 계층은 개념·교육·트러블슈팅 용어. ARP는 L2와 L3의 경계.
| 계층 | 추가되는 헤더 | 데이터 단위 |
|---|---|---|
| L7~L5 | Application 헤더 | Data |
| L4 | TCP/UDP 헤더 (Src/Dst Port) | Segment (TCP) / Datagram (UDP) |
| L3 | IP 헤더 (Src/Dst IP·TTL·Protocol) | Packet |
| L2 | Ethernet 헤더 (Src/Dst MAC·EtherType) + FCS | Frame |
| L1 | (헤더 없음) | Bit (전기·광·전파) |
| OSI 계층 | 데이터 단위 | 주요 장비 | 핵심 결정 |
|---|---|---|---|
| L7 | Data | WAF · L7 LB · API Gateway · Reverse Proxy | URL/Header 라우팅·SSL Term |
| L6 | Data | TLS Offloader · HSM | 인증서·암호 스위트 |
| L5 | Data | (특수) | RPC·SMB 세션 |
| L4 | Segment | L4 LB · Firewall · NAT GW | 5-Tuple·Connection Track |
| L3 | Packet | Router · L3 Switch · IPS · VPN GW | 라우팅 테이블·ACL |
| L2 | Frame | L2 Switch · Bridge · Wireless AP | MAC 테이블·VLAN |
| L1 | Bit | Hub · Repeater · Media Converter · 케이블·광 모듈 | 거리·속도·물리 표준 |
현장 단순화: L1 = 케이블/광, L2 = 스위치, L3 = 라우터, L4 = 방화벽/L4 LB, L7 = WAF/L7 LB. 장애 격리도 이 5개 축으로 나눠 본다.
물리 표준이 잘못되면 그 위의 모든 계층이 무너진다.
| 표준 | 최대 속도 | 최대 거리 | 주파수 | 차폐 | 주 용도 |
|---|---|---|---|---|---|
| Cat 5e | 1 Gbps | 100m | 100 MHz | UTP | 일반 사무 (구식) |
| Cat 6 | 1 Gbps (100m) / 10 Gbps (55m) | 100m / 55m | 250 MHz | UTP/STP | 표준 사무실 |
| Cat 6a ⭐ | 10 Gbps | 100m | 500 MHz | F/UTP·STP | 데이터센터 ToR 표준 |
| Cat 7 | 10 Gbps | 100m | 600 MHz | S/FTP (개별·전체 차폐) | 산업·고간섭 환경 |
| Cat 7a | 10 Gbps | 100m | 1000 MHz | S/FTP | 특수 (드물게 사용) |
| Cat 8 | 25/40 Gbps | 30m | 2000 MHz | S/FTP | 데이터센터 단거리 (Server↔ToR) |
현장 표준 결정: 사무 = Cat 6, 데이터센터 ToR = Cat 6a, 단거리 25/40G = Cat 8 또는 DAC, 25G 이상 장거리 = 광 (Fiber).
| 환경 | 추천 |
|---|---|
| 일반 사무실 | UTP Cat 6 |
| 데이터센터 일반 | F/UTP Cat 6a |
| 산업·공장·송전소 인근 | S/FTP Cat 6a/7 |
| 의료 영상·고감도 측정실 | S/FTP Cat 7 |
| 데이터센터 25/40G 단거리 | S/FTP Cat 8 또는 DAC |
현장 메모: 한국 공공 사업은 화재·차폐 등급 (CMP·CMR·LSZH) 도 함께 명시되는 경우가 많음.
🎨 이미지 프롬프트: "Editorial cross-section comparison illustration on dark navy background — four labeled cable cutaway panels in a 2x2 grid showing twisted-pair shielding constructions: (1) 'UTP' Cat 6 with 4 unshielded twisted copper pairs in colored insulation (blue, orange, green, brown) wrapped in a thin gray PVC jacket; (2) 'F/UTP (FTP)' Cat 6a with the same 4 pairs wrapped together by a single aluminum foil sheath and a thin drain wire, teal outer jacket; (3) 'S/UTP (STP)' showing 4 pairs encased in a braided copper shield mesh, black jacket; (4) 'S/FTP' Cat 7 — each individual twisted pair wrapped in its own aluminum foil, all four foil-wrapped pairs then enclosed by an outer braided copper shield, LSZH purple jacket. Each panel shows a clean engineering cutaway with thin callout lines labeling 'Conductor 23 AWG', 'Pair Foil', 'Overall Braid Shield', 'Drain Wire', 'Outer Jacket'. Bottom strip lists 'IEC 61156 / ISO/IEC 11801' and EMI rejection bars (UTP low → S/FTP high). Soft technical lighting, monospaced labels, teal #00b894 and purple #6c5ce7 accents, 16:9"

차폐 구조 — UTP · FTP · STP · S/FTP
| 구분 | Single-Mode (SM) | Multi-Mode (MM) |
|---|---|---|
| 코어 / 클래드 | 9 / 125 μm | 50 / 125 μm (또는 62.5) |
| 광원 | Laser (1310/1550 nm) | LED/VCSEL (850/1300 nm) |
| 최대 거리 | 10 km ~ 80 km+ | 100m ~ 550m |
| 대역폭·속도 | 100G/400G/800G 장거리 | 10G/40G/100G 단거리 |
| 케이블 색상 | 노란색 | OM3 아쿠아·OM4 아쿠아·OM5 라임그린 |
| 단가 | 광원 비싸지만 케이블 저렴 | 광원 저렴, 케이블 약간 비쌈 |
| 용도 | DC 간·캠퍼스·WAN | 데이터센터 내 단거리 |
| 등급 | 색상 | 10G | 40G | 100G | 비고 |
|---|---|---|---|---|---|
| OM1 (62.5/125) | Orange | 33m | — | — | 구식 |
| OM2 (50/125) | Orange | 82m | — | — | 구식 |
| OM3 | Aqua | 300m | 100m | 70m | 표준 |
| OM4 | Aqua | 400m | 150m | 100m | DC 표준 |
| OM5 | Lime Green | 550m | 440m | 150m | SWDM 지원 (신규) |
🎨 이미지 프롬프트: "Editorial fiber-optic cross-section illustration on dark navy background — split into two large side-by-side cutaway panels. Left panel 'Single-Mode (OS2)': yellow LSZH outer jacket with a 9µm glass core / 125µm cladding cross-section magnified in an inset circle; a horizontal ray-trace shows a single laser mode traveling in a nearly straight line down the core with label '1310 / 1550 nm Laser · DFB', tagged 'Reach 10 km — 80 km+ · 100G/400G/800G long-haul'. Right panel 'Multi-Mode (OM3 / OM4 / OM5)': aqua jacket (with a lime-green OM5 stripe) showing 50µm core / 125µm cladding; ray-trace shows multiple bouncing light modes reflecting off the core-cladding boundary at varying angles ('Modal dispersion'), labeled '850 nm VCSEL', tagged 'OM3 300m · OM4 400m · OM5 550m @ 10G · DC short-reach'. Below each panel small color swatches: yellow jacket vs aqua/lime jacket. Center divider lists IEC 60793-2 / ITU-T G.652 (SM) and G.651.1 (MM). Clean technical editorial style, thin callout lines, monospaced labels, teal #00b894 and purple #6c5ce7 accents, 16:9"

광 케이블 — Single-Mode vs Multi-Mode

광 모듈 라인업 (삽화)
| 모듈 | 속도 | 폼팩터 | 커넥터 | 등장 시기 | 주 용도 |
|---|---|---|---|---|---|
| SFP | 1 Gbps | Small | LC | 2001 | 1G 액세스 |
| SFP+ | 10 Gbps | Small | LC | 2009 | 현장 가장 흔함 |
| SFP28 | 25 Gbps | Small | LC | 2014 | 서버 NIC ↔ ToR |
| SFP56 | 50 Gbps | Small | LC | 2018 | 신규·드물게 |
| QSFP+ | 40 Gbps (4×10G) | Quad | MPO 또는 LC×4 | 2010 | DC Aggregation |
| QSFP28 | 100 Gbps (4×25G) | Quad | MPO 또는 LC | 2015 | DC Spine 표준 |
| QSFP56 | 200 Gbps | Quad | MPO | 2018 | 고밀도 DC |
| QSFP-DD | 400 Gbps (8×50G) | Double Density | MPO-16 | 2019 | 차세대 Spine |
| OSFP | 800 Gbps | Octal SFP | MPO-16 | 2022 | AI/GPU 클러스터 |
| OSFP-XD | 1.6 Tbps | XD | MPO | 2025+ | 초대형 AI |
모듈 = NIC와 스위치의 약속. 같은 SFP+ 슬롯이라도 벤더 정품/호환 코드가 다르면 작동 안 함 — BOM에 벤더 PN(Part Number) 정확히 명시.
| 약자 | 풀네임 | 거리 | 광 종류 | 파장 | 비고 |
|---|---|---|---|---|---|
| SR | Short Reach | 100m (OM4) / 70m (OM3) | MM | 850 nm | DC 내부 표준 |
| LR | Long Reach | 10 km | SM | 1310 nm | 캠퍼스·DC 간 |
| ER | Extended Reach | 40 km | SM | 1550 nm | WAN |
| ZR | Z Reach | 80 km | SM | 1550 nm | 광역 WAN |
| ZR+ | 확장 ZR | 120 km+ | SM | Coherent | 차세대 광역 |
| 표준 | 속도 | 매체 | 거리 |
|---|---|---|---|
| 100GBASE-SR4 | 100G | MM (MPO) | 100m |
| 100GBASE-LR4 | 100G | SM (LC) | 10km |
| 100GBASE-ER4 | 100G | SM (LC) | 40km |
| 400GBASE-SR8 | 400G | MM (MPO-16) | 100m |
| 400GBASE-LR4 | 400G | SM (LC) | 10km |
| 400GBASE-ZR | 400G | SM (Coherent) | 80~120km |
| 시나리오 | 거리 | 속도 | 권고 매체 | 이유 |
|---|---|---|---|---|
| 사무실 ↔ 액세스 SW | <100m | 1G | Cat 6 | 가성비, 1G가 충분 |
| 사무실 ↔ 액세스 SW (신규) | <100m | 10G | Cat 6a | 미래 대비 |
| 데이터센터 Server ↔ ToR | <3m | 10/25G | DAC (Direct Attach Copper) | 저전력·저지연·저비용 |
| Server ↔ ToR (랙 내) | <5m | 25G | Cat 8 또는 DAC | 단거리 표준 |
| ToR ↔ Spine (랙 간) | <100m | 100G | OM4 MPO + SR4 | 데이터센터 표준 |
| DC 동·층간 | 100m~10km | 100G | SM LC + LR4 | 거리 확장 |
| DC ↔ DC (50km) | 10~80km | 100G | SM + ER4 | 캠퍼스 |
| WAN 광역 (서울↔부산) | 80km+ | 100G/400G | SM + ZR 또는 통신사 회선 | 장거리 |
| AP ↔ 단말 (무선) | 실내 | WiFi 6E/7 | 무선 | 모빌리티 |
무선은 유선의 보조가 아니라, 사무실·캠퍼스의 1차 액세스 매체다.
| 표준 | 브랜드 | 연도 | 주파수 | 최대 속도 (이론) | 채널 폭 |
|---|---|---|---|---|---|
| 802.11a | (Wi-Fi 1/2 없음) | 1999 | 5 GHz | 54 Mbps | 20 MHz |
| 802.11b | (구식) | 1999 | 2.4 GHz | 11 Mbps | 22 MHz |
| 802.11g | (구식) | 2003 | 2.4 GHz | 54 Mbps | 20 MHz |
| 802.11n | Wi-Fi 4 | 2009 | 2.4 / 5 GHz | 600 Mbps | 20/40 MHz |
| 802.11ac | Wi-Fi 5 | 2014 | 5 GHz | ~3.5 Gbps | 20/40/80/160 MHz |
| 802.11ax | Wi-Fi 6 | 2019 | 2.4 / 5 GHz | ~9.6 Gbps | 20/40/80/160 MHz |
| 802.11ax | Wi-Fi 6E | 2021 | + 6 GHz | ~9.6 Gbps | 20~160 MHz |
| 802.11be | Wi-Fi 7 | 2024 | 2.4/5/6 GHz | ~46 Gbps | 320 MHz, 4K-QAM, MLO |
현재 기업 표준: 신규 = Wi-Fi 6/6E, 2026~ = Wi-Fi 7. 단말이 지원해야 의미 있음 (iPhone 16·Galaxy S24 부터 Wi-Fi 7).
| 대역 | 채널 수 | 거리·관통성 | 간섭 | 속도 | 비고 |
|---|---|---|---|---|---|
| 2.4 GHz | 3개 (1·6·11) | 멀리·잘 통과 | 심함 (BT·전자레인지·이웃 AP) | 낮음 | IoT·구식 단말 |
| 5 GHz | 25개+ | 중간 | 중간 (DFS 채널 일부) | 높음 | 사무·기업 표준 |
| 6 GHz ⭐ | 59개 (20MHz) | 짧음·관통 약함 | 거의 없음 (신규 대역) | 최고 | Wi-Fi 6E/7 |
| 채널 폭 | 처리량 (이론) | 단점 |
|---|---|---|
| 20 MHz | 기준 | 가장 안정, 좁음 |
| 40 MHz | 2배 | 채널 절반 소모 |
| 80 MHz | 4배 | 간섭 심해짐 |
| 160 MHz | 8배 | 5/6 GHz 만 가능 |
| 320 MHz | 16배 | 6 GHz Wi-Fi 7 전용 |

WiFi 주파수·채널 (삽화)
| 표준 | 연도 | 암호 | 키 길이 | 취약점 | 현재 권고 |
|---|---|---|---|---|---|
| WEP | 1997 | RC4 | 64/128 | 수분 내 해독 | 즉시 폐기 |
| WPA | 2003 | TKIP | 128 | 알려진 취약점 | 사용 금지 |
| WPA2 | 2004 | AES-CCMP | 128 | KRACK(2017) | 패치 시 가능, 권고 X |
| WPA3 ⭐ | 2018 | AES-GCMP-256·SAE | 128/192 | (현재 안전) | 신규 표준 |
| 모드 | 키 방식 | 적합 |
|---|---|---|
| WPA2/3-Personal (PSK) | 사전 공유 키 (Wi-Fi 비밀번호) | 가정·소규모 |
| WPA2/3-Enterprise (802.1X) | EAP + RADIUS | 기업·캠퍼스 표준 |
| 방식 | 인증 요소 | 비고 |
|---|---|---|
| EAP-TLS | 클라이언트·서버 인증서 양방향 | 가장 안전 |
| PEAP (MS) | 사용자명/비밀번호 + 서버 인증서 | 일반 기업 |
| EAP-TTLS | PEAP 변형 | 유닉스 진영 |
| EAP-FAST | Cisco PAC | 레거시 |
| 항목 | 가정용 | 엔터프라이즈 |
|---|---|---|
| 가격 | 5~20만 원 | 80~300만 원/대 |
| 단말 수용 | ~50 | 200+ |
| 802.1X | X | ⭕ |
| Roaming | 단순 | 802.11k/v/r 표준 |
| 컨트롤러 | (없음) | WLC 또는 Cloud Controller |
| 관리 | GUI | SNMP·CLI·API·NMS |
| 보안 | WPA2 | WPA2/3-Enterprise + RADIUS |
| 대표 | TP-Link·ASUS | Cisco · Aruba · Juniper Mist · Ruckus · 다산 |
🎨 이미지 프롬프트: "Editorial top-down office floor plan illustration on dark navy background — a wide rectangular open-plan office layout viewed from above showing desk clusters, meeting rooms, restrooms and a central corridor; 6 ceiling-mounted Wi-Fi access points (small white disc icons labeled 'AP-01' through 'AP-06') distributed evenly across the ceiling grid at roughly 12 m spacing with a thin annotation '≈ 12 m between APs'. Each AP radiates a soft circular Wi-Fi heatmap contour — bright teal core fading through cyan to dim purple at the edges, with overlapping coverage zones around the corridor; signal-strength legend at bottom-right shows '-50 dBm (strong) · -65 dBm · -75 dBm (weak)'. Channel labels above each AP follow the 2.4 GHz non-overlapping plan: 'CH 1', 'CH 6', 'CH 11', 'CH 1', 'CH 6', 'CH 11' arranged so no two adjacent APs share a channel. A small side panel notes 'Wi-Fi 6/6E · PoE++ · WPA3-Enterprise · 802.11k/v/r roaming'. Clean architectural editorial style, thin white grid lines, monospaced English labels, teal #00b894 and purple #6c5ce7 accents, 16:9"

AP 배치 원칙 — 간격 · 간섭 · 채널 계획
L2는 같은 브로드캐스트 도메인 안의 약속. 여기서 사고는 곧 폭풍이 된다.
┌─────────┬─────────┬─────────┬──────┬─────────────┬──────┐
│Preamble │ Dst │ Src │ Type │ Payload │ FCS │
│ + SFD │ MAC │ MAC │ │ 46~1500 B │ 4B │
│ 8 B │ 6 B │ 6 B │ 2 B │ │ │
└─────────┴─────────┴─────────┴──────┴─────────────┴──────┘
| 필드 | 크기 | 용도 |
|---|---|---|
| Preamble + SFD | 8 B | 동기화 비트 |
| Dst MAC | 6 B | 목적지 MAC 주소 |
| Src MAC | 6 B | 발신 MAC 주소 |
| EtherType | 2 B | 상위 프로토콜 (0x0800=IPv4, 0x86DD=IPv6, 0x8100=VLAN) |
| Payload | 46~1500 B | 실제 데이터 (기본 MTU 1500) |
| FCS (CRC32) | 4 B | 무결성 검사 |
MTU 1500 vs Jumbo Frame 9000 — 데이터센터 내부(스토리지·백업)는 Jumbo Frame 9000 으로 처리량 ↑. 단, 경로 전체가 동일 MTU 여야 함 (불일치 = 단편화).
00:50:56:AB:CD:EF
└──────┘└──────┘
OUI NIC
24bit 24bit
| 비트 | 용도 |
|---|---|
| 48bit 전체 | MAC 주소 (16진수 12자리) |
| 상위 24bit = OUI | IEEE 할당 제조사 식별자 |
| 하위 24bit | 제조사가 부여한 NIC 시리얼 |
| OUI | 제조사 | OUI | 제조사 |
|---|---|---|---|
| 00:50:56 | VMware | 00:15:5D | Microsoft (Hyper-V) |
| 00:0C:29 | VMware | F0:18:98 | Apple |
| 52:54:00 | QEMU/KVM | 00:1B:21 | Intel |
| 00:24:E8 | Dell | B8:27:EB | Raspberry Pi |
| 구분 | 정의 | 분할 장비 |
|---|---|---|
| Collision Domain | 충돌 가능한 영역 | Switch 포트마다 분리 (Hub는 1개) |
| Broadcast Domain | 브로드캐스트 전파 영역 | VLAN 또는 L3 라우터로 분리 |
| MAC | 학습 포트 | Aging |
|---|---|---|
| AA | Port 1 | 300s |
| BB | Port 2 | 300s |
| CC | Port 3 | 300s |
| 종류 | 방향 | 용도 |
|---|---|---|
| ARP | IP → MAC | "이 IP의 MAC은?" — 브로드캐스트 질의 |
| RARP | MAC → IP | 디스크리스 부팅 (거의 안 씀, BOOTP/DHCP로 대체) |
| GARP (Gratuitous ARP) | Self → Self | "나 이 IP·MAC 쓴다" — HA 절체·중복 IP 탐지 |
| Proxy ARP | 라우터가 대리 응답 | 같은 서브넷처럼 통신 (구식·문제 소지) |
PC1 (10.0.0.1) → 브로드캐스트: "Who has 10.0.0.5?"
↓
PC2 (10.0.0.5) → 유니캐스트 응답: "I am 10.0.0.5, MAC=BB:..."
↓
PC1 ARP 캐시에 (10.0.0.5, BB:...) 저장 (TTL 약 4시간)
보안 위협 — ARP Spoofing: 공격자가 GARP 위조 발송 → 트래픽 중간 가로채기. 대응: Dynamic ARP Inspection (DAI) + DHCP Snooping 바인딩 테이블 + L3 ARP Inspection ACL.
| 속도 | Cost (Long) |
|---|---|
| 10 Mbps | 2,000,000 |
| 100 Mbps | 200,000 |
| 1 Gbps | 20,000 |
| 10 Gbps | 2,000 |
| 100 Gbps | 200 |
| 역할 | 설명 |
|---|---|
| Root Port (RP) | Root로 가는 최단 경로 포트 (스위치당 1개) |
| Designated Port (DP) | 한 세그먼트(케이블)당 1개의 Forwarding 포트 |
| Blocked / Non-Designated | 루프 방지를 위해 차단된 포트 |
802.1D STP 수렴 = 30~50초 → 사용자 입장에선 "끊김". 그래서 등장한 것이 RSTP·MSTP.

STP 토폴로지 (삽화)
| 벤더 | 명칭 |
|---|---|
| 표준 (IEEE) | LAG (Link Aggregation Group) |
| Cisco | Port-Channel / EtherChannel |
| Juniper | AE (Aggregated Ethernet) |
| Linux Bonding | mode=4 (802.3ad) |
일반 Ethernet 프레임:
[ Dst MAC | Src MAC | Type=0x0800(IPv4) | Payload | FCS ]
VLAN 태그가 추가된 802.1Q 프레임:
[ Dst MAC | Src MAC | Type=0x8100(VLAN) | VLAN ID(12bit) + PCP(3bit) + DEI(1bit) | Type=0x0800 | Payload | FCS ]
└────────────────── 4 bytes ──────────────────┘
| 포트 종류 | 특징 |
|---|---|
| Access Port | 단일 VLAN, 태그 제거하고 단말에 전달 |
| Trunk Port | 다중 VLAN, 태그 유지하고 다음 SW로 전달 |
| Native VLAN | Trunk 포트에서 태그 없이 전달되는 VLAN (기본 VLAN 1) |
| Voice VLAN | IP 전화 전용 자동 할당 VLAN |
! ── 액세스 SW: VLAN 10 (Sales) / VLAN 20 (Engineer) 생성 ──
Switch> enable
Switch# configure terminal
Switch(config)# vlan 10
Switch(config-vlan)# name SALES
Switch(config-vlan)# exit
Switch(config)# vlan 20
Switch(config-vlan)# name ENG
Switch(config-vlan)# exit
! ── 단말 포트 (Gi1/0/1) 를 VLAN 10 액세스 포트로 ──
Switch(config)# interface GigabitEthernet1/0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 10
Switch(config-if)# spanning-tree portfast
Switch(config-if)# spanning-tree bpduguard enable
Switch(config-if)# exit
! ── 업링크 (Gi1/0/24) Trunk + Native VLAN 999 ──
Switch(config)# interface GigabitEthernet1/0/24
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport trunk allowed vlan 10,20,30
Switch(config-if)# switchport trunk native vlan 999
Switch(config-if)# end
! ── 확인 명령 ──
Switch# show vlan brief
Switch# show interface trunk
Switch# show interface GigabitEthernet1/0/1 switchport
Switch# show mac addres6-table dynamic vlan 10
Switch# write memory ! startup-config 저장
🎨 이미지 프롬프트: "Editorial terminal screenshot mockup on dark navy background — a wide retro green-on-black CRT-style PuTTY/iTerm window with a Cisco IOS XE prompt 'Switch(config)#' visible; window shows the configuration session creating VLAN 10 (name SALES) and VLAN 20 (name ENG), then descending into 'interface GigabitEthernet1/0/1' to set 'switchport mode access / switchport access vlan 10 / spanning-tree portfast / spanning-tree bpduguard enable', then into 'interface GigabitEthernet1/0/24' to set 'switchport mode trunk / switchport trunk encapsulation dot1q / switchport trunk allowed vlan 10,20,30 / switchport trunk native vlan 999', followed by a 'Switch# show vlan brief' output table with columns 'VLAN | Name | Status | Ports' filled with realistic values ('10 SALES active Gi1/0/1-12 / 20 ENG active Gi1/0/13-23 / 999 NATIVE-BLACKHOLE active —'), and a 'Switch# show interfaces trunk' snippet below showing Port Gi1/0/24, Mode on, Encapsulation 802.1q, Status trunking, Native vlan 999, Vlans allowed 10,20,30. Soft glow on the cursor, subtle scanlines, monospaced Consolas/Menlo font, a small terminal header bar reading 'ta@bastion: ~ — SSH 22 — Catalyst 9300-48P · IOS XE 17.9.4 (Cupertino)' (no vendor logo). A side post-it labeled '☑ portfast + bpduguard, Native VLAN 999 (VLAN Hopping 방어)'. Clean editorial mockup, teal #00b894 accents around the window frame, 16:9"
현장 팁: spanning-tree portfast + bpduguard enable 은 액세스 포트의 표준 세트. switchport trunk native vlan 999 로 Native VLAN 을 사용 안 하는 ID 로 옮겨 VLAN Hopping 방어.

Cisco IOS CLI — VLAN·Trunk 실제 명령
L3는 다른 네트워크를 잇는 약속. TA의 가장 큰 설계 결정이 여기 모인다.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Ver|IHL| ToS | Total Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Identification |Flags| Fragment Offset |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| TTL | Protocol | Header Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Source IP Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Destination IP Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Options (optional) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 필드 | 의미 |
|---|---|
| Version | 4 또는 6 |
| TTL | 라우터 통과 시 -1, 0이면 폐기 (Loop 방지) |
| Protocol | 상위 프로토콜 (1=ICMP, 6=TCP, 17=UDP, 47=GRE, 50=ESP) |
| Src/Dst IP | 발신·목적지 IP (각 4 bytes = 32bit) |
| Total Length | 최대 65535 |
| 클래스 | 범위 | 기본 마스크 | 호스트 수 |
|---|---|---|---|
| A | 0.0.0.0 ~ 127.255.255.255 | /8 | 16,777,214 |
| B | 128.0.0.0 ~ 191.255.255.255 | /16 | 65,534 |
| C | 192.0.0.0 ~ 223.255.255.255 | /24 | 254 |
| D | 224.0.0.0 ~ 239.255.255.255 | — | 멀티캐스트 |
| E | 240.0.0.0 ~ 255.255.255.255 | — | 예약/실험 |
10.0.0.0/22 = 4개 /24 = 1024 IP/24·/26·/30 혼합 가능| 대역 | 표기 | 호스트 수 | 용도 |
|---|---|---|---|
| 10.0.0.0/8 | 10.0.0.0 ~ 10.255.255.255 | 16,777,216 | 대규모 사설 |
| 172.16.0.0/12 | 172.16.0.0 ~ 172.31.255.255 | 1,048,576 | 중규모 사설 |
| 192.168.0.0/16 | 192.168.0.0 ~ 192.168.255.255 | 65,536 | 소규모·가정 |
| 100.64.0.0/10 | CGNAT 전용 | 4,194,304 | 통신사 CGNAT |
| 169.254.0.0/16 | Link-Local (APIPA) | — | DHCP 실패 시 |
| 127.0.0.0/8 | Loopback | — | 자기 자신 |
| 224.0.0.0/4 | Multicast | — | D 클래스 |
| 255.255.255.255 | Broadcast | — | 한정 브로드캐스트 |
| 주소 | 의미 |
|---|---|
| 0.0.0.0 | Default Route, "모든 IP" |
| 127.0.0.1 | localhost |
| 169.254.169.254 | (클라우드) 메타데이터 서비스 |
| 224.0.0.5 | OSPF AllSPFRouters |
| 224.0.0.18 | VRRP |
| CIDR | 서브넷 마스크 | 호스트 (가용) | 예시 |
|---|---|---|---|
| /24 | 255.255.255.0 | 254 | 192.168.1.0/24 |
| /25 | 255.255.255.128 | 126 | /24 → 2개 분할 |
| /26 | 255.255.255.192 | 62 | /24 → 4개 |
| /27 | 255.255.255.224 | 30 | /24 → 8개 |
| /28 | 255.255.255.240 | 14 | DMZ 소규모 |
| /29 | 255.255.255.248 | 6 | P2P 링크 |
| /30 | 255.255.255.252 | 2 | P2P 라우터 간 |
| /31 | 255.255.255.254 | 2 | P2P (RFC 3021) |
| /32 | 255.255.255.255 | 1 | Loopback·VIP |
10.0.0.0/22 (1024 IP) → 4개 /24
10.0.0.0/24
10.0.1.0/24
10.0.2.0/24
10.0.3.0/24
10.0.0.0/24 → 4개 /26
10.0.0.0/26 (0~63)
10.0.0.64/26 (64~127)
10.0.0.128/26 (128~191)
10.0.0.192/26 (192~255)
Destination Next Hop Interface Metric Protocol
10.0.0.0/24 Connected eth0 0 Direct
10.0.1.0/24 10.0.0.254 eth0 1 Static
172.16.0.0/16 10.0.0.254 eth0 110 OSPF
0.0.0.0/0 10.0.0.254 eth0 1 Static (Default)
/24 가 /16 보다 우선0.0.0.0/0 은 최후의 선택| 분류 | 동작 원리 | 대표 | 현장 위상 |
|---|---|---|---|
| Distance Vector | 이웃에 자기 라우팅 테이블을 통째로 보냄, 홉 수 기반 | RIP | 소규모·교육용 (운영 거의 안 함) |
| Link State ⭐ | 전체 토폴로지 DB 공유, SPF (Dijkstra) 계산 | OSPF · IS-IS | 사실상 IGP 표준 |
| 분류 | 범위 | 대표 |
|---|---|---|
| IGP (Interior) | AS 내부 — 사내·캠퍼스 | OSPF · IS-IS (Link State 2종) |
| EGP (Exterior) | AS 간 — ISP 간 라우팅 | BGP-4 (Path Vector, 사실상 유일) |
| 프로토콜 | AD | 비고 |
|---|---|---|
| Connected | 0 | 직접 연결 |
| Static | 1 | 수동 |
| eBGP | 20 | AS 간 외부 광고 |
| OSPF | 110 | IGP 1순위 |
| IS-IS | 115 | ISP·통신사 |
| iBGP | 200 | AS 내부 동기화 |
| Type | 이름 | 광고 범위 |
|---|---|---|
| 1 | Router LSA | Area 내 |
| 2 | Network LSA | Area 내 |
| 3 | Summary LSA | Area 간 |
| 4 | ASBR Summary | Area 간 |
| 5 | External LSA | AS 전체 |
| 7 | NSSA External | NSSA Area |

OSPF Area 다이어그램 (삽화)
! ────────── OSPF 설정 (Area 0 Backbone) ──────────
R1# configure terminal
R1(config)# router ospf 1
R1(config-router)# router-id 1.1.1.1
R1(config-router)# network 10.0.0.0 0.0.0.255 area 0
R1(config-router)# network 10.0.1.0 0.0.0.255 area 0
R1(config-router)# passive-interface default
R1(config-router)# no passive-interface GigabitEthernet0/0
R1(config-router)# auto-cost reference-bandwidth 100000
R1(config-router)# exit
! 확인
R1# show ip ospf neighbor
R1# show ip ospf interface brief
R1# show ip route ospf
! ────────── BGP 설정 (eBGP + iBGP) ──────────
R1(config)# router bgp 65001
R1(config-router)# bgp router-id 1.1.1.1
R1(config-router)# neighbor 1.1.1.2 remote-as 65002 ! eBGP (KT)
R1(config-router)# neighbor 1.1.1.2 description "KT-Edge"
R1(config-router)# neighbor 10.0.0.2 remote-as 65001 ! iBGP
R1(config-router)# neighbor 10.0.0.2 update-source Loopback0
R1(config-router)# addres6-family ipv4 unicast
R1(config-router-af)# network 203.0.113.0 mask 255.255.255.0
R1(config-router-af)# neighbor 1.1.1.2 route-map IN-FROM-KT in
R1(config-router-af)# neighbor 1.1.1.2 route-map OUT-TO-KT out
R1(config-router-af)# maximum-paths 4 ! ECMP
R1(config-router-af)# end
! 확인
R1# show ip bgp summary
R1# show ip bgp neighbors 1.1.1.2 advertised-routes
R1# show ip bgp 0.0.0.0/0
R1# show ip route bgp
🎨 이미지 프롬프트: "Editorial terminal mockup on dark navy background — a wide green-on-black tmux/iTerm window split vertically with a Cisco IOS XR prompt 'RP/0/RSP0/CPU0:R1(config-router)#'; LEFT pane shows OSPFv2/v3 configuration on R1 ('router ospf 1 / router-id 1.1.1.1 / network 10.0.0.0 0.0.0.255 area 0 / passive-interface default / no passive-interface GigabitEthernet0/0/0 / auto-cost reference-bandwidth 100000') with syntax-highlighted keywords; RIGHT pane shows BGP-4 + MP-BGP configuration ('router bgp 65001 / bgp router-id 1.1.1.1 / neighbor 1.1.1.2 remote-as 4766 description \"KT-EDGE\" / neighbor 10.0.0.2 remote-as 65001 update-source Loopback0 / addres6-family ipv4 unicast / network 203.0.113.0/24 / maximum-paths 4'). At the bottom a stacked output:
R1# show ip ospf neighbortable with rows 'Neighbor ID Pri State Dead Time Address Interface / 2.2.2.2 1 FULL/BDR 00:00:35 10.0.0.2 Gi0/0/0', andR1# show ip bgp summarytable with rows 'Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd / 1.1.1.2 4 4766 1842 1851 47 0 0 02:14:01 Established 943125 / 10.0.0.2 4 65001 412 415 47 0 0 01:08:33 Established 27'. A small bottom-right inset showsR1# show ip route bgpsummary 'B* 0.0.0.0/0 [20/0] via 1.1.1.2 (eBGP)'. Subtle scanlines, monospaced font, header bar 'ta@bastion → R1 — SSH 22 — Cisco ASR 9000 · IOS XR 7.10.2' (no vendor logo). Teal #00b894 frame accents, 16:9"
TA 팁: network 구문은 OSPF에서 광고 인터페이스 선택 (Wildcard Mask), BGP에서 광고할 prefix 지정 (Subnet Mask). 두 문법이 의미가 다름을 주의.

OSPF·BGP 콘솔 — Cisco IOS 실제 명령
| 구분 | iBGP | eBGP |
|---|---|---|
| 대상 | 같은 AS 내 | 다른 AS 간 |
| TTL | 보통 multi-hop 사용 | 기본 1 (인접) |
| 광고 정책 | iBGP 받은 건 iBGP에 재광고 X | 자유 |
| Full Mesh | 필요 → Route Reflector | — |

BGP AS 토폴로지 (삽화)
| 규모·환경 | 권고 프로토콜 | 이유 |
|---|---|---|
| 지점 1~3개, 변경 없음 | Static | 단순·안정·예측 가능 |
| 단일 캠퍼스 (소규모) | OSPF Single Area | 자동 수렴·표준 |
| 다중 캠퍼스 | OSPF Multi-Area | 확장성·요약·트래픽 격리 |
| Cisco 100% 환경 (중소) | EIGRP | 빠른 수렴·운영 편의 |
| ISP·통신사 백본 | IS-IS | 안정성·확장성 |
| 인터넷 연결·멀티홈 | BGP (eBGP) | 유일한 EGP |
| DC 내부 (Spine-Leaf) | BGP (iBGP/eBGP unnumbered) | Cumulus·SONiC·EVPN 표준 |
| 클라우드 VPC↔온프레미스 | BGP over IPSec/Direct Connect | 표준 연결 |
| WAN 광역 (지점↔본사) | MPLS L3VPN (BGP) 또는 SD-WAN | 통신사 의존도에 따라 |
현장 메모: 데이터센터 내부 라우팅도 BGP 로 통일하는 흐름이 강해지고 있음 (RFC 7938 BGP in DC). EVPN-VXLAN의 컨트롤 플레인도 MP-BGP.
신뢰의 약속(TCP)과 속도의 선택(UDP), 그리고 차세대(QUIC).
| 항목 | TCP | UDP |
|---|---|---|
| 연결 | Connection-Oriented | Connectionless |
| 신뢰성 | 보장 (재전송·Ack) | X |
| 순서 보장 | ⭕ | X |
| 흐름 제어 | ⭕ | X |
| 혼잡 제어 | ⭕ | X |
| 헤더 크기 | 20 B+ | 8 B |
| 속도 | 느림 | 빠름 |
| 용도 | HTTP·SSH·DB·메일 | DNS·DHCP·VoIP·게임·스트리밍 |
현장 결정 기준: 데이터 손실이 치명적 = TCP, 일부 손실 허용·실시간 = UDP.
| # | 방향 | 플래그 | 의미 |
|---|---|---|---|
| 1 | Client → Server | SYN (Seq=x) | "연결 요청" |
| 2 | Server → Client | SYN+ACK (Seq=y, Ack=x+1) | "수락" |
| 3 | Client → Server | ACK (Seq=x+1, Ack=y+1) | "시작" |
3단계 완료 후 ESTABLISHED — 데이터 송수신 가능.
그림 읽는 법 — 위에서 아래로 시간이 흐른다. 화살표는 패킷 방향, 괄호 안은 Seq/Ack 번호. 3번째 ACK가 도착하는 순간 양쪽이 동시에 ESTABLISHED 상태로 진입한다.

TCP 3-Way Handshake (삽화)
| 단계 | 동작 |
|---|---|
| 1 | Client → FIN (종료 요청) |
| 2 | Server → ACK (잘 받음, 처리 마저) |
| 3 | Server → FIN (이제 나도 종료) |
| 4 | Client → ACK + TIME_WAIT 대기 |
TIME_WAIT 의 함정 — 짧은 연결을 대량 발생시키면 클라이언트 측 TIME_WAIT가 쌓여 포트 고갈 발생. 대응: Connection Pool·Keep-Alive·tcp_tw_reuse.
tcp_window_scaling)| 알고리즘 | 등장 | 동작 |
|---|---|---|
| Tahoe / Reno | 1988~ | Slow Start + AIMD |
| NewReno | 1996 | Fast Recovery 개선 |
| CUBIC | 2008 | Linux 기본 (3차 함수) |
| BBR | 2016 | Google 개발, 대역폭·RTT 기반 |
| BBRv3 | 2023 | YouTube·QUIC 표준 |
sysctl net.ipv4.tcp_congestion_control[ Src Port | Dst Port | Length | Checksum ]
2 B 2 B 2 B 2 B
| 분류 | 범위 | 용도 |
|---|---|---|
| Well-Known | 0~1023 | OS·root 권한 필요, 표준 서비스 |
| Registered | 1024~49151 | IANA 등록 응용 |
| Dynamic / Ephemeral | 49152~65535 | 클라이언트 임시 (Linux는 32768~60999) |
| 포트 | 프로토콜 | 서비스 |
|---|---|---|
| 20/21 | TCP | FTP (Data / Control) |
| 22 | TCP | SSH |
| 23 | TCP | Telnet (사용 금지) |
| 25 | TCP | SMTP |
| 53 | TCP/UDP | DNS |
| 67/68 | UDP | DHCP (Server/Client) |
| 80 | TCP | HTTP |
| 110 | TCP | POP3 |
| 123 | UDP | NTP |
| 143 | TCP | IMAP |
| 161/162 | UDP | SNMP / SNMP Trap |
| 389/636 | TCP | LDAP / LDAPS |
| 포트 | 프로토콜 | 서비스 |
|---|---|---|
| 443 | TCP/UDP | HTTPS / HTTP/3 |
| 445 | TCP | SMB |
| 514 | UDP | Syslog |
| 587 | TCP | SMTP Submission |
| 993 | TCP | IMAPS |
| 1433 | TCP | MS SQL |
| 1521 | TCP | Oracle DB |
| 3306 | TCP | MySQL |
| 3389 | TCP | RDP |
| 5432 | TCP | PostgreSQL |
| 5900 | TCP | VNC |
| 8080 | TCP | HTTP Alt |
사용자가 직접 만나는 모든 서비스는 여기서 산다.
.) — 13개 글로벌 서버군.com·.kr·.org·.net·.gov...naver.com·google.co.krmail.naver.com| 역할 | 설명 |
|---|---|
| Authoritative | 특정 도메인의 정답 서버 |
| Recursive Resolver | 사용자 대신 끝까지 질의 (보통 ISP·8.8.8.8·1.1.1.1) |
| Forwarder | 사내 → 외부 DNS로 위임 |
| Caching | 응답 임시 저장 (TTL) |
| Type | 용도 |
|---|---|
| A | 호스트명 → IPv4 |
| AAAA | 호스트명 → IPv6 |
| CNAME | 별칭 (다른 이름으로 redirect) |
| MX | 메일 서버 (Priority) |
| TXT | 임의 텍스트 (SPF·DKIM·도메인 인증) |
| SRV | 서비스 위치 (예: _ldap._tcp.example.com) |
| NS | 권한 네임서버 |
| PTR | 역방향 (IP → 이름) |
| SOA | Zone 메타 정보 |
| CAA | 발급 가능한 CA 제한 |
| # | 단계 | 패킷 |
|---|---|---|
| 1 | Discover | 클라이언트 브로드캐스트 — "IP 줘" |
| 2 | Offer | 서버 → 클라이언트 — "이 IP 어때?" |
| 3 | Request | 클라이언트 → 서버 — "그걸로 줘" |
| 4 | ACK | 서버 확정 + 옵션 전달 |
ip helper-address X.X.X.X| Option | 용도 |
|---|---|
| 3 | Default Gateway |
| 6 | DNS Server |
| 15 | Domain Name |
| 42 | NTP Server |
| 43 | 벤더 옵션 (AP·IP폰 컨트롤러 IP) |
| 60 | 벤더 클래스 식별 |
| 66/67 | PXE 부팅 서버·파일 |
| 82 | Relay Agent 정보 (위치·포트) |
그림 읽는 법 — Discover·Request는 브로드캐스트(클라이언트 IP 미보유 단계), Offer·ACK는 유니캐스트. 4번째 ACK 수신 즉시 클라이언트는 받은 IP·게이트웨이·DNS·기타 Option(43·82 등)을 적용한다.
| 항목 | HTTP/1.1 | HTTP/2 | HTTP/3 |
|---|---|---|---|
| 연도 | 1997 | 2015 | 2022 |
| 전송 계층 | TCP | TCP + TLS | UDP (QUIC) |
| 다중화 | X (Pipelining 불완전) | ⭕ (Stream) | ⭕ (Stream) |
| 헤더 압축 | X | HPACK | QPACK |
| HoL Blocking | 있음 | TCP 레벨에 있음 | 없음 |
| 암호화 | 옵션 | 사실상 필수 (HTTPS) | 필수 (TLS 1.3 내장) |
| Server Push | X | ⭕ (사실상 사용 X) | (HTTP/3 X) |
| 포트 | 80 / 443 | 443 | 443 (UDP) |
| 순서 | 방향 | 메시지 | 내용 |
|---|---|---|---|
| 1 | Client → Server | ClientHello | 지원 암호 스위트·랜덤 |
| 2 | Server → Client | ServerHello + 인증서 + Key Exchange | 선택 암호·서버 공개키 |
| 3 | Client → Server | Key Exchange + ChangeCipherSpec + Finished | 프리마스터 키·암호 전환 |
| 4 | Server → Client | ChangeCipherSpec + Finished | 암호 전환 확인 |
| ✅ | C ↔ S | Encrypted Application Data | 본 통신 시작 |
| 프로토콜 | 포트 | 보안 | 특징 |
|---|---|---|---|
| FTP | 20/21 | 평문 | 구식, 보안 위협 |
| FTPS | 21·990 | TLS | FTP + TLS (Explicit/Implicit) |
| SFTP | 22 (SSH) | SSH | FTP 대체 표준 |
| TFTP | 69 (UDP) | 없음 | 부팅·이미지 전송 |
| SCP | 22 (SSH) | SSH | 단순 복사 |
| rsync | 873 / SSH | SSH | 증분 동기화 |
| NFS v3/v4/v4.1/pNFS | 2049 | Kerberos 옵션 | Linux 파일 공유 표준 |
| SMB / CIFS | 445 | NTLM/Kerberos | Windows 파일 공유 표준 |
| WebDAV | 80/443 (HTTP) | TLS | 웹 기반 |
| S3 API | 443 (HTTP) | TLS | 오브젝트 스토리지 표준 |
현장 표준: 운영자 작업 = SFTP, Linux 파일 공유 = NFS, Windows 파일 공유 = SMB, 오브젝트 = S3 API.
PasswordAuthentication no)| 버전 | 보안 | 비고 |
|---|---|---|
| v1 | Community String (평문) | 폐기 |
| v2c | Community String | 여전히 흔함 |
| v3 | 인증 + 암호화 (USM) | 권고 |
계층별로 살펴본 장비들을 한 번에 정리.

L2 vs L3 스위치 (삽화)
| 항목 | L3 Switch | Router |
|---|---|---|
| 주 용도 | LAN 내부 VLAN 간 라우팅 | LAN↔WAN, AS↔AS |
| 포트 종류 | 대부분 Ethernet (Cu/Fiber) | Ethernet + Serial + WAN 인터페이스 |
| 포트 밀도 | 24~96+ 포트 | 보통 4~16 포트 |
| 하드웨어 ASIC | 라우팅도 ASIC → 와이어 스피드 | CPU 또는 NPU 처리 (느릴 수 있음) |
| 기능 깊이 | 기본 OSPF/BGP·정책 | 풍부: NAT·VPN·MPLS·QoS·BGP 정책 |
| NAT·VPN·MPLS | 제한적 | 표준 |
| 단가 | 상대적으로 저렴 | 비쌈 |
| 예시 | Cisco Catalyst 9300·9500, Arista 7050 | Cisco ASR·ISR, Juniper MX·SRX |
현장 결정: LAN/DC 내부 라우팅 = L3 Switch, WAN/Edge/복잡한 NAT·VPN = Router. 두 역할이 점차 겹치는 추세 (Universal Routers).
| 종류 | 동작 |
|---|---|
| Stateless FW | 패킷 단위, 세션 인식 X (구식) |
| Stateful FW | 세션 추적, 표준 |
| NGFW | 응용 인식 (App-ID)·IPS·URL 필터링 |
| UTM | FW + AV + IPS + URL + Mail 통합 (중소) |
LB = L4(5-Tuple로 IP/Port 분배) · L7(URL/Cookie/Header 분배), ADC = LB + SSL 종단 + WAF + Caching. 보안 장비(WAF·NGFW) 바로 옆 — 트래픽의 마지막 분기점이다.
📚 본문은 Session 5 PART F · G 로 이동 — 본 회차는 L1~L7 어휘 정리가 목표라 LB는 위치만 표시. 다음 항목은 모두 Session 5 로드 밸런싱 Part 에서 전개:
s5 ## L4 vs L7s5 ## L4 LB 알고리즘/health 설계 — s5 ## 헬스 체크s5 ## Session Persistences5 ## LB 솔루션 비교s5 ## GSLB토폴로지는 곧 가용성·확장성·비용을 결정한다.
🎨 이미지 프롬프트: "Editorial network topology illustration on dark navy #0f1722 background showing six classic LAN topology shapes arranged in a clean 3x2 grid. Each cell contains one topology with a small English title above it: 'BUS' — a single horizontal cable with 4 nodes hanging off it; 'RING' — 5 nodes connected in a circular loop with directional arrows; 'STAR' — one central hub with 5 spoke nodes radiating outward; 'MESH' — 5 nodes all directly interconnected (full mesh); 'TREE' — a hierarchical 3-level tree with one root, 2 mid-tier, 4 leaf nodes; 'HYBRID' — a small mesh core connected to multiple star clusters. Nodes are small white circles or rounded squares, links are thin teal #00b894 or purple #6c5ce7 lines. Each cell separated by faint white grid lines. Clean editorial illustration style, monospaced English labels only, teal and purple accents, 16:9. CRITICAL: All visible text MUST be in English ONLY (no Korean characters). Each label appears EXACTLY ONCE — no duplicates. No mirrored or reversed text."
🎨 이미지 프롬프트: "Editorial 3-tier enterprise network architecture illustration on dark navy #0f1722 background. Three horizontal tiers stacked top-to-bottom with clean spacing. Top tier labeled 'CORE' contains 2 large rounded square nodes (Core SW 1, Core SW 2) drawn in purple #6c5ce7 with thicker borders. Middle tier labeled 'AGGREGATION' (also 'DISTRIBUTION') contains 4 medium rounded nodes (Agg SW 1~4) in teal #00b894. Bottom tier labeled 'ACCESS' contains 6 smaller nodes (Access SW with small PC and phone icons hanging below). Each Core node connects to all Aggregation nodes (full mesh between tier 1 and 2) with thin teal lines; each Aggregation node connects to 2-3 Access nodes with thinner lines. Subtle horizontal dividers separate the tiers. Small annotations on the right: 'North-South traffic dominant', 'L3 boundary at Aggregation', 'PoE / VoIP at Access'. Clean editorial illustration style, monospaced English labels only, teal #00b894 and purple #6c5ce7 accents, 16:9. CRITICAL: All visible text MUST be in English ONLY (no Korean characters). Each label appears EXACTLY ONCE — no duplicates. No mirrored or reversed text."
🎨 이미지 프롬프트: "Editorial Spine-Leaf (Clos) data center fabric illustration on dark navy #0f1722 background. Two horizontal tiers: top row labeled 'SPINE' contains 4 large rounded square nodes (Spine 1~4) in purple #6c5ce7; bottom row labeled 'LEAF (ToR)' contains 6 rounded square nodes (Leaf 1~6) in teal #00b894 with small server rack icons hanging below each leaf. EVERY leaf is connected to EVERY spine with thin teal lines (full bipartite mesh — 4 spines × 6 leaves = 24 links visible), demonstrating ECMP. Small server icons (3 per leaf) labeled with tiny 'SRV' text show the workload layer. Annotations on the right side: 'ECMP equal-cost paths', 'East-West optimized', 'BGP unnumbered Underlay', 'VXLAN-EVPN Overlay'. Bottom-right corner: tiny comparison icon 'No STP'. Clean editorial illustration style, monospaced English labels only, teal #00b894 and purple #6c5ce7 accents, 16:9. CRITICAL: All visible text MUST be in English ONLY (no Korean characters). Each label appears EXACTLY ONCE — no duplicates. No mirrored or reversed text."

3-Tier vs Spine-Leaf (삽화)
🎨 이미지 프롬프트: "Editorial WAN topology comparison illustration on dark navy background — three side-by-side network diagrams in panels labeled 'Hub-and-Spoke', 'Partial Mesh', and 'Full Mesh'. Left 'Hub-and-Spoke': a central building icon 'HQ Seoul (Hub)' connected by solid teal lines to 5 surrounding nodes labeled 'Branch Busan', 'Branch Daegu', 'Branch Gwangju', 'Branch Daejeon', 'DR Site Cheonan' — every spoke routes through the hub; small tag 'MPLS L3VPN · KT/LG U+'. Middle 'Partial Mesh': same HQ + 4 branches + 1 DR site, with HQ-to-all-spokes plus selective direct links between high-traffic branches (HQ↔DR, HQ↔Busan↔Daegu) drawn with dashed purple lines, label 'DMVPN · selective direct'. Right 'Full Mesh': all 6 sites fully interconnected, every node-to-node line drawn in thin teal, with annotation 'Links = N(N-1)/2 = 15' and tag 'SD-WAN overlay · multi-carrier'. Each node rendered as a small clean isometric building icon (HQ taller, DR with a shield icon, branches small) with monospaced English labels and IP-cloud icons in the link space ('MPLS', 'Internet', 'LTE/5G'). Clean technical editorial style, thin connection lines with small bandwidth/latency tags, teal #00b894 and purple #6c5ce7 accents, 16:9"

WAN 토폴로지 — Hub-and-Spoke · Full-Mesh · SD-WAN
| 토폴로지 | 비용 | 가용성 | 확장성 | 관리 | 적합 환경 |
|---|---|---|---|---|---|
| Star | 낮음 | 중간 | 중간 | 쉬움 | LAN 액세스 |
| Mesh (Full) | 매우 높음 | 최고 | 낮음 | 어려움 | 코어·핵심 P2P |
| Mesh (Partial) | 중간 | 높음 | 중간 | 중간 | 캠퍼스 코어 |
| Tree | 중간 | 중간 | 중간 | 중간 | 캠퍼스 |
| 3-Tier | 중간~높음 | 높음 | 중간 | 중간 | 전통 엔터프라이즈 |
| Spine-Leaf | 중간 | 높음 | 최고 | 중간 | 현대 DC·AI 클러스터 |
| Hub-and-Spoke | 저렴 | 낮음 | 낮음 | 쉬움 | WAN 다지점 |
| SD-WAN | 중간 | 높음 | 높음 | 중간 | WAN 글로벌 |
7계층·100+ 프로토콜·수십 가지 장비를 결정의 언어로 옮긴다.

데이터센터 NW 구성도 (삽화)
모든 결정은 산출물에 정량적으로 기록 — 단가·EOL·라이센스·유지보수 비용까지 BOM에 명시.
| 산출물 | 형식 | 핵심 내용 | 작성 시점 |
|---|---|---|---|
| 논리 구성도 | Visio·draw.io | L2/L3 토폴로지·VLAN·라우팅 영역 | 초기 설계 |
| 물리 구성도 | Visio·CAD | 랙 배치·케이블 경로·포트 매핑 | 시공 직전 |
| VLAN 표 | Excel | VLAN ID·이름·서브넷·게이트웨이·사용처 | 설계 + 운영 갱신 |
| IP 할당표 | Excel·NetBox·IPAM | 호스트·VIP·DHCP 범위·예약 | 설계 + 매 변경 |
| 라우팅 표 | Excel·Markdown | OSPF Area·BGP Peer·MED·LOCAL_PREF | 설계 + 트러블슈팅 시 |
| 포트 매핑표 | Excel·NetBox | 장비 포트 ↔ 단말·서버·VLAN | 시공 + 운영 |
거리 < 5m, 25G+
→ DAC (저렴·저전력)
거리 < 30m, 25/40G
→ Cat 8 또는 SFP28 DAC
거리 < 100m, 1G/10G
→ Cat 6a
거리 100m~500m, 10/40/100G
→ MM (OM4) + SR
거리 > 500m, 100G+
→ SM + LR
거리 > 10km
→ SM + ER/ZR 또는 통신사 회선
지점 1~3개·변경 없음
→ Static
단일 캠퍼스·동일 벤더
→ OSPF Single Area
다중 캠퍼스
→ OSPF Multi-Area
Cisco 단일·중소
→ EIGRP (선택)
인터넷 연결·멀티 ISP
→ BGP (필수)
DC 내부 Spine-Leaf
→ BGP (RFC 7938)
ISP·캐리어 백본
→ IS-IS
# ────────── ip 명령 (iproute2 — net-tools 대체) ──────────
$ ip -br addr # 인터페이스 + IP 요약
$ ip addr add 10.0.0.10/24 dev eth0 # IP 추가
$ ip link set eth0 mtu 9000 # Jumbo MTU
$ ip link set eth0 up # 인터페이스 UP
$ ip route # 라우팅 테이블
$ ip route add 192.168.1.0/24 via 10.0.0.1 # Static Route 추가
$ ip route add default via 10.0.0.254
$ ip neigh # ARP 테이블 (ip neighbour)
$ ip -s link show eth0 # 인터페이스 통계
# ────────── ss — netstat 대체 ──────────
$ ss -tnp # TCP LISTEN+ESTABLISHED + 프로세스
$ ss -tan state established
$ ss -s # 요약 (TCP/UDP/Total)
# ────────── tcpdump — 패킷 캡처 ──────────
$ sudo tcpdump -i eth0 -nn host 10.0.0.5 and port 443
$ sudo tcpdump -i any -nn 'tcp[tcpflags] & (tcp-syn|tcp-rst) != 0'
$ sudo tcpdump -i eth0 -w /tmp/capture.pcap port 53
$ sudo tcpdump -r /tmp/capture.pcap -nn -A | less
# ────────── DNS·TLS·HTTP 디버그 ──────────
$ dig +short A www.example.com @8.8.8.8
$ dig +trace www.example.com # 루트→TLD→권한 추적
$ openssl s_client -connect example.com:443 -servername example.com </dev/null
$ curl -v -o /dev/null https://example.com
$ mtr -rwbzc 100 8.8.8.8 # ping + traceroute + 통계
🎨 이미지 프롬프트: "Editorial Linux terminal mockup on dark navy background — a wide tmux-style terminal split into 4 panes on a RHEL 9.4 / Ubuntu 24.04 LTS host; TOP-LEFT pane runs
[root@ta-jump01 ~]# ip -br addrshowing rows 'lo UNKNOWN 127.0.0.1/8 ::1/128 / eth0 UP 10.0.0.10/24 fe80::250:56ff:feaa:bb01/64 / eth1 UP 10.255.0.10/24 (OOB) / bond0 UP 10.0.100.10/24 (mode=802.3ad)' followed by# ip link set eth0 mtu 9000and# ip -s link show eth0with RX/TX byte counters and 0 errors/drops; TOP-RIGHT pane runs[root@ta-jump01 ~]# ip routeshowing 'default via 10.0.0.254 dev eth0 proto static metric 100 / 10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.10 / 10.0.1.0/24 via 10.0.0.254 dev eth0 proto ospf metric 110 / 192.168.1.0/24 via 10.0.0.254 dev eth0 proto static' and below# ss -tnlpshowing 'LISTEN 0 128 0.0.0.0:22 sshd / LISTEN 0 511 :443 nginx / ESTAB 0 0 10.0.0.10:51234 203.0.113.5:443'; BOTTOM-LEFT pane runs[root@ta-jump01 ~]# tcpdump -i eth0 -nn -vv 'tcp port 443 and tcp[tcpflags] & (tcp-syn|tcp-ack) != 0'with several live packet capture lines streaming '14:02:11.123456 IP 10.0.0.10.51234 > 203.0.113.5.443: Flags [S], seq 1842..., win 64240, options [mss 1460,sackOK,TS val..., wscale 7], length 0 / 14:02:11.135789 IP 203.0.113.5.443 > 10.0.0.10.51234: Flags [S.], seq 9281..., ack 1843..., win 65535 / 14:02:11.135999 IP 10.0.0.10.51234 > 203.0.113.5.443: Flags [.], ack 1, win 502 / Flags [P.] length 517 (TLS ClientHello)'; BOTTOM-RIGHT pane runs[root@ta-jump01 ~]# dig +short A www.example.com @8.8.8.8returning '93.184.215.14' then# dig +trace www.example.com(truncated root→TLD→authoritative chain), then# curl -v --resolve www.example.com:443:93.184.215.14 https://www.example.comshowing TLS 1.3 handshake details (' SSL connection using TLSv1.3 / ALPN: server accepted h2 / * issuer: C=US; O=DigiCert Inc... / > GET / HTTP/2 / < HTTP/2 200'). Monospaced Source Code Pro font, soft glow on the tmux status bar showing hostname '[ta-jump01] · CPU 0.42 · 4 panes · Bastion · OOB 10.255.0.10', subtle scanlines. Teal #00b894 prompt accents on each#symbol, 16:9"
현장 표준: ifconfig·netstat·route·arp·nslookup 은 모두 deprecated. RHEL 9·Ubuntu 24.04 기본 이미지에는 빠져 있음 → ip·ss·dig·mtr 4종 세트를 외워야 함.

Linux 네트워크 CLI — ip · ss · tcpdump · dig
| 단계 | 점검 항목 | 명령·도구 |
|---|---|---|
| L1 | 케이블·SFP·Link LED | 물리 점검·ethtool eth0 |
| L2 | MAC 학습·VLAN·STP 상태 | show mac addres6-table·show spanning-tree |
| L3 | IP·게이트웨이·라우팅 | ip addr·ip route·show ip route |
| L3 | 도달성 | ping·traceroute·mtr |
| L4 | 포트 LISTEN·TCP 상태 | netstat -an·ss -tnp |
| L5~L7 | DNS·TLS·응용 | dig·nslookup·openssl s_client·curl -v |
| 패킷 | 실제 트래픽 | tcpdump·wireshark·tshark |
기본 원칙: Bottom-up 으로 격리 → 각 계층에서 정상 동작 확인 → 한 계층씩 위로. 상위에서 시작하면 시간 낭비.
신규 = Cat 6a. Cat 6는 10G가 55m까지만 보장. 데이터센터·신축 표준은 Cat 6a.
AS 내부 = OSPF, AS 간(인터넷) = BGP. DC 내부도 BGP로 통일하는 추세 (RFC 7938).
LAN·단거리 = CUBIC 충분. WAN·고대역·장거리 = BBR 권고.
자동 협상되므로 강제 전환 불필요. CDN 사용 시 자동 적용. 사내는 HTTP/2가 표준.
802.1Q = 4094개. 데이터센터 멀티 테넌트는 VXLAN(24bit·1600만) 같은 Overlay 로 확장.
2026년 단말 보급 시작. AP는 미리, 단말은 자연 교체 권고.
공공·금융 사실상 의무. 일반 기업도 보안 표준상 권고. OOB + Bastion 조합.
네트워크는 7개 계층의 약속, 100여 개의 프로토콜, 수십 가지 장비의 종합 예술.
TA는 이 약속을 도면 · 표 · 결정 매트릭스 · 산출물로 풀어낸다.
tcpdump·ip route·show interface trunk 명령 익혀 두기