

Because the router interfaces were connected to VLANs and had IP addresses from that specific VLAN, routing between VLANs was achieved. Packets would arrive on the router through one through interface, be routed and leave through another. Each VLAN was connected to a different physical router interface. Konfigurasi VLAN bermanfaat untuk mengkontrol size broadcast domain dan menjaga trafik local Untuk dapat mengkoneksikan end-device didalam satu VLAN dengan VLAN lainnya dibutuhkan komunikasi intervlan InterVLAN membutuhkan interface fisik router atau subinterface router sebagai gateway masing-masing Penggunaan sub-interface router untuk inter-vlan disebut sebagai router-on-stick Sub-interface router untuk intervlan membutuhkan protocol trunking ISL atau 802.1qħ Router-on-stick 元 Switch dengan SVI Per-interface intervlan routing CARA KONFIGURASI INTERVLANĨ Pilih interface router Setting sub-interface KONFIGURASI ROUTER- ON-STICK Setting protocol trunking ISL atau 802.1qġ0 In the past: INTER-VLAN ROUTING OPERATION LEGACY INTER-VLAN ROUTING Actual routers were used to route between VLANs. Inter-VLAN routing is a process for forwarding network traffic from one VLAN to another, using a router.Ħ BAGAIMANA INTERLVLAN ROUTING BEKERJA? Device network yang berbeda VLAN tidak dapat berkomunukasi dengan device lainnya tanpa routing dan switch 元, yang berfungsi untuk merutekan trafik antar VLAN. The router then sends the unicast traffic to the switch, which forwards it out the port where the destination device is connected.Ĭlick the Play button in the figure to view how legacy inter-VLAN routing is accomplished.Įven though there are many steps in the process of inter-VLAN routing, when two devices on different VLANs communicate through a router, the entire process happens in a fraction of a second.5 INTER-VLAN ROUTING OPERATION WHAT IS INTER-VLAN ROUTING? Layer 2 switches cannot forward traffic between VLANs without the assistance of a router.
Configure legacy inter vlan routing mac#
The destination device responds back to the router with its MAC address, which the router then uses to frame the packet. If the router determines that the destination network is a locally connected network, as is the case with inter-VLAN routing, the router sends an ARP request out the interface physically connected to the destination VLAN. The router compares the destination address to entries in its routing table to determine where it needs to forward the data to reach its final destination. When the frame arrives at the router, the router removes the source and destination MAC address information to examine the destination IP address of the packet. When the router sends its ARP reply back to the source device, the source device can use the MAC address to finish framing the packet before it sends it out on the network as unicast traffic.īecause the Ethernet frame has the destination MAC address of the router interface, the switch knows exactly which switch port to forward the unicast traffic out of to reach the router interface for that VLAN. When the source device has determined that the packet must travel through the local router interface on the connected VLAN, the source device sends out an ARP request to determine the MAC address of the local router interface. The IP address of the router interface on the local subnet acts as the default gateway for the sending device. The default gateway is the route that the device uses when it has no other explicitly defined route to the destination network. Devices use their default gateway as the Layer 2 destination for all traffic that must leave the local subnet. The source device examines the local routing table to determine where it needs to send the data. When the destination IP address has been determined to be on a remote network, the source device must identify where it needs to forward the packet to reach the destination device. The source device accomplishes this by comparing the source and destination IP addresses against the subnet mask. The routing process requires the source device to determine if the destination device is local or remote to the local subnet.

In this configuration, network devices can use the router as a gateway to access the devices connected to the other VLANs.

By configuring the IP addresses on the physical interfaces, network devices connected to each of the VLANs can communicate with the router using the physical interface connected to the same VLAN. Each interface is also configured with an IP address for the subnet associated with the particular VLAN to which it is connected. The router accomplishes the routing by having each of its physical interfaces connected to a unique VLAN. Legacy inter-VLAN routing requires routers to have multiple physical interfaces.
