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

75 lines
1.1 KiB
Markdown
Raw 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-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
```