English
When one PC at a branch can’t open a website but the next PC can, start with one question: where do the two connections first behave differently? This lab starts with two PCs and a Cisco switch, then carries the same troubleshooting method into FortiGate and PAN-OS traffic logs, a read-only KQL query, and a short incident handover.
Use Packet Tracer for the switching exercise. Cisco offers it free through its introductory course; enrolment and sign-in are required. The firewall exercises use separate, authorised virtual lab environments. If you don’t have access to one, practise reading sample logs rather than changing a shared or production firewall. The addresses and incidents below are fictional.
1. Cisco Packet Tracer: fix a bad IP address without touching the switch
Add two PCs and one Layer 2 switch. Use a copper straight-through cable from each PC to an access port on the same VLAN. Under Desktop → IP Configuration, set PC-A to 10.77.10.11/24 and PC-B to 10.77.10.12/24 (mask 255.255.255.0). Leave the gateways blank: both hosts are on the same subnet and VLAN, and this topology has no router.
- From PC-A, run
ping 10.77.10.12. Wait for the ports to forward traffic, then retry if the first attempt lost a packet during ARP resolution. Record a run with four replies out of four. - On PC-B only, change the address to
10.77.20.12/24. Ping the original address from PC-A again. The physical link can stay up even though no host answers for the original IP. Checkipconfigon both PCs. On a supported Cisco switch, useshow interfaces statusfor link state andshow vlan brieffor access-port membership. These are separate checks: a green link light doesn’t prove either host has the correct IP. - Restore PC-B to
10.77.10.12/24, retest, and save the healthy topology as a.pktfile. Keep both ping results. They show which change explains the failure better than a screenshot of two green links.
2. FortiGate: read the rule, then confirm the decision in the log
In a routed lab, use one client (10.77.10.11) and a test HTTPS server on a different subnet (10.77.20.20). Read a rule from the initiating client’s direction: incoming and outgoing interface, source and destination, service, schedule, and action. A host address object such as LAB-CLIENT for 10.77.10.11/32 is reusable configuration. Creating the object alone does not allow traffic.
Take a baseline, then use a named lab-only rule and logging to compare an HTTPS request that matches with one that doesn’t. In Log & Report → Forward Traffic, compare the timestamp, source IP, destination IP and port, policy ID, and action. If the expected deny row is missing, check the time range, filters, and whether the relevant deny is logged. An empty result doesn’t show that the connection was allowed. When done, restore the baseline and remove the lab-only object after removing its rule references.
3. PAN-OS: verify the rule that actually handled the session
In an authorised PAN-OS lab, limit a temporary web allow rule to the test client and server, the intended source and destination zones, and the required application and service. Check rule order before committing: PAN-OS takes the first matching rule. Confirm the commit completed, then make a fresh HTTPS connection and close it so you can check the session-end log if that option is enabled.
Under Monitor → Logs → Traffic, look for the rule name, action, App-ID, and session end reason. A security policy allow does not prove that TLS or the application succeeded; compare the client’s result. Remove or disable the temporary rule, commit again, and repeat the test to check that the original behaviour has returned. A broad existing rule can make a positive test pass for the wrong reason, so confirm the matching rule name every time.
4. Microsoft KQL and Defender: build a timeline without assuming a breach
Paste this query into a KQL editor that supports datatable. It creates four synthetic sign-in rows, so it does not need a tenant’s real sign-in data. It excludes code 0 (success) and counts the remaining non-empty results by five-minute UTC bucket.
datatable(TimeGenerated:datetime, ResultType:string) [
datetime(2026-11-22T01:01:00Z), "0",
datetime(2026-11-22T01:02:00Z), "50126",
datetime(2026-11-22T01:04:00Z), "50126",
datetime(2026-11-22T01:07:00Z), "50126"
]
| where isnotempty(ResultType) and ResultType != "0"
| summarize Failures = count()
by BucketUtc = bin(TimeGenerated, 5m)
| order by BucketUtc asc
Expect two rows: 01:00 UTC → 2, then 01:05 UTC → 1. These are event counts, not counts of people. The query doesn’t produce rows for empty buckets. In an authorised Log Analytics workspace with Entra sign-ins already ingested, use SigninLogs and a bounded time filter instead of the synthetic input. Check the error description and context before treating the failures as suspicious. In Defender XDR, compare the incident’s alerts, affected assets and evidence against your timeline. A sign-in failure is a lead, not proof of compromise or of a network fault.
5. Branch outage: write a handover another analyst can act on
In this fictional exercise, PC-A and PC-B share an access VLAN. Only PC-A fails to connect to 10.77.20.20:443. Test both PCs against the same destination during the same window. Record addressing, link and VLAN evidence, and the matching firewall rows. If the firewall records a deny for PC-A and an allow for PC-B, compare the matched rules and the configured source object before asking for a change. Make separate notes for confirmed observations and hypotheses.
14:07 NZDT (01:07 UTC), lab ticket: PC-A fails to reach the test server on TCP/443; PC-B works. Both switch ports are up on the same access VLAN. The firewall logged a deny for PC-A and a named allow for PC-B. The allow rule’s source object covers PC-B only. That explains the different matches; whether PC-A should have access is unconfirmed. No policy changed. Next: ask the policy owner to verify the approved scope, then retest both clients after any approved change.
A good handover pairs each conclusion with a test result, a policy or log entry, or an explicit gap. The next analyst should be able to repeat the test without asking what you meant by ‘the firewall blocked it’.
Sources
- Cisco Networking Academy: Getting Started with Packet Tracer
- Cisco: Troubleshoot switch ports and interfaces
- Fortinet: FortiGate firewall policy and matching criteria
- Palo Alto Networks: PAN-OS Security policy
- Palo Alto Networks: Traffic log fields
- Microsoft Learn: SigninLogs schema
- Microsoft Learn: KQL datatable operator
- Microsoft Learn: KQL quick reference
- Microsoft Learn: Investigate incidents in Defender XDR
- New Zealand Information Security Manual: Incident management
PC 두 대 연결부터 방화벽 장애 인계까지: 네트워크 보안 실습
지점에서 같은 웹사이트를 여는데 옆자리 PC는 되고 내 PC만 안 된다면, 두 연결이 어디에서 처음 갈라지는지부터 확인합니다. 이 글에서는 Cisco 스위치에 PC 두 대를 연결하는 실습부터 시작해 FortiGate와 PAN-OS의 트래픽 로그, 읽기 전용 KQL 조회, 영어 장애 인계까지 이어서 연습합니다.
스위치 실습에는 Packet Tracer를 사용합니다. Cisco 입문 과정에 등록하고 로그인하면 무료로 받을 수 있습니다. 두 방화벽은 별도의 승인된 가상 실습 환경에서 다룹니다. 실습 장비에 접근할 수 없다면 운영 방화벽을 바꾸지 말고 샘플 로그로 판독을 연습하세요. 아래 주소와 사건은 실습을 위한 예시입니다.
1. Cisco Packet Tracer: 스위치는 그대로 두고 잘못된 IP 고치기
PC 두 대와 L2 스위치 한 대를 배치합니다. 두 PC를 각각 같은 VLAN의 액세스 포트에 구리 다이렉트 케이블로 연결합니다. 각 PC의 Desktop → IP Configuration에서 PC-A는 10.77.10.11/24, PC-B는 10.77.10.12/24로 설정합니다(서브넷 마스크 255.255.255.0). 두 장비가 같은 VLAN과 서브넷에 있고 라우터는 없으므로 게이트웨이 칸은 비워 둡니다.
- PC-A에서
ping 10.77.10.12를 실행합니다. 포트가 트래픽을 전달할 때까지 기다립니다. 첫 패킷이 ARP 주소 확인 중에 유실됐다면 다시 실행해 보낸 4개가 모두 돌아온 결과를 남깁니다. - PC-B의 주소만
10.77.20.12/24로 바꾸고, PC-A에서 원래 PC-B 주소로 다시 ping을 보냅니다. 물리 링크는 살아 있어도 기존 IP에 응답할 장비는 없습니다. 두 PC에서ipconfig를 확인하세요. 명령을 지원하는 Cisco 스위치에서는show interfaces status로 링크 상태를,show vlan brief로 포트가 속한 VLAN을 확인합니다. 링크 표시가 녹색이라고 해서 IP 설정까지 맞다는 뜻은 아닙니다. - PC-B를
10.77.10.12/24로 되돌린 뒤 재시험하고, 정상 구성을.pkt파일로 저장합니다. 링크가 녹색인 화면 한 장보다 복구 전후의 ping 결과가 원인을 더 잘 설명합니다.
2. FortiGate: 정책을 읽고 실제 처리 결과를 로그에서 확인하기
라우팅이 설정된 실습 환경에서 클라이언트 한 대(10.77.10.11)와 다른 서브넷에 있는 테스트용 HTTPS 서버(10.77.20.20)를 씁니다. 연결을 시작한 클라이언트를 기준으로 들어오는 인터페이스와 나가는 인터페이스, 출발지와 목적지, 서비스, 적용 시간, 허용·차단 동작을 읽습니다. 10.77.10.11/32를 가리키는 LAB-CLIENT 같은 주소 객체는 정책에서 재사용할 수 있습니다. 객체만 추가한다고 통신이 허용되지는 않습니다.
먼저 기존 상태를 기록한 뒤, 이름을 붙인 실습 전용 정책과 로깅을 사용해 조건에 맞는 HTTPS 요청과 맞지 않는 요청을 비교합니다. Log & Report → Forward Traffic에서 시간, 출발지 IP, 목적지 IP·포트, 정책 ID, 처리 결과를 대조하세요. 차단 로그가 안 보인다면 조회 시간과 필터, 해당 차단 정책의 로깅 설정부터 확인합니다. 로그가 없다고 통신이 허용된 건 아닙니다. 실습이 끝나면 원래 상태로 되돌리고, 실습 객체를 참조하는 정책을 먼저 정리한 다음 객체를 삭제합니다.
3. PAN-OS: 세션에 적용된 정책을 확인하기
승인된 PAN-OS 실습 환경에서 임시 웹 허용 규칙의 범위를 테스트 클라이언트와 서버, 각각의 보안 존, 필요한 애플리케이션과 서비스로 제한합니다. 커밋 전에 규칙 순서를 확인합니다. PAN-OS는 조건에 맞는 첫 규칙을 적용합니다. 커밋이 완료되면 새 HTTPS 연결을 만든 뒤 종료합니다. 세션 종료 로깅을 켰다면 그때 생성되는 로그를 확인할 수 있습니다.
Monitor → Logs → Traffic에서 적용된 규칙명, 처리 결과, App-ID, 세션 종료 사유를 봅니다. 방화벽이 허용했다고 해서 TLS 연결이나 웹 요청까지 성공한 건 아닙니다. 클라이언트에서 확인한 결과와 대조하세요. 임시 규칙을 제거하거나 비활성화하고 다시 커밋한 다음, 처음과 같은 방법으로 시험해 기존 동작이 돌아왔는지 확인합니다. 원래 있던 넓은 허용 규칙 덕분에 통과할 수도 있으므로 매번 실제로 일치한 규칙명을 비교합니다.
4. Microsoft KQL과 Defender: 실패 시각을 정리하고, 침해 여부는 따로 판단하기
datatable을 지원하는 KQL 편집기에 아래 쿼리를 붙여 넣습니다. 가상 로그인 기록 4개를 쿼리 안에서 만들기 때문에 실제 테넌트 로그는 필요하지 않습니다. 성공 코드 0과 빈 값은 제외하고, 남은 이벤트를 UTC 기준으로 5분씩 묶어 셉니다.
datatable(TimeGenerated:datetime, ResultType:string) [
datetime(2026-11-22T01:01:00Z), "0",
datetime(2026-11-22T01:02:00Z), "50126",
datetime(2026-11-22T01:04:00Z), "50126",
datetime(2026-11-22T01:07:00Z), "50126"
]
| where isnotempty(ResultType) and ResultType != "0"
| summarize Failures = count()
by BucketUtc = bin(TimeGenerated, 5m)
| order by BucketUtc asc
예상 결과는 01:00 UTC 2건, 01:05 UTC 1건입니다. 사람 수가 아니라 이벤트 수이며, 실패가 없는 구간은 나오지 않습니다. 승인된 Log Analytics 작업 영역에 Entra 로그인 로그가 이미 수집되고 있다면, 가상 데이터 대신 SigninLogs를 쓰고 조회 시간을 제한하세요. 오류 설명과 상황을 확인한 뒤 의심할 근거가 있는지 판단합니다. Defender XDR에서는 인시던트의 경고, 영향받은 자산, 증거를 타임라인과 대조합니다. 로그인 실패는 조사할 단서이지 침해나 네트워크 장애의 증거는 아닙니다.
5. 지점 장애: 다음 담당자가 바로 이어서 볼 수 있게 인계하기
이 가상 사례에서는 PC-A와 PC-B가 같은 액세스 VLAN에 있지만 PC-A만 10.77.20.20:443에 연결되지 않습니다. 두 PC에서 같은 시간대에 같은 목적지로 시험하세요. IP 설정, 링크와 VLAN, 요청에 일치하는 방화벽 로그를 남깁니다. PC-A는 차단되고 PC-B는 허용된 기록이 있다면 변경을 요청하기 전에 어떤 규칙과 출발지 객체가 일치했는지 대조합니다. 확인한 사실과 추정은 따로 적습니다.
영어 인계 예문: 14:07 NZDT (01:07 UTC), lab ticket. PC-A fails to reach the test server on TCP/443; PC-B works. Both switch ports are up on the same access VLAN. The firewall logged a deny for PC-A and a named allow for PC-B. The allow rule’s source object covers PC-B only. That explains the different matches; whether PC-A should have access is unconfirmed. No policy changed. Next: ask the policy owner to verify the approved scope, then retest both clients after any approved change.
예문의 핵심은 PC-A에 접근 권한을 줘야 한다고 단정하지 않은 점입니다. 정책을 바꾸지 않았고, 다음 담당자가 권한 범위를 확인한 뒤 두 PC를 다시 시험할 수 있도록 남겼습니다. 인계 문장마다 시험 결과나 정책·로그를 붙이고, 아직 모르는 부분은 모른다고 적으세요.
출처
- Cisco Networking Academy: Packet Tracer 입문
- Cisco: 스위치 포트·인터페이스 문제 해결
- Fortinet: FortiGate 방화벽 정책과 일치 조건
- Palo Alto Networks: PAN-OS 보안 정책
- Palo Alto Networks: 트래픽 로그 항목
- Microsoft Learn: SigninLogs 스키마
- Microsoft Learn: KQL datatable 연산자
- Microsoft Learn: KQL 빠른 참조
- Microsoft Learn: Defender XDR의 인시던트 조사
- 뉴질랜드 정보보안 매뉴얼: 사고 관리