摘要 |
PURPOSE: A packet switching method between VLANs(Virtual Local Area Networks) is provided to execute communication without using a router by making a 2-layer switch cover routing execution. CONSTITUTION: If a packet is received from the first host(A)(S10), the second host(B) judges whether the subnet of the source of the received packet is identical to the subnet of the destination(S11). If identical, the second host judges that the received packet is an intra traffic that belongs to the same VLAN. If an ARP(Address Read Protocol)_Request signal to read the MAC address of the second host is transmitted from the first host(S12), the second host judges whether it is a new MAC address(S14). In case that it is a new MAC address, the second host registers the source MAC address and port number of the packet in a MAC address table and transmits the registered MAC address to a CPU and the VLAN of the first host at the same time(S15,S16). If an ARP_Request packet is received(S17), the second host judges whether it is a new MAC address(S18,S19). If it is a new MAC address, the second host executes the above steps(S15,S16) again(S20,S21) and transmits an ARP_Response packet to the first host so that the first host can transmit a data packet to the second host through the MAC address of the second host(S22,S23).
|