What makes this lab fun:
- is that DHCP/DNS is already setup for us
- thus the only thing we have to do is to connect routers and switches into correct ports
- All PCs connected to the switch will get their IP automatically assigned by DHCP!!!!
- Thus what is left, is to just make sure that the connection between the 2 devices is on the same LAN network. And then this network can see another LAN/subnet further down the line too. To achieve and troubleshoot it we gonna have to use Cisco CLI. below are some of the commands which came in handy when troubleshooting.
Subnetting Lab 1 (David Bombal)
52. Subnetting Lab 1: Can you complete the lab?
Configure the network as follows
1) You have been allocated subnet 192.168.1.0/24.
Subnet this into four subnets as follows
2) Subnet 1 for site 1
3) Subnet 2 for the link between R1 and the Internet Router
4) Subnet 3 for site 2
5) Subnet 4 for the link between R2 and the Internet Router
6) Configure the routers per the instructions in the diagram.
7) Verify that PCs can access cisco.com and facebook.com using their browsers
53-56. Subnetting Lab 1
4 subs
192.168.1.0/24
- $2^2=4$ - we borrow 2 bit to be able to create 4 subnets
192.168.1.00 000000- 192.168.1.00 00 0000 = 192.168.1.0/26 - 1st subnet
192.168.1.01 00 0000 = 192.168.1.64/26 - 2nd subnet
192.168.1.10 00 0000 = 192.168.1.128/26 - 3rd subnet
192.168.1.11 00 0000 = 192.168.1.192/26 - 4th subnet
1st subnet
192.168.1.00 00 0000 = 192.168.1.0/26 - 1st subnet
192.168.1.1 - 1st
192.168.1.00 11 1110 = 192.168.1.62 - last
192.168.1.00 11 1111 = 192.168.1.63/26 - broadcast
2nd subnet
192.168.1.01 00 0000 = 192.168.1.64/26 - 2nd subnet
192.168.1.65/26 - 1st
192.168.1.126/26 - Last
192.168.1.127/26 - Broadcast
3rd subnet
192.168.1.10 00 0000 = 192.168.1.128/26 - 3rd subnet
192.168.1.129/26 - 1st
192.168.1.190/26 - Last
192.168.1.191/26 - Broadcast
4th Subnet
192.168.1.11 00 0000 = 192.168.1.192/26 - 4th subnet
192.168.1.193/26 - 1st
192.168.1.254/26 - last
192.168.1.255 - Broadcast
As soon as we know all the Subnets, from here it gets really easy. All we need to do is just follow the tags/notes pre-assigned by David for 1st and last IP addresses.
Troubleshooting steps
- For each device in question check if IP is assigned and it is UP
show ip int brief->en->conf t->int <interfacenumber>->ip address <192.168.1.1> <255.255.255.0>->no shut->end->wr- If it is up? Great. If Not? select the interface and do
no shut
- If it is up? Great. If Not? select the interface and do
- Check if Mask is correct :
show ip int <giga/serial> <0/1/0> - Test if you can ping any machine:
ping 192.168.1.1