ARP(Address Resolution Protocol)
Network

ARP(Address Resolution Protocol)

1. ARP(Address Resolution Protocol)

- ๊ฐ™์€ ๋„คํŠธ์›Œํฌ ์•ˆ์—์„œ ํŠน์ • IP ์ฃผ์†Œ๋ฅผ ๊ฐ€์ง„ MAC ์ฃผ์†Œ๋ฅผ ์•Œ์•„๋‚ด์–ด L2 ํ†ต์‹ ์„ ํ•˜๊ธฐ ์œ„ํ•จ

- ๋„คํŠธ์›Œํฌ ํ†ต์‹ ์€ IP ์ฃผ์†Œ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•˜๋ฉฐ Destination IP ์ฃผ์†Œ๋ฅผ ๊ฐ€์ง€๊ณ  L3 ์˜์—ญ๊นŒ์ง€ ๋„์ฐฉํ•˜๊ณ  L2 ์Šค์œ„์น˜๋ฅผ ํ†ตํ•˜์—ฌ MAC ์ฃผ์†Œ๋ฅผ ์•Œ์•„๋‚ด์–ด L2 End to End ํ†ต์‹ ์„ ํ•จ

- ๋ฌด์„  AP๊ฐ€ ํŠน์ • IP ์ฃผ์†Œ์˜ MAC ์ฃผ์†Œ๋ฅผ ์•Œ์•„๋‚ด๊ธฐ ์œ„ํ•˜์—ฌ Broadcast๋กœ ARP Reqeust(Who has ํŠน์ • IP?)

- ํŠน์ • IP๋ฅผ ๊ฐ€์ง„ ์žฅ๋น„๊ฐ€ ๋ฌด์„  AP๋กœ MAC ์ฃผ์†Œ Unicast๋กœ ARP Reply(ํŠน์ • IP is at MAC ์ฃผ์†Œ)

- ์‹ค์ œ 192.168.219.194 IP ์ฃผ์†Œ๊ฐ€ 90:9c:4a:c8:a4:44 MAC ์ฃผ์†Œ๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ์Œ

- PC์˜ ARP Table ํ™•์ธ ๊ฐ€๋Šฅ(Aging Time์— ๋”ฐ๋ผ ARP Table์ด ๊ฐฑ์‹ )

 

2. RARP(Reverse Resolution Protocol)

- ARP์™€ ๋ฐ˜๋Œ€๋กœ ํŠน์ • MAC ์ฃผ์†Œ๋ฅผ ๊ฐ€์ง€๊ณ  IP ์ฃผ์†Œ๋ฅผ ์•Œ์•„๋‚ด๊ธฐ ์œ„ํ•จ

- ๋””์Šคํฌ๊ฐ€ ์—†๋Š” ์‹œ์Šคํ…œ์˜ ๊ฒฝ์šฐ ํŠน์ˆ˜ํ•˜๊ฒŒ ์‚ฌ์šฉ๋˜๋ฉฐ ์ผ๋ฐ˜์ ์œผ๋กœ๋Š” ์‚ฌ์šฉ๋˜์ง€ ์•Š์Œ

 

3. GARP(Gratutious ARP)

- Source์™€ Destination ์ •๋ณด๊ฐ€ ๋™์ผํ•˜์—ฌ ์ž๊ธฐ ์ž์‹ ์ด ์—ฌ์ „ํžˆ ํ•ด๋‹น IP ์ฃผ์†Œ๋ฅผ ์‚ฌ์šฉ ์ค‘์ž„์„ ์•Œ๋ฆฌ๊ธฐ ์œ„ํ•จ

- ARP Table ๊ฐฑ์‹ ๊ณผ IP ์ฃผ์†Œ ์ถฉ๋Œ์„ ๋ง‰๊ณ ์ž PC๊ฐ€ ๋งŒ๋“ฆ