📗NET 330 - tconklin-champlain/Tech-Journal GitHub Wiki
Class Notes
Labs
Lab 2-1 Design Network for a School and Build in Packet Tracer
💡 USEFUL COMMANDS
(config)interface range FastEthernet 0/x-y (let's you configure multiple ports at one time)
(config-if-range)switchport access vlan x (defines the vlan for all ports in the range)
---
(config)ip routing (turns on routing on multilayer switches)
(config)interface vlan 100 (brings you into vlan interface config mode)
(config-if)ip address 10.25.100.1 255.255.255.0 (set the ip address of 10.25.100.1 for vlan 100 on a routing switch)
---
- Create a table
VLAN | VLAN_NAME | Hosts Needed | Network | Netmask | Router Address |
---|---|---|---|---|---|
200 | StuWireless | 900 | 10.6.0.0 | 255.255.252.0/22 | 10.6.0.1 |
210 | FSWireless | 650 | 10.6.4.0 | 255.255.252.0/22 | 10.6.4.1 |
110 | Student | 450 | 10.6.8.0 | 255.255.254.0/23 | 10.6.8.1 |
1 | Management | 250 | 10.6.10.0 | 255.255.255.0/24 | 10.6.10.1 |
100 | FacStaff | 200 | 10.6.11.0 | 255.255.255.0/24 | 10.6.11.1 |
130 | StuLab1 | 35 | 10.6.12.0 | 255.255.255.192/26 | 10.6.12.1 |
140 | StuLab2 | 35 | 10.6.12.64 | 255.255.255.192/26 | 10.6.12.65 |
Edge Configurations
- All edge switches assigned VLAN 100 (FacStaff) on ports 4-12
- All edge switches assigned VLAN 110 (Student) on ports 13-20
interface range FastEthernet0/4-12
switchport access vlan 100
interface range FastEthernet0/13-20
switchport access vlan 110
- East-Edge-02 assigned VLAN 130 (Lab1) on ports 21-24
interface range FastEthernet0/21-24
switchport access vlan 130
- West-Edge-02 assigned VLAN 140 (Lab2) on ports 21-24
interface range FastEthernet0/21-24
switchport access vlan 140
Verification that Step 1 is complete:
- Ping devices on same vlan and same switch
- Not able to ping different vlans or different switch
💡 Use the mail icon for the quick ability to ping different devices!
- Configure Trunking
- Add vlans 100, 110, 130, and 140 to the vlan database on Core Switches
- Configure FastEthernet 0/1 and 0/2 as trunk ports for the appropriate vlans
- Configure FastEthernet 0/1 as trunk port for the appropriate edge switches vlans
- Connect Edge Switches to Core
- Create Cross-over cable connection between edge switch and core switch trunk ports
Verification: You should now be able to ping between two systems on the same VLAN on different switches
- Enable Routing
- The Core Switches are multi-layer and can route
- We will use the EAST-Core Switch as the Router
- Enable routing on the the East-Core Switch
- Assign the router addresses from the table in step 1 to:
- VLANs 100,110,130, 140 to East-Core
💡 You may need to run this twice after the interfaces are configured!
interface vlan 110
ip address 10.6.8.1 255.255.255.0
interface vlan 100
ip address 10.6.11.1 255.255.255.0
interface vlan 130
ip address 10.6.12.1 255.255.255.192
interface vlan 140
ip address 10.6.12.65 255.255.255.192
- Configure East-West Trunk
- Configure Gigabit Ethernet 0/1 on both East and West core switches as trunk ports for defined vlans
- Copper "cross-over" connector to connect those trunk ports
3-2
How to create pools:
Pick your server and enable DHCP then use the GUI to add pools just follow your table and everything should be fine!
Working with server pool
Make sure not to touch the default pool it cannot be removed just add on top of it. Best to give first octets of subnets a 100, or 50 or 20
ip helper address
config
interface vlan X
ip helper-address 'IP OF DHCP SERVER'
helpful This lab went pretty smoothly no issues really, just a bit of mixing up the router and switch.
Lab 4-1 Small Enterprise-Class Lab
- Create a table
VLAN | VLAN_NAME | Hosts Needed | Network | Netmask | Router Address | DHCP Range |
---|---|---|---|---|---|---|
1 | Default | 150 | 10.6.0.0 | 255.255.255.0/24 | 10.6.0.1 | 10.6.0.2-254 |
100 | Counseling | 150 | 10.6.1.0 | 255.255.255.0/24 | 10.6.1.1 | 10.6.1.2-254 |
150 | Visitor | 300 | 10.6.2.0 | 255.255.254.0/23 | 10.6.2.1 | 10.6.2.2-254 |
200 | Office | 300 | 10.6.4.0 | 255.255.254.0/23 | 10.6.4.1 | 10.6.4.2-254 |
250 | Clinic | 300 | 10.6.6.0 | 255.255.254.0/23 | 10.6.6.1 | 10.6.6.2-254 |
interface vlan 1
ip address 10.6.0.1 255.255.255.0
interface vlan 100
ip address 10.6.1.1 255.255.255.0
interface vlan 150
ip address 10.6.2.1 255.255.254.0
interface vlan 200
ip address 10.6.4.1 255.255.254.0
interface vlan 250
ip address 10.6.6.1 255.255.254.0
interface range FastEthernet0/4-10
switchport access vlan 250
interface range FastEthernet0/11-15
switchport access vlan 150
interface range FastEthernet0/16-22
switchport access vlan 200
OSPF Lab
OSPF Setup
OSPF Authentication
MD5 Authentication:
- Make sure everything can ping each other
- Use command
router ospf X
- Then use command
area 0 authentication message-digest
- Pick interface and use command
ip ospf message-digest-key 1 md5 [password here]