After setting up VLANs, you need a router to enable traffic flow between them. You can configure sub-interfaces on a router's physical port, each with an IP address that serves as the default gateway for its corresponding VLAN. This is called a . Then, you might configure a dynamic routing protocol like OSPF between your router and another to share routing information.
line vty 0 4 transport input ssh login local exec-timeout 4 0 exit
R1(config)# line console 0 R1(config-line)# password $cisco!!CON* R1(config-line)# login R1(config-line)# exec-timeout 5 0 R1(config-line)# exit Use code with caution.
: Connect Router interface G0/0/0 directly to the Server NIC.
We will approach this in three phases: Access Layer, Trunk Layer, and Inter-VLAN Routing.