Switch

Reference: [์ฑ…] IT ์—”์ง€๋‹ˆ์–ด๋ฅผ ์œ„ํ•œ ๋„คํŠธ์›Œํฌ ์ž…๋ฌธ

Before Getting Started

Switch ๋ž€?

  • Network์˜ ๊ฐ€์žฅ ํ•ต์‹ฌ์žฅ๋น„์ธ Switch๋Š” 2๊ณ„์ธต ์ฃผ์†Œ์ธ MAC ์ฃผ์†Œ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ๋™์ž‘ํ•œ๋‹ค

  • Switch๋Š” network ์ค‘๊ฐ„์—์„œ packet์„ ๋ฐ›์•„ ํ•„์š”ํ•œ ๊ณณ์—๋งŒ ๋ณด๋‚ด์ฃผ๋Š” network์˜ ์ค‘์žฌ์ž ์—ญํ• ์„ ํ•œ๋‹ค

    • Switch๋Š” ์•„๋ฌด ์„ค์ • ์—†์ด network์— ์—ฐ๊ฒฐํ•ด๋„ MAC ์ฃผ์†Œ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ packet์„ ์ „๋‹ฌํ•˜๋Š” ๊ธฐ๋ณธ ๋™์ž‘์„ ์ˆ˜ํ–‰ํ•  ์ˆ˜ ์žˆ๋‹ค

  • Switch๋Š” MAC ์ฃผ์†Œ๋ฅผ ์ธ์‹ํ•˜๊ณ  packet์„ ์ „๋‹ฌํ•˜๋Š” switch์˜ ๊ธฐ๋ณธ ๋™์ž‘ ์™ธ์—๋„

    • ํ•œ ๋Œ€์˜ ์žฅ๋น„์—์„œ ๋…ผ๋ฆฌ์ ์œผ๋กœ network๋ฅผ ๋ถ„๋ฆฌํ•  ์ˆ˜ ์žˆ๋Š” VLAN ๊ธฐ๋Šฅ,

    • Network Loop๋ฅผ ๋ฐฉ์ง€ํ•˜๋Š” STP (Spanning Tree Protocol)๊ณผ ๊ฐ™์€ ๊ธฐ๋Šฅ์„ ๊ธฐ๋ณธ์ ์œผ๋กœ ๊ฐ€์ง€๊ณ  ์žˆ๋‹ค

Swtich ์žฅ๋น„ ๋™์ž‘

  • Switch๋Š” network์—์„œ ํ†ต์‹ ์„ ์ค‘์žฌํ•˜๋Š” ์žฅ๋น„์ด๋‹ค

  • Switch๊ฐ€ ์—†๋˜ ์˜ค๋ž˜๋œ Ethernet Network์—์„œ๋Š” packet์„ ์ „์†กํ•  ๋•Œ ์„œ๋กœ ๊ฒฝํ•ฉํ•ด ๊ทธ๋กœ ์ธํ•œ network ์„ฑ๋Šฅ ์ €ํ•˜๊ฐ€ ์ปธ๋‹ค

    • ์ด๋Ÿฐ ๊ฒฝ์Ÿ์„ ์—†์• ๊ณ  packet์„ ๋™์‹œ์— ์—ฌ๋Ÿฌ ์žฅ๋น„๊ฐ€ ์„œ๋กœ ๊ฐ„์„ญ ์—†์ด ํ†ต์‹ ํ•  ์ˆ˜ ์žˆ๋„๋ก ๋„์™€์ฃผ๋Š” ์žฅ๋น„๊ฐ€ Switch ์ด๋‹ค

      • Switch๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ์—ฌ๋Ÿฌ ๋‹จ๋ง์ด ํ•œ๋ฒˆ์— ํ†ต์‹ ํ•  ์ˆ˜ ์žˆ์–ด ํ†ต์‹ ํ•˜๊ธฐ ์œ„ํ•ด ๊ธฐ๋‹ค๋ฆฌ๊ฑฐ๋‚˜ ์ถฉ๋Œ ๋•Œ๋ฌธ์— ๋Œ€๊ธฐ ํ•˜๋Š” ๋ฌธ์ œ๊ฐ€ ํ•ด๊ฒฐ๋˜๊ณ  network ์ „์ฒด์˜ ํ†ต์‹  ํšจ์œจ์„ฑ์ด ํ–ฅ์ƒ๋œ๋‹ค

  • Switch์˜ ํ•ต์‹ฌ ์—ญํ• ์€ ๋ˆ„๊ฐ€ ์–ด๋Š ์œ„์น˜์— ์žˆ๋Š”์ง€ ํŒŒ์•…ํ•˜๊ณ  ์‹ค์ œ ํ†ต์‹ ์ด ์‹œ์ž‘๋˜๋ฉด ์ž์‹ ์ด ์•Œ๊ณ  ์žˆ๋Š” ์œ„์น˜๋กœ packet์„ ์ •ํ™•ํžˆ ์ „์†กํ•˜๋Š” ๊ฒƒ์ด๋‹ค

    • ์ด๋Ÿฐ ๋™์ž‘์€ Swith๊ฐ€ 2๊ณ„์ธต ์ฃผ์†Œ๋ฅผ ์ดํ•ดํ•˜๊ณ ,

      • ๋‹จ๋ง์˜ ์ฃผ์†Œ์ธ MAC ์ฃผ์†Œ์™€ ๋‹จ๋ง์ด ์œ„์น˜ํ•˜๋Š” Interface ์ •๋ณด๋ฅผ mappingํ•œ MAC Address Table์„ ๊ฐ–๊ณ  ์žˆ์–ด์„œ ๊ฐ€๋Šฅํ•˜๋‹ค

  • Switch๋Š” ์ „์†กํ•˜๋ ค๋Š” packet์˜ header ์•ˆ์— ์žˆ๋Š” 2๊ณ„์ธต ๋ชฉ์ ์ง€ ์ฃผ์†Œ๋ฅผ ํ™•์ธํ•˜๊ณ , MAC Address Table์—์„œ ํ•ด๋‹น ์ฃผ์†Œ๊ฐ€ ์–ด๋Š port์— ์žˆ๋Š”์ง€ ํ™•์ธํ•ด ํ•ด๋‹น packet์„ ๊ทธ port๋กœ๋งŒ ์ „์†ก ํ•œ๋‹ค

    • ์ด๋Ÿฐ ์—ญํ• ์„ ์ˆ˜ํ–‰ํ•˜๊ธฐ ์œ„ํ•ด Switch๋Š” MAC ์ฃผ์†Œ์™€ port๊ฐ€ mapping ๋œ MAC Address Table์ด ํ•„์š”ํ•˜๋‹ค

      • ๋งŒ์•ฝ Table์ด ์—†๋Š” ๋„์ฐฉ์ง€ ์ฃผ์†Œ๋ฅผ ๊ฐ€์ง„ packet์ด switch๋กœ ๋“ค์–ด์˜ค๋ฉด,

        • Switch๋Š” ์ „์ฒด port๋กœ packet์„ ์ „์†กํ•œ๋‹ค

      • Packet์˜ ๋„์ฐฉ์ง€ ์ฃผ์†Œ๊ฐ€ Table์— ์žˆ์œผ๋ฉด,

        • ํ•ด๋‹น ์ฃผ์†Œ๊ฐ€ mapping ๋œ port๋กœ๋งŒ packet์„ ์ „์†กํ•˜๊ณ , ๋‹ค๋ฅธ port๋กœ๋Š” ์ „์†กํ•˜์ง€ ์•Š๋Š”๋‹ค

    • Switch์˜ ์œ„์™€ ๊ฐ™์€ ๋™์ž‘ ๋ฐฉ์‹์€ ์•„๋ž˜์˜ 3๊ฐ€์ง€๋กœ ์ •๋ฆฌํ•  ์ˆ˜ ์žˆ๋‹ค

      1. Flooding

      2. Address Learning

      3. Fowarding/Filtering

1. Flooding

  • Switch๋Š” ๋ถ€ํŒ…ํ•˜๋ฉด network ๊ด€๋ จ ์ •๋ณด๊ฐ€ ์•„๋ฌด๊ฒƒ๋„ ์—†๋‹ค

    • ์ด๋•Œ switch๋Š” network ํ†ต์‹ ์„ ์ค‘์žฌํ•˜๋Š” ์ž์‹ ์˜ ์—ญํ• ์„ ๋‹คํ•˜์ง€ ๋ชปํ•˜๊ณ  ๋งˆ์น˜ hub์ฒ˜๋Ÿผ ๋™์ž‘ํ•œ๋‹ค

      • Hub๋Š” ๋“ค์–ด์˜จ port๋ฅผ ์ œ์™ธํ•˜๊ณ  ๋ชจ๋“  port๋กœ packet์„ ์ „๋‹ฌํ•œ๋‹ค

        • Switch๊ฐ€ hub์™€ ๊ฐ™์ด ๋ชจ๋“  port๋กœ packet์„ ํ˜๋ฆฌ๋Š” ๋™์ž‘ ๋ฐฉ์‹์„ Flooding์ด๋ผ๊ณ  ํ•œ๋‹ค

  • Switch๋Š” packet์ด ๋“ค์–ด์˜ค๋ฉด ๋„์ฐฉ์ง€ MAC ์ฃผ์†Œ๋ฅผ ํ™•์ธํ•˜๊ณ , ์ž์‹ ์ด ๊ฐ–๊ณ  ์žˆ๋Š” MAC Address Table์—์„œ ํ•ด๋‹น MAC ์ฃผ์†Œ๊ฐ€ ์žˆ๋Š”์ง€ ํ™•์ธํ•œ๋‹ค

    • MAC Address Table์— matching๋˜๋Š” ๋ชฉ์ ์ง€ MAC ์ฃผ์†Œ ์ •๋ณด๊ฐ€ ์—†์œผ๋ฉด ๋ชจ๋“  port์— ๊ฐ™์€ ๋‚ด์šฉ์˜ packet์„ ์ „์†กํ•œ๋‹ค

      • Switch๋Š” LAN์—์„œ ๋™์ž‘ํ•˜๋ฏ€๋กœ, ์ž์‹ ์ด ์ •๋ณด๋ฅผ ๊ฐ–๊ณ  ์žˆ์ง€ ์•Š์•„๋„ ์–ด๋”˜๊ฐ€์— ์žฅ๋น„๊ฐ€ ์žˆ์„ ์ˆ˜ ์žˆ๋‹ค๋Š” ๊ฐ€์ • ํ•˜์— ์œ„์™€ ๊ฐ™์€ ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•œ๋‹ค

  • Flooding ๋™์ž‘์€ Switch์˜ ์ •์ƒ์ ์ธ ๋™์ž‘์ด์ง€๋งŒ, ์ด๋Ÿฐ ๋™์ž‘์ด ๋งŽ์•„์ง€๋ฉด Switch๊ฐ€ ์ œ ์—ญํ• ์„ ๋ชปํ•˜๊ฒŒ ๋œ๋‹ค

    • Packet์ด switch์— ๋“ค์–ด์˜ค๋ฉด ํ•ด๋‹น packet ์ •๋ณด์˜ MAC ์ฃผ์†Œ๋ฅผ ๋ณด๊ณ  ์ด๋ฅผ ํ•™์Šตํ•ด MAC Address Table์„ ๋งŒ๋“  ํ›„ ์ด๋ฅผ ํ†ตํ•ด packet์„ ์ „์†กํ•œ๋‹ค

๋น„์ •์ƒ์ ์ธ Flooding

  • Switch๊ฐ€ packet์„ floodingํ•œ๋‹ค๋Š” ๊ฒƒ์€ switch๊ฐ€ ์ œ ๊ธฐ๋Šฅ์„ ๋ชปํ•œ๋‹ค๋Š” ๋œป์ด๋‹ค

    • Ethernet - TCP/IP network์—์„œ๋Š” ARP Broadcast๋ฅผ ๋ฏธ๋ฆฌ ์ฃผ๊ณ ๋ฐ›์€ ํ›„ data๊ฐ€ ์ „๋‹ฌ๋˜๋ฏ€๋กœ ์‹ค์ œ๋กœ data๋ฅผ ๋ณด๋‚ด๊ณ  ๋ฐ›์„ ๋•Œ๋Š” switch๊ฐ€ packet์„ flooding ํ•˜์ง€ ์•Š๋Š”๋‹ค

  • Switch๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ํ•„์š”ํ•œ ๊ณณ์—๋งŒ packet์„ forwardingํ•˜๋ฏ€๋กœ ์ฃผ๋ณ€ ํ†ต์‹ ์„ ์•…์˜์ ์œผ๋กœ ๊ฐ€๋กœ์ฑ„๊ธฐ ํž˜๋“ค์–ด ๋ชจ๋“  packet์„ floodingํ•˜๋Š” hub ์— ๋น„ํ•ด ๋ณด์•ˆ์— ๋„์›€์ด ๋œ๋‹ค

    • ์ด๋Ÿฐ switch์˜ ๊ธฐ๋Šฅ์„ ๋ฌด๋ ฅํ™”ํ•ด ์ฃผ๋ณ€ ํ†ต์‹ ์„ ๋ชจ๋‹ˆํ„ฐ๋งํ•˜๋Š” ๊ณต๊ฒฉ ๊ธฐ๋ฒ•์ด ์‚ฌ์šฉ๋œ๋‹ค

      • ex)

        • Switch์—๊ฒŒ ์—‰๋šฑํ•œ MAC address๋ฅผ ์Šต๋“์‹œํ‚ค๊ฑฐ๋‚˜

        • Switch์˜ MAC Address Table์„ ๊ฝ‰ ์ฐจ๊ฒŒ ํ•ด switch flooding ๋™์ž‘์„ ์œ ๋„ํ•  ์ˆ˜ ์žˆ๋‹ค

    • ๋งŒ์•ฝ switch๊ฐ€ ์•„๋ฌด ์ด์œ ์—†์ด packet์„ flooding ํ•œ๋‹ค๋ฉด,

      • Switch๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ๋™์ž‘ํ•˜์ง€ ์•Š๊ฑฐ๋‚˜

      • ์ฃผ๋ณ€์—์„œ ๊ณต๊ฒฉ์ด ์ˆ˜ํ–‰๋˜๋Š” ์ƒํ™ฉ์ผ ์ˆ˜ ์žˆ๋‹ค

  • ์ด์™ธ์—๋„ ARP poisoning ๊ธฐ๋ฒ•์„ ์ด์šฉํ•ด ๋ชจ๋‹ˆํ„ฐ๋งํ•ด์•ผ ํ•  IP์˜ MAC ์ฃผ์†Œ๊ฐ€ ๊ณต๊ฒฉ์ž ์ž์‹ ์ธ ๊ฒƒ์ฒ˜๋Ÿผ ์†์—ฌ ์›ํ•˜๋Š” ํ†ต์‹ ์„ ๋ฐ›๋Š” ๋ฐฉ๋ฒ•์„ ์‚ฌ์šฉํ•˜๊ธฐ๋„ ํ•˜๋ฏ€๋กœ ์œ ์˜ํ•ด์•ผ ํ•œ๋‹ค

2. Address Learning

  • Switch๊ฐ€ packet์˜ ๋„์ฐฉ์ง€ MAC ์ฃผ์†Œ๋ฅผ ํ™•์ธํ•˜์—ฌ ์›ํ•˜๋Š” port๋กœ forwardingํ•˜๋Š” switch์˜ ๋™์ž‘์„ ์ •์ƒ์ ์œผ๋กœ ์ˆ˜ํ–‰ํ•˜๋ ค๋ฉด MAC Address Table์„ ๋งŒ๋“ค๊ณ  ์œ ์ง€ํ•ด์•ผ ํ•œ๋‹ค

    • MAC Address Table์€ ์–ด๋Š ์œ„์น˜ (port)์— ์–ด๋–ค ์žฅ๋น„ (MAC ์ฃผ์†Œ)๊ฐ€ ์—ฐ๊ฒฐ๋˜์—ˆ๋Š”์ง€์— ๋Œ€ํ•œ ์ •๋ณด๊ฐ€ ์ €์žฅ๋˜์–ด ์žˆ๋Š” ์ž„์‹œ table์ด๋‹ค

      • ์ด๋Ÿฐ MAC Address Table์„ ๋งŒ๋“ค๊ณ  ์œ ์ง€ํ•˜๋Š” ๊ณผ์ •์„ Address Learning์ด๋ผ๊ณ  ํ•œ๋‹ค

  • Address Learning์€ packet์˜ ์ถœ๋ฐœ์ง€ MAC ์ฃผ์†Œ ์ •๋ณด๋ฅผ ์ด์šฉํ•œ๋‹ค

    • Packet์ด ํŠน์ • port์— ๋“ค์–ด์˜ค๋ฉด switch์—๋Š” ํ•ด๋‹น packet์˜ ์ถœ๋ฐœ์ง€ MAC ์ฃผ์†Œ์™€ port ๋ฒˆํ˜ธ๋ฅผ MAC Addrss Table์— ๊ธฐ๋กํ•œ๋‹ค

      • 1๋ฒˆ port์—์„œ ๋“ค์–ด์˜จ packet์˜ ์ถœ๋ฐœ์ง€ MAC ์ฃผ์†Œ๊ฐ€ AAAA๋ผ๋ฉด, 1๋ฒˆ port์— AAAA MAC ์ฃผ์†Œ๋ฅผ ๊ฐ€์ง„ ์žฅ๋น„๊ฐ€ ์—ฐ๊ฒฐ๋˜์–ด ์žˆ๋”ฐ๊ณ  ์ถ”๋ก ํ•  ์ˆ˜ ์žˆ์–ด ์ด๋Ÿฐ ๋ฐฉ๋ฒ•์œผ๋กœ ์ •๋ณด๋ฅผ ์Šต๋“ํ•œ๋‹ค

  • Address Learning์€ MAC ์ฃผ์†Œ ์ •๋ณด๋ฅผ ์‚ฌ์šฉํ•˜๋ฏ€๋กœ broadcast๋‚˜ multicast์— ๋Œ€ํ•œ MAC ์ฃผ์†Œ๋ฅผ ํ•™์Šตํ•  ์ˆ˜ ์—†๋‹ค

    • ๋‘ ๊ฐ€์ง€ ๋ชจ๋‘ ๋ชฉ์ ์ง€ MAC ์ฃผ์†Œ field์—์„œ๋งŒ ์‚ฌ์šฉํ•˜๊ธฐ ๋•Œ๋ฌธ์ด๋‹ค!

์‚ฌ์ „ ์ •์˜๋œ MAC Address Table

  • Switch๋Š” MAC address learning ์ž‘์—…์œผ๋กœ ์ฃผ๋ณ€ ์žฅ๋น„์˜ MAC ์ฃผ์†Œ๋ฅผ ํ•™์Šตํ•˜๋Š” ๊ฒƒ ์™ธ์—๋„ ์‚ฌ์ „์— ๋ฏธ๋ฆฌ ์ •์˜๋œ MAC ์ฃผ์†Œ ์ •๋ณด๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ๋‹ค

    • ์ด๋Ÿฐ ์‚ฌ์ „ ์ •์˜๋œ ์ฃผ์†Œ๋Š” packet์„ ์ฒ˜๋ฆฌํ•˜๊ธฐ ์œ„ํ•œ ์ฃผ์†Œ๊ฐ€ ์•„๋‹ˆ๋ผ ๋Œ€๋ถ€๋ถ„ switch ๊ฐ„ ํ†ต์‹ ์„ ์œ„ํ•ด ์‚ฌ์šฉ๋˜๋Š” ์ฃผ์†Œ์ด๋‹ค

    • ์ด๋Ÿฌํ•œ ์ข…๋ฅ˜์˜ ์ฃผ์†Œ๋„ MAC Address Table์—์„œ ์ •๋ณด๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋Š”๋ฐ switch์—์„œ ์ž์ฒด ์ฒ˜๋ฆฌ๋˜๋Š” ์ฃผ์†Œ๋Š” ํŠน์ • port๋กœ ๋‚ด๋ณด๋‚ด๋Š” ๊ฒƒ์ด ์•„๋‹ˆ๋ผ switch์—์„œ ์ž์ฒด ์ฒ˜๋ฆฌํ•˜๋ฏ€๋กœ

      • ์ธ์ ‘ port ์ •๋ณด๊ฐ€ ์—†๊ฑฐ๋‚˜

      • CPU ํ˜น์€ ๊ด€๋ฆฌ module์„ ์ง€์ •ํ•˜๋Š” ์š”์–ด๋กœ ํ‘œ๊ธฐ๋œ๋‹ค

3. Forwarding/Filtering

  • Switch์˜ ๋™์ž‘์€ ๋งค์šฐ ๊ฐ„๋‹จํ•œ๋ฐ, Packet์ด switch์— ๋“ค์–ด์˜จ ๊ฒฝ์šฐ

    • ๋„์ฐฉ์ง€ MAC ์ฃผ์†Œ๋ฅผ ํ™•์ธํ•˜๊ณ 

    • ์ž์‹ ์ด ๊ฐ€์ง„ MAC Address Table๊ณผ ๋น„๊ตํ•ด ๋งž๋Š” ์ •๋ณด๊ฐ€ ์žˆ์œผ๋ฉด match๋˜๋Š” ํ•ด๋‹น port๋กœ packet์„ forwardingํ•œ๋‹ค

      • ์ด๋•Œ, ๋‹ค๋ฅธ port๋กœ๋Š” ํ•ด๋‹น packet์„ ๋ณด๋‚ด์ง€ ์•Š์œผ๋ฏ€๋กœ ์ด ๋™์ž‘์„ filtering์ด๋ผ๊ณ  ํ•œ๋‹ค

  • Switch๋Š” fowarding๊ณผ filtering์„ ํ†ตํ•ด ๋ชฉ์ ์ง€๋กœ๋งŒ packet์ด ์ „๋‹ฌ๋˜๋„๋ก ๋™์ž‘ํ•œ๋‹ค

  • Switch์—์„œ๋Š” forwarding๊ณผ filtering ์ž‘์—…์ด ์—ฌ๋Ÿฌ port์—์„œ ๋™์‹œ์— ์ˆ˜ํ–‰๋  ์ˆ˜ ์žˆ๋‹ค

    • ํ†ต์‹ ์ด ๋‹ค๋ฅธ port์— ์˜ํ–ฅ์„ ๋ฏธ์น˜์ง€ ์•Š์œผ๋ฏ€๋กœ, ๋‹ค๋ฅธ port์—์„œ ๊ธฐ์กด ํ†ต์‹  ์ž‘์—…์œผ๋กœ๋ถ€ํ„ฐ ๋…๋ฆฝ์ ์œผ๋กœ ๋™์ž‘ํ•  ์ˆ˜ ์žˆ๋‹ค

  • Switch๋Š” ์ผ๋ฐ˜์ ์ธ Unicast์— ๋Œ€ํ•ด์„œ๋งŒ forwarding๊ณผ filtering ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•œ๋‹ค

    • BUM Traffic์ด๋ผ๊ณ  ๋ถ€๋ฅด๋Š” Broadcast, Unknown Unicast, Multicast๋Š” ์กฐ๊ธˆ ๋‹ค๋ฅด๊ฒŒ ๋™์ž‘ํ•œ๋‹ค

      • ์ถœ๋ฐœ์ง€ MAC ์ฃผ์†Œ๋กœ broadcast๋‚˜ multicast ๋ชจ๋‘ ์ถœ๋ฐœ์ง€๊ฐ€ ์‚ฌ์šฉ๋˜์ง€ ์•Š์œผ๋ฏ€๋กœ, ํ•ด๋‹น traffic์€ ์ „๋‹ฌ์ด๋‚˜ filtering ์ž‘์—…์„ ํ•˜์ง€ ์•Š๊ณ  ๋ชจ๋‘ floodingํ•œ๋‹ค

      • Unkonw Unicast๋„ MAC Table์— ์—†๋Š” ์ฃผ์†Œ์ด๋ฏ€๋กœ broadcast์™€ ๋™์ผํ•˜๊ฒŒ flooding ํ•œ๋‹ค

.

LAN์—์„œ์˜ ARP - Switch ๋™์ž‘

  • Ethernet - TCP/IP network์—์„œ๋Š” switch๊ฐ€ unicast๋ฅผ floodingํ•˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ๊ฑฐ์˜ ์—†๋‹ค

    • Packet์„ ๋งŒ๋“ค๊ธฐ ์ „์— ํ†ต์‹ ํ•ด์•ผ ํ•˜๋Š” ๋‹จ๋ง์˜ MAC ์ฃผ์†Œ๋ฅผ ์•Œ์•„๋‚ด๊ธฐ ์œ„ํ•ด ARP Broadcast๊ฐ€ ๋จผ์ € ์ˆ˜ํ–‰๋˜์–ด์•ผ ํ•˜๋ฏ€๋กœ Unicast๋ณด๋‹ค ARP Broadcast๊ฐ€ ๋จผ์ € network์— ์ „๋‹ฌ๋œ๋‹ค

      • ์ด ARP๋ฅผ ์ด์šฉํ•œ MAC ์ฃผ์†Œ ์Šต๋“ ๊ณผ์ •์—์„œ ์ด๋ฏธ switch๋Š” ํ†ต์‹ ํ•˜๋Š” ์ถœ๋ฐœ์ง€์™€ ๋ชฉ์ ์ง€์˜ MAC ์ฃผ์†Œ๋ฅผ ์Šต๋“ํ•  ์ˆ˜ ์žˆ๊ณ , ์‹ค์ œ unicast ํ†ต์‹ ์ด ์‹œ์ž‘๋˜๋ฉด ์ด๋ฏธ ๋งŒ๋“ค์–ด์ง„ MAC Address Table๋กœ packet์„ forwarding, filteringํ•œ๋‹ค

  • ARP์™€ MAC Table์€ ์ผ์ • ์‹œ๊ฐ„ ๋™์•ˆ ์ง€์›Œ์ง€์ง€ ์•Š๋Š”๋ฐ, ์ด ์‹œ๊ฐ„์„ aging time์ด๋ผ๊ณ  ํ•œ๋‹ค

    • ์ผ๋ฐ˜์ ์œผ๋กœ MAC Table์˜ aging time์ด ๋‹จ๋ง์˜ ARP aging time๋ณด๋‹ค ๊ธธ์–ด์„œ Ethernet network๋ฅผ flooding์—†์ด ํšจ์œจ์ ์œผ๋กœ ์šด์˜ํ•  ์ˆ˜ ์žˆ๋‹ค

Last updated