ST1Tutorials/Tutorials/M5 Lab 3 - VLAN Routing/README.md

77 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2023-12-04 18:14:10 +00:00
# Lab 03 - VLAN Routing
> ***Objectives:***
> - Use Lab 02 setup
> - Add the routers `R1` and `R2`
> - Create a subinterface FE0/0.10 for VLAN10
2023-12-04 19:21:56 +00:00
> - Set up VLAN routing
> - Set up load balancing using First-Hop Redundancy Protocol
> - Set up DHCP
2023-12-04 18:14:10 +00:00
2023-12-05 10:34:48 +00:00
The lab is realized in `./Networks/Main.ptk` in tag `lab-3`
2023-12-04 18:20:56 +00:00
## Inter-VLAN Routing Configuration
2023-12-04 18:14:10 +00:00
For each router, configure this replacing `{x}` with the router number:
```sh
enable
configure terminal
hostname R{x}
interface fastEthernet 0/0
no shutdown
interface fastEthernet 0/0.10
ip address 10.10.0.{x} 255.255.0.0
encapsulation dot1q 10
no shutdown
interface fastEthernet 0/0.20
ip address 10.20.0.{x} 255.255.0.0
encapsulation dot1q 20
no shutdown
exit
exit
disable
exit
```
2023-12-04 18:20:56 +00:00
## First-Hop Redundancy Protocol Setup
On each router:
```sh
enable
configure terminal
interface fastEthernet 0/0.10
standby 1 ip 10.10.0.111
interface fastEthernet 0/0.20
standby 2 ip 10.20.0.222
exit
exit
disable
exit
```
2023-12-04 19:15:11 +00:00
## DHCP Configuration
On each router:
```sh
enable
configure terminal
ip dhcp pool Pool10
network 10.10.0.0 255.255.0.0
default-router 10.10.0.111
ip dhcp pool Pool20
network 10.20.0.0 255.255.0.0
default-router 10.20.0.222
exit
exit
disable
exit
```