11.5 Router-on-a-stick interVLAN Routing Flashcards
Router(config)#interface fa0/1
Router(config-if)#no shutdown
Router(config-if)#interface fa0/1.1
Router(config-subif)#
Enables the interface.
The interface [interface name] command followed by a .1 creates a subinterface and enters the subinterface configuration mode for a router-on-a-stick configuration.
Router(config-subif)#encapsulation dot1q [vlan id]
Router(config-subif)#encapsulation isl [vlan id]
Sets the trunking encapsulation method for the VLAN on the subinterface for a router-on-a-stick configuration.
Router(config-subif)#encapsulation dot1q [vlan id] native
Configures the VLAN that is sending and receiving untagged traffic on the trunk port when the interface is in 802.1Q trunking mode. This should match the native VLAN on the connected switch for a router-on-a-stick configuration.
Router(config-subif)#ip address [a.b.c.d] [a.b.c.d]
Specifies an IP address and subnet mask on the subinterface for a router-on-a-stick configuration.
Router(config-subif)#ip helper-address
Enables the DHCP relay agent feature for a router-on-a-stick configuration.