Hosts are in the correct VLANs.
SW1-SW2 are connected via trunk.
R1-SW2 are connected via ROAS.
- Replace the ROAS configuration on R1-SW2 with a point-to-point Layer 3 connection.
Use the IP addresses given in the network diagram.
Configure a default route on SW2, with R1’s G0/0 interface as the next hop.
First, confirm the status of R1.
1 | R1> |
We can begin by removing the sub-interfaces as follows.
1 | R1# |
We can confirm the running config and interface status.
1 | R1(config)#do show run |
We can reset the interface with default int g0/0
but not necessary here given there’s no other configurations besides no shutdown
.
1 | R1(config)#int g0/0 |
Switch G1/0/2 Interface
Confirm the status of the interface.
1 | SW2>en |
We’ll reset g1/0/2, and confirm its status
1 | SW2# |
For a switch, remember to turn the switchport into a “router port”, use no switchport
.
1 | SW2(config)# |
Now add a static route.
Static routes can be added on a switch, but ip routing
needs to be enabled first
1 | SW2(config-if)#exit |
Before we configure the SVI, confirm the VLAN status because SVI’s remain down/down unless a VLAN exists.
1 | SW2> |
We can see VLAN10, 20, and 30 exists.
Now we can configure the SVIs.
Ensure no shutdown
is applied to each vlan interface.
1 | SW2> |