摘要 |
PURPOSE: A method of forwarding a high speed packet between different virtual LANs is provided to perform a routing in a switch during communication between virtual LANs of different groups, and to forward a packet with a receiver address, thereby improving packet switching and router performance. CONSTITUTION: The first host attempts transmitting a data packet to the second host(S301), and decides whether subnet between a transmitter and a receiver is the same(S302). The first host transmits an ARP(Address Resolution Protocol)_Request packet(S303), and a CPU responds to the first host by loading a self MAC address into an ARP_Reply packet(S304). The first host transmits a substantial data packet to the CPU(S305). The CPU retrieves a cashing table(S306), and retrieves a routing table to know whether a receiver entry exists in the routing table(S307). If so, the CPU performs a routing to a default gateway for the receiver address(S308), and retrieves an ARP table(S309). The ARP_Request packet is broadcasted to all ports of the second virtual LAN group including the receiver address(S310). The second host responds to the ARP-Reply packet by loading a self MAC address into the packet(S311). The CPU transmits the substantial data packet to the receiver address(S312), and stores forwarding information on the receiver address(S313). The substantial data packet is forwarded to a port having the receiver address(S314), and the second host located in the receiver address receives the data packet(S315). |