2023. 8. 29. 17:01ㆍ네트워크
Switch
동일 네트워크 간의 통신
pc1 ----SW...---- pc2
1. end host 간의 ip 대역이 같아야 한다
2. end host 간의 mac 주소 교환
> arp table 구축: arp table = 상대방 ip : 상대방 mac [show arp, arp -a]
arp request > arp reply > arp table 구축
3. 스위치는 arp를 중계하면서 mac table을 구축
4. vlan-table > show vlan brief*************
5. trunk 연결 > show int trunk************
access layer > ASW
distribute layer > DSW
core layer > CSW
proxy arp 라우터가 ARP를 수신했을 때 해당 네트워크가 자신의 라이팅 테이블에 있으면 자신의 MAC 주소를 알려줌
inverse arp Frame-Relay 환경에서 자동적으로 DLCI(Data Link Connection Identifier)를 IP로 변환시켜 통신할 수 있게 해줌
gratuitous arp 1. IP충돌 감지 2. ARP table refresh 3. 게이트웨이 이중화 프로토콜 사용 시 active 라우터가 스위치의 MAC table 정보 refresh
show cdp nei
show int status
show mac add --> 동적으로 학습한 mac table 확인
실습