Lab 2 1: Subnet Design - ItsMmmike/NET-330_Tech-Journal GitHub Wiki
In this lab, we use VLSM to design and build a network in Packet Tracer to meet the specifications for a given school environment.
- Cisco Packet Tracer
- Packet Tracer Lab Starter File
For this lab assignment, I used VLSM to create the following Subnet Table as shown below:
VLAN | VLAN_NAME | Hosts Needed | Network | Netmask | Router Address |
---|---|---|---|---|---|
200 | StuWireless | 900 | 10.6.0.0 | /22 | 10.6.0.1 |
210 | FSWireless | 650 | 10.6.4.0 | /22 | 10.6.4.1 |
110 | Student | 450 | 10.6.8.0 | /23 | 10.6.8.1 |
1 | Management | 250 | 10.6.10.0 | /24 | 10.6.10.1 |
100 | FacStaff | 200 | 10.6.11.0 | /24 | 10.6.11.1 |
130 | StuLab1 | 35 | 10.6.12.0 | /26 | 10.6.12.1 |
140 | StuLab2 | 35 | 10.6.12.64 | /26 | 10.6.12.65 |
The completed network should look similar to below:
===
Note: You can typically determine what mode your are in by looking at the Terminal Prompt Window.
-
enable
- Elevates user access to "privileged" or EXEC mode>Router#
(Allows you to configure your router/switch) -
configure terminal
- Changes the terminal to "global config mode">Router(config)#
(Config Menu) -
interface <interface_name_here>
- Enters the configuration menu for the selected interface (must be in ">Router(config)#" mode) --> **Terminal Prompt should look similar to this:>Router(config-if)#
-
exit
- Command used to exit out of the current mode or setting -
end
- Exits the configuration settings and returns to EXEC mode -
do <command_name_here>
- Allows you to run EXEX-Level commands in any configuration mode.
To create a new VLAN on a Cisco Switch:
- First navigate to
>Router(config)#
mode - To create/select a new VLAN the command
vlan <VLAN_Number>
- To name a new VLAN, type
name <VLAN_Name>
in the VLAN configuration mode (Ex.>Router(config-vlan)#
- To delete a VLAN, first navigate to (config) mode
- Then run
no vlan <VLAN_Number>
to delete the selected VLAN
The following steps can be used to configure Access/Trunk Ports on a Cisco Switch:
- First navigate to Global Config Mode or
>Router(config)#
- Use the command:
interface <interface_name_here>
to select an interface (or interface range) to configure. -
switchport mode <access>/<trunk>
- Command used to change -
no shutdown
- Ensures that the port is enabled - Use
End
+Copy run start
to save config for the next time the device reboots
In order to configure a range of interfaces on a Cisco Switch/Router, you first need to be in Global Config Mode or >Router(config)#
mode. From here, you can run the following command to select a range of ports to configure:
(config)interface range FastEthernet 0/x-y
To configure VLAN routing on a L3 Switch, first login and enter (config)
mode. From here you can run the following commands:
-
ip routing
- Enables the routing functionality on a L3 Switch -
interface vlan <VLAN_Number>
- Enters VLAN interface configuration mode -
ip address <IP_Address> <Subnet_Mask>
- Sets the IP Address for the specified VLAN on a routing switch -
no shutdown
- Ensures that the interface is enabled
Note: This config only works on L3 switches that act as the gateway for a VLAN.