The ISP provided us with a C class network: 192.168.5.0/24. We

advertisement
The ISP provided us with a C class network: 192.168.5.0/24. We need to implement the above
topology of 3 separate networks  the C class network has to be divided into subnets. The easier
way to do that is to use the same length subnet masks. We need 28 IPs for the workers, 10 IPs to the
bosses and 2 IPs for the routers. How do we decidet he subnet size?
1. Find the largest demand and see how many bits we need to fit it
2. Fill the table
Network
192.168.5.0
192.168.5.32
192.168.5.64
192.168.5.96
192.168.5.128
192.168.5.160
192.168.5.192
192.168.5.224
Mask
/27 (.224)
/27 (.224)
/27 (.224)
/27 (.224)
/27 (.224)
/27 (.224)
/27 (.224)
/27 (.224)
First
.1
.33
.65
.97
.129
.161
.193
.225
Last
.30
.62
.94
.126
.158
.190
.222
.254
Broadcast
.31
.63
.95
.127
.159
.191
.223
.255
Name
LAN 1
LAN 2
LAN 3
3. Configure the network (using static routing because RIPv1 cannot deal with this situation)
4. Test using ping
5. Configure the network with dynamic routing (using RIPv2 – need the CLI because there isn’t a
configuration option for v2 on the GUI)
 Router> enable
 Router# configure terminal
 Router(config)# router rip
 Router(config-router)# no auto-summary
 Router(config-router)# version 2
 Router(config-router)# network 192.168.5.96
 Router(config-router)# network 192.168.5.64 or 192.168.5.32
 Router(config-router)# passive-interface FastEthernet 0/0
 Router(config-router)# exit
 Router(config)# exit
6. Test using ping
Download