IP S
WITCHING
17-3
If the destination node is on the same subnetwork as the source network,
then the packet can be transmitted directly without the help of a router.
However, if the MAC address is not yet known to the switch, an Address
Resolution Protocol (ARP) packet with the destination IP address is
broadcast to get the destination MAC address from the destination node.
The IP packet can then be sent directly with the destination MAC address.
If the destination belongs to a different subnet on this switch, the packet
can be routed directly to the destination node. However, if the packet
belongs to a subnet not included on this switch, then the packet should be
sent to a router (with the MAC address of the router itself used as the
destination MAC address, and the destination IP address of the destination
node). The router will then forward the packet to the destination node via
the correct path. The router can also use the ARP protocol to find out the
MAC address of the destination node of the next router as necessary.
Note:
In order to perform IP switching, the switch should be recognized
by other network nodes as an IP router, either by setting it as the
default gateway or by redirection from another router via the
ICMP process.
When the switch receives an IP packet addressed to its own MAC address,
the packet follows the Layer 3 routing process. The destination IP address
is checked against the Layer 3 address table. If the address is not already
there, the switch broadcasts an ARP packet to all the ports on the
destination VLAN to find out the destination MAC address. After the
MAC address is discovered, the packet is reformatted and sent out to the
destination. The reformat process includes decreasing the Time-To-Live
(TTL) field of the IP header, recalculating the IP header checksum, and
replacing the destination MAC address with either the MAC address of the
destination node or that of the next hop router.
When another packet destined to the same node arrives, the destination
MAC can be retrieved directly from the Layer 3 address table; the packet is
then reformatted and sent out the destination port. IP switching can be
done at wire-speed when the destination address entry is already in the
Layer 3 address table.
Содержание WPCI-G - annexe 1
Страница 2: ......
Страница 26: ...TABLE OF CONTENTS xxvi ...
Страница 36: ...GETTING STARTED ...
Страница 72: ...MANAGING SYSTEM FILES 2 24 ...
Страница 74: ...SWITCH MANAGEMENT ...
Страница 90: ...CONFIGURING THE SWITCH 3 16 ...
Страница 245: ...SHOWING PORT STATISTICS 8 33 Figure 8 12 Port Statistics ...
Страница 252: ...ADDRESS TABLE SETTINGS 9 6 ...
Страница 318: ...CLASS OF SERVICE 12 16 ...
Страница 330: ...QUALITY OF SERVICE 13 12 ...
Страница 348: ...DOMAIN NAME SERVICE 15 8 ...
Страница 404: ...IP ROUTING 17 44 ...
Страница 406: ...COMMAND LINE INTERFACE ...
Страница 482: ...SYSTEM MANAGEMENT COMMANDS 20 54 Example Console show calendar 15 12 34 February 1 2002 Console ...
Страница 608: ...MIRROR PORT COMMANDS 26 4 ...
Страница 644: ...SPANNING TREE COMMANDS 29 28 ...
Страница 668: ...VLAN COMMANDS 30 24 ...
Страница 686: ...CLASS OF SERVICE COMMANDS 31 18 ...
Страница 700: ...QUALITY OF SERVICE COMMANDS 32 14 ...
Страница 792: ...IP INTERFACE COMMANDS 36 50 ...
Страница 818: ...APPENDICES ...
Страница 824: ...SOFTWARE SPECIFICATIONS A 6 ...
Страница 828: ...TROUBLESHOOTING B 4 ...
Страница 844: ...INDEX Index 6 ...
Страница 845: ......