An organization uses a VLAN-based network. There are 4 VLAN’s on the network, namely VLAN 1, VLAN 2, VLAN 3 and VLAN 4. The VLAN’S are mapped with the IP networks 192.168.1.0/24, 192.168.2.0/24, 192.168.3.0/24, and 192.168.4.0/24. It is required that only VLAN A should be able to remote access the router using telnet. All the other VLAN’s should be blocked. To demonstrate the solution a lab is set up with Cisco routers and switches with the topology simulated. The necessary configurations required to achieve the solutions is identified.
- Network Design strategy.
- VLAN and IP network Design.
- Network Topology diagram.
- Configurations required on switches, routers, and PC.
Unique VLAN’s are assigned to the different departments. VLAN 1 is assigned to
A, VLAN 2 is assigned to B, VLAN 3 is assigned to C and VLAN 4 is assigned to
D. The VLAN’s are mapped with unique network addresses. Appropriate
configurations are performed on the router for communication between the users belonging to the different departments ( VLAN’S). Access control lists are used on VLAN’S to provide restrictions to the router.
- VLAN 1 A 192.168.1.0/
- VLAN 2 B 192.168.2.0/
- VLAN 3 C 192.168.3.0/
- VLAN 4 D 192.168.4.0/
The VLAN’s are mapped with the network addresses as shown in the above table. The users (PC) belonging to the different department are configured with IP addresses belonging to the IP network address range as shown in the table.
The PC’s belonging to respective departments are configured with IP addresses belonging to the network address of the specific VLAN’S. The respective ports on the switches are made members of the appropriate VLAN’s. A link is connected to the router from the switch, which is used for carrying traffic from different VLAN’s and for Inter-VLAN communication.
-
-
- switch(config)#vlan 1
- switch(config-vlan)#name A
- switch(config-vlan)#exit
- switch(config)#vlan 2
- switch(config-vlan)#name B
- switch(config-vlan)#exit
- switch(config)#vlan 3
- switch(config-vlan)#name C
- switch(config-vlan)#exit
- switch(config)#vlan 4
- switch(config-vlan)#name D
- switch(config-vlan)#exit
-
- switch(config)#interface fastethernet 0/
- switch(config-if)#switchport mode access
- switch(config-if)#switchport access vlan 1
- switch(config-if)#exit
-
- switch(config)#interface fastethernet 0/
- switch(config-if)#switchport mode access
- switch(config-if)#switchport access vlan
- switch(config-if)#exit
-
- switch(config)#interface fastethernet 0/
- switch(config-if)#switchport mode access
- switch(config-if)#switchport access vlan
- switch(config-if)#exit
-
- switch(config)#interface fastethernet 0/
- switch(config-if)#switchport mode access
- switch(config-if)#switchport access vlan
- switch(config-if)#exit
-
After the ports are made members of different VLAN’s, the link connecting the switch to router is configured as a trunk port. The below configuration shows how to configure the port as a trunk. Port 8 on the switch is configured as a trunk port. The port would carry traffic from all the created VLAN’s.
- switch(config)#interface fastethernet 0/
- switch(config-if)#switchport mode trunk
- switch(config-if)#switchport trunk allowed vlan all
- switch(config-if)#exit
-
-
-
Configures a sub interface on the physical interface fast Ethernet 0/1. The sub interface is created with the IP address 192.168.1.1. The interface is mapped with VLAN 1 and would be the gateway address for users belonging to VLAN 1. The configuration detail is shown below
-
Configures a sub interface on the physical interface fast Ethernet 0/1. The sub interface is created with the IP address 192.168.2.1. The interface is mapped with VLAN 2 and would be the gateway address for users belonging to VLAN 2. The configuration Detail is shown below :
-
Configures a sub interface on the physical interface fast Ethernet 0/1. The sub interface is created with the IP address 192.168.3.1. The interface is mapped with VLAN 3 and would be the gateway address for users belonging to VLAN 3.The configuration detail is shown below
-
Configures a sub interface on the physical interface fast Ethernet 0/1. The sub interface is created with the IP address 192.168.4.1. The interface is mapped with VLAN 4 and would be the gateway address for users belonging to VLAN 4. The configuration detail is shown below
-
-
-
-