

Objective:
Configure a small network that can perform
inter-vlan communication via ROAS method.
The router should act as the DHCP controller
for the workstation machines.
This project was performed on the EVE-NG
virtual platform, please refer to "Virtualized
High Redundancy Network" project for
EVE-NG setup documentation. The
configurations for this lab are below.
Objective:
Configure a small network that can perform
inter-vlan communication via ROAS method.
The router should act as the DHCP controller
for the workstation machines.
This project was performed on the EVE-NG
virtual platform, please refer to "Virtualized
High Redundancy Network" project for
EVE-NG setup documentation. The
configurations for this lab are below.
#Switch 1 Configuration configure terminal hostname SW1 username admin privilege 15 secret ********l line console 0 login local exec-timeout 15 end conf t vlan 10 end conf t vlan 20 end conf t interface GigabitEthernet0/0 description PC1 switchport mode access switchport access vlan 10 spanning-tree portfast no shutdown interface GigabitEthernet0/1 description PC2 switchport mode access switchport access vlan 20 spanning-tree portfast no shutdown interface GigabitEthernet0/2 description Uplink-To-Central switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 10,20,30 no shutdown end write
#Switch 2 Configuration configure terminal hostname SW2 username admin privilege 15 secret ********l line console 0 login local exec-timeout 15 end conf t vlan 10 end conf t vlan 20 end conf t interface GigabitEthernet0/0 description PC3 switchport mode access switchport access vlan 20 spanning-tree portfast no shutdown interface GigabitEthernet0/1 description PC4 switchport mode access switchport access vlan 10 spanning-tree portfast no shutdown interface GigabitEthernet0/2 description Uplink-To-Central switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 10,20,30 no shutdown end write
#Switch 3 Configuration configure terminal hostname SW3 username admin privilege 15 secret ******* line console 0 login local exec-timeout 15 end conf t vlan 30 end conf t interface GigabitEthernet0/0 description PC5 switchport mode access switchport access vlan 30 spanning-tree portfast no shutdown interface GigabitEthernet0/1 description PC6 switchport mode access switchport access vlan 30 spanning-tree portfast no shutdown interface GigabitEthernet0/2 description Uplink-To-Central switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 10
#Central Switch Configuration configure terminal hostname CSW username admin privilege 15 secret ********l line console 0 login local exec-timeout 15 end conf t vlan 10 name VLAN10 end conf t vlan 20 name VLAN20 end conf t vlan 30 name VLAN30 end conf t interface GigabitEthernet0/3 description To-Router-R1 switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 10,20,30 no shutdown interface GigabitEthernet0/0 description To-AccessSwitch1 switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 10,20,30 no shutdown interface GigabitEthernet0/1 description To-AccessSwitch2 switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 10,20,30 no shutdown interface GigabitEthernet0/3 description To-AccessSwitch3 switchport trunk encapsulation dot1q switchport mode trunk switchport trunk allowed vlan 10
#Router 1 Configuration configure terminal hostname R1 username admin privilege 15 secret ********l line console 0 login local exec-timeout 15 end cond t interface GigabitEthernet0/1 description To-ISP ip address 192.168.1.2 255.255.255.0 ip nat outside no shutdown interface GigabitEthernet0/0 no ip address no shutdown interface GigabitEthernet0/0.10 encapsulation dot1Q 10 ip address 10.0.10.1 255.255.255.0 ip nat inside interface GigabitEthernet0/0.20 encapsulation dot1Q 20 ip address 10.0.20.1 255.255.255.0 ip nat inside interface GigabitEthernet0/0.30 encapsulation dot1Q 30 ip address 10.0.30.1 255.255.255.0 ip nat inside ip route 0.0.0.0 0.0.0.0 192.168.1.1 access-list 1 permit 10.0.0.0 0.255.255.255 ip nat inside source list 1 interface GigabitEthernet0/1 overload ip dhcp excluded-address 10.0.10.1 10.0.10.10 ip dhcp excluded-address 10.0.20.1 10.0.20.10 ip dhcp excluded-address 10.0.30.1 10.0.30.10 ip dhcp pool VLAN10 network 10.0.10.0 255.255.255.0 default-router 10.0.10.1 dns-server 8.8.8.8 8.8.4.4 lease 7 ip dhcp pool VLAN20 network 10.0.20.0 255.255.255.0 default-router 10.0.20.1 dns-server 8.8.8.8 8.8.4.4 lease 7 ip dhcp pool VLAN30 network 10.0.30.0 255.255.255.0 default-router 10.0.30.1 dns-server 8.8.8.8 8.8.4.4 lease 7 end write