Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
23 Cards in this Set
- Front
- Back
router based inter-vlan routing
|
is a process for forwarding network traffic from one vlan to another vlan using a router
|
|
traditional inter-vlan routing network
|
multiple vlans are used to segment traffic into broadcast domains
-routing is performed by connecting different physical router interfaces to different physical switch ports. -switch ports connect to the router in access mode. -different static vlans are assigned to each port. -each router can accept traffic from the vlan associated wit the switch interface that it is connected to. |
|
traditional inter-vlan routing
|
requires multiple physical ports on both the router and the swtich
|
|
router on a stick
|
router configuration in which a single physical interface routes traffic between multiple vlans on a network.
|
|
configuring the router interface for a router on a stick
|
router interface is configured to operate as a trunk link and connected to the switch port in a trunk mode.
|
|
subinterfaces use
|
router performs inter-vlan routing by accepting vlan tagged traffic on a trunk interface and internally routing between vlans using subinterfaces.
|
|
subinterface definition
|
are multiple virtual interfaces associated with one interface. Configured in software with separate IP address and vlan assignment.
|
|
switch based inter vlan routing
|
some switches can perform routing and does not need a dedicated router.
-vlan interface on the switch has to be configured with an IP address that match the subnet that the vlan is associated with. -switch should have IP routing enabled. |
|
using the router as a gateway
|
source device determines if the destination is on the same subnet
-source destination identify where to forward the packet to reach the destination by looking at the routing table. -the router interface on the local subnet acts as the default gateway. -the source sends an ARP requests to the default gateway to get the MAC address. -switch uses the mac learning table to decide which port to forward the request on. -router receives the packet and determines that it's on a locally connected network. -router sends out a arp request on the physical interface connected to the destination vlan. -router forwards the packet |
|
configuring a router interface
|
configure terminal
interface if-id ip address <ip> <mask> no shutdown |
|
show ip route
|
routing entry has a C next to it to indicate that it is local for a connected interface.
|
|
subinterface configuratin
|
configure terminal
interface if-id.vlan enacapsulation dot1q vid ip address ip.ip.vlan.ip netmask interface if-id no shutdown |
|
physical interface
|
one physical interface per vlan which can result in port limits
-no bandwidth contention -connected to access mode switch port -more expensive -less complex connection configuration |
|
subinterface
|
-one physical interface to many vlans
-bandwidth contention -connected to trunk mode switch port -less expensive -more complex connection configuration |
|
configure a switch for inter-vlan routing
|
configure terminal
vlan vid interface if-id switchport access vlan vid |
|
show ip route
|
routing entry has a C next to it to indicate that it is local for a connected interface.
|
|
subinterface configuratin
|
configure terminal
interface if-id.vlan enacapsulation dot1q vid ip address ip.ip.vlan.ip netmask interface if-id no shutdown |
|
physical interface
|
one physical interface per vlan which can result in port limits
-no bandwidth contention -connected to access mode switch port -more expensive -less complex connection configuration |
|
subinterface
|
-one physical interface to many vlans
-bandwidth contention -connected to trunk mode switch port -less expensive -more complex connection configuration |
|
configure a switch for inter-vlan routing
|
configure terminal
vlan vid interface if-id (facing access) switchport access vlan vid iinterface if-id (port facing the router) switchport mode trunk |
|
router configuration
|
configure terminal
interface if-id.vlan encapsulation dot1q vlan ip address ip mask interface if-id no shutdown |
|
show interfaces if-id switchport
|
shows the vlan assignment and port config
|
|
verify router configuration
|
show interface
show ip interface |