What if you use a layer3 switch instead of layer 2 switch.. Would it works same way? now you have 2 routing devices the router and the layer3 switch. Just a thought.
It's a good question. Layer 3 switch has dual functions (layer 2 switching and layer 3 routing). If you want to use a layer 3 switch to work as a router, you need to convert the switchport (g0/1) connecting to the router into a routed port by using a command "no switchport" and configure an ip address on this converted port (also called layer3 interface) to let it work as an interface on a router. In the mean time, you need create vlan 10,20,30 on the layer 3 switch and change the ip addresses you configured on the three subinterface on the router to the three vlan interface on the layer 3 switch correspondingly to let the vlan interfaces become the default gateway of those vlans.... For more details to answer your question, you can watch an other video 4.3.8 packet tracer, from there you can find the complete answer to your question.
What if you use a layer3 switch instead of layer 2 switch.. Would it works same way? now you have 2 routing devices the router and the layer3 switch. Just a thought.
It's a good question. Layer 3 switch has dual functions (layer 2 switching and layer 3 routing). If you want to use a layer 3 switch to work as a router, you need to convert the switchport (g0/1) connecting to the router into a routed port by using a command "no switchport" and configure an ip address on this converted port (also called layer3 interface) to let it work as an interface on a router. In the mean time, you need create vlan 10,20,30 on the layer 3 switch and change the ip addresses you configured on the three subinterface on the router to the three vlan interface on the layer 3 switch correspondingly to let the vlan interfaces become the default gateway of those vlans....
For more details to answer your question, you can watch an other video 4.3.8 packet tracer, from there you can find the complete answer to your question.