본문 바로가기

Developer/Theory

[ 네트워크 ] 유니캐스팅 , 브로드캐스팅 , 멀티캐스팅

[ 네트워크 ] 유니캐스팅 , 브로드캐스팅 , 멀티캐스팅

[ Network ] Unicasting, broadcasting, multicasting



유니캐스팅




MAC 주소를 기반으로 한 출발지 주소와 목적지 주소의 일대일 통신방식 (TCP) . 


하나의 출발지 MAC주소가 다른 하나의 목적지 MAC주소에게 데이터(패킷)를 전송하는 방식.

랜카드에서 자신의 MAC 주소가 아닌 경우 해당 통신을 수신하지 않고 버리고, 만약 자신의 MAC 주소와 일치할 경우, 해당 데이터을 CPU에 전달하는 방식.


장점 : CPU 성능 유지 ( CPU 효율 저하 방지 )

단점 : 다수의 목적지(MAC 주소)에 전송할 경우, 같은 행동을 여러 번 반복(전송)해야하므로, 네트워크 효율 저하



One-to-one communication method (TCP) between source address and destination address based on MAC address.

A method in which one source MAC address transmits data (packet) to another destination MAC address.

If the MAC address is not in the LAN card, it is discarded without receiving the communication, and if the MAC address matches the MAC address, the data is transmitted to the CPU.

Advantages: Maintain CPU performance (Prevent degradation of CPU efficiency)
Disadvantage: When transmitting to multiple destinations (MAC address), the same behavior must be repeated (transmission) several times,



브로드캐스팅



네트워크 내에 모든 네트워크 장비에게 전송하는 일대다 방식 (UDP).


하나의 출발지 MAC주소에서 라우터에 연결댄 네트워크내 모든 장비에 데이터(패킷)를 전송하는 방식.

브로드 캐스팅의 MAC 주소는 FF:FF:FF:FF:FF:FF 로 미리 정해져 있으며, 해당 주소일 경우 랜카드는 자신의 MAC 주소와 일치하지 않지만, 

데이터를 CPU가 전달하는 방식


장점 : 필요한 경우가 존재하기때문에 존재하는 방식.

단점 : 불필요한 데이터 수신으로 인한, CPU 성능 저하. 불필요한 데이터 송신으로 인한 인터럽트 발생. 




One-to-many (UDP) to transmit to all network equipment in the network.


A method of transmitting data (packets) to all devices in a network connected to a router at a source MAC address.


The MAC address of broadcasting is predetermined by FF: FF: FF: FF: FF: FF. In the case of the corresponding address, the LAN card does not match its MAC address,


How the CPU delivers the data


Advantages: the way it exists because there are cases where necessary.

Cons: CPU performance degradation due to unnecessary data reception. Interrupt caused by unnecessary data transmission.





멀티캐스팅




하나 이상의 네트워크 장비 그룹에게 한번에 데이터를 보내는 방식(UDP).


하나의 출발지 MAC주소와 원하는 네트워크 장비들에게만 한번에 데이터를 전달하는 방식. 유니캐스트의 목적지 지정 방식과, 브로드캐스팅의 한번에 여러 네트워크 장비에 전달하는 방식을 합치어진 방법이라고 볼 수 있다. 




A method of sending data to one or more groups of network devices at once (UDP).


A source MAC address and a method to forward data to only the desired network devices at once. Unicast destination designation and broadcasting can be seen as a combination of multiple network devices at once.









부족한 내용, 틀린 내용, 지적하고 싶은 부분, 공감되는 부분 

댓글 , 공감등을 통한 참여는 언제든지 환영합니다.

 지식 공유를 통해 함께 앞으로 

나아갈 수 있도록 도와주시면 감사하겠습니다. ^^


★ 공감, 광고 클릭 한번으로 저에게 큰 힘이 됩니다 ★