Term
How are VLANs and subnets related? |
|
Definition
Each VLAN is associated with a different subnet, so each VLAN has its own group of IP addresses. |
|
|
Term
How do hosts on one VLAN communicate with hosts on another VLAN? |
|
Definition
The packets have to be routed from one VLAN (subnet) to another by using a router (or a multilayer switch). |
|
|
Term
In traditional inter-VLAN routing, how is the switch linked to the router? |
|
Definition
There is a separate link, switch port and router port for each VLAN. The switch portsconnected to the router are in access mode, not trunk mode. |
|
|
Term
What is “router on a stick” inter-VLAN routing? |
|
Definition
There is one trunked link connecting the router to the switch, so that all the VLANs usethe same physical router port. |
|
|
Term
Can all routers make a trunked link to a switch? |
|
Definition
Not all. It depends on the router IOS. |
|
|
Term
Each VLAN is a separate subnet, so each VLAN will need a different IP address on the router. How can all the VLANs share one interface? |
|
Definition
Several subinterfaces, one for each VLAN, are configured on one physical interface,and each subinterface is given a different IP address. |
|
|
Term
Suppose that a PC is on VLAN 2. What default gateway should be configured on the PC? |
|
Definition
The address of the router interface connected to that VLAN, if traditional inter-VLAN routing is used, or the address of the router subinterface assigned to that VLAN if router on a stick is used. |
|
|
Term
What is the VLAN number if a router subinterface is configured as follows?R1(config)#int f0/0.2 R1(config-subif)#encapsulation dot1q 20 R1(config-subif)#ip address 172.17.2.1 255.255.255.0 R1(config-subif)#end |
|
Definition
|
|
Term
Do you need to use the no shutdown command when configuring a router subinterface? |
|
Definition
No. The no shutdown command goes on the physical interface, not on thesubinterface. |
|
|
Term
What are the advantages and disadvantages of using “router on a stick” rather thantraditional inter-VLAN routing? |
|
Definition
Using a single trunk link allows more VLANs to be added without the need for extra physical interfaces. It is cheaper to use a single trunk link, because routers with many interfaces are expensive. The physical cabling is simpler.Subinterfaces share the interface bandwidth and this might create a bottleneck. Not all routers are able to have subinterfaces configured for VLANs. The configuration for a trunk link is a bit more complicated than configuring separate interfaces |
|
|
Term
Do you need to configure a routing protocol on a router that is used for inter-VLANrouting? |
|
Definition
No. If all the VLANs are directly connected then it will not need a routing protocol toroute between them. Directly connected networks go into the routing tableautomatically. A routing protocol will only be needed if more than one router is involved. |
|
|
Term
When inter-VLAN routing is used, how are the switchports that link to the router configured? |
|
Definition
If traditional inter-VLAN routing is used, with a separate link for each VLAN, then theswitch port is in access mode and assigned to the appropriate VLAN. If “router on astick” is used, then the switch port is configured for trunking. |
|
|