NETW202 WEEK 6 LAB-CREATING A SUBNET PLAN

31 July, 2024 | 16 Min Read

Introduction

In this lab, your assignment is to develop a subnetting plan and implement it in a lab environment. The goal is to configure Routing Information Protocol (RIP) as the routing protocol and ensure that all routers are correctly configured and communicating.

Assignment

Develop a subnetting plan, assign IP addresses to the appropriate interfaces, configure the router interfaces, enable IP RIP routing, and confirm that the network is functioning as expected. The network topology includes three routers: NYEDGE1, NYEDGE2, and NYWAN1, where NYEDGE1 acts as the hub router. The two remote routers, NYEDGE2 and NYWAN1, are connected to NYEDGE1 through serial connections. Each router also has a locally attached Ethernet network.

Conditions

  • Hub Router: NYEDGE1
  • Remote Routers: NYEDGE2, NYWAN1
  • Connections: Serial connections between routers.
  • Ethernet Networks: Locally attached to each router.
  • Pre-configured settings: Serial line data rates and DTE/DCE settings.

Note: The routers are directly connected in this lab and do not actually connect through any leased line services.

Task Index

  1. Create a Subnet Plan
  2. Assign Addresses to All Interfaces, Including Serial Lines
  3. Configure the Interfaces in Each Router
  4. Configure/Enable IP RIP Routing
  5. Confirm Configuration and Operation

Task 1 - Create a Subnet Plan

Step 1: Determine the correct subnet mask.

  • Action: Develop a subnet plan based on the network requirements and the number of segments.
  • Result: A three-bit mask (255.255.255.224) is selected, which creates 6 usable subnets.
  • Explanation: Given that there are 5 segments to address (three Ethernet interfaces and two serial lines), a subnetting scheme with at least five subnets is required. A subnet mask of 255.255.255.224 is selected to accommodate the 26 hosts on NYEDGE1’s Ethernet segment, providing sufficient addresses for all devices while maintaining efficient subnet usage.

Task 2 - Assign Addresses to All Interfaces, Including Serial Lines

Step 1: Allocate IP addresses to the Ethernet and serial interfaces.

  • Action: Assign IP addresses to all interfaces, including serial lines, ensuring that the address plan avoids unusable subnets like subnet zero and the major network broadcast address.
  • Explanation: Subnets 192.50.6.32, 64, 96, 128, 160, and 192 are available for use, with subnets 32, 64, 96, 128, and 160 being allocated for the lab’s interfaces. Each segment’s IP addresses are carefully assigned, with the first available host address given to Ethernet interfaces and the first two to serial interfaces.

Task 3 - Configure the Interfaces in Each Router

Step 1: Configure the interfaces on each router.

  • Action: Enter the appropriate configuration commands to assign IP addresses and bring up each interface using the no shut command.
  • Result: IP addresses are successfully assigned to the GigabitEthernet and Serial interfaces of NYEDGE1, NYEDGE2, and NYWAN1.
  • Explanation: Each router’s interfaces are configured according to the subnet plan, ensuring that they are correctly assigned and active.

Task 4 - Configure/Enable IP RIP Routing

Step 1: Enable IP RIP routing on all routers.

  • Action: Use the router rip command to enable RIP and add the necessary network statements.
  • Result: RIP is enabled on NYEDGE1, NYEDGE2, and NYWAN1, and the major network (192.50.6.0) is added to each router’s configuration.
  • Explanation: RIP, a classful routing protocol, does not propagate subnet information. Therefore, only the major network needs to be added to the routing configuration.

Task 5 - Confirm Configuration and Operation

Step 1: Verify the routing tables and connectivity.

  • Action: Use the show ip route, show cdp neighbors, and ping commands to confirm that the routers are correctly configured and communicating.
  • Result: Routing tables show connected and RIP-learned routes, CDP reveals neighboring routers, and successful pings confirm network connectivity.
  • Explanation: The verification steps demonstrate that the routers are properly exchanging routing information and that all segments can communicate effectively.

Summary

In this lab, you successfully:

  • Created a subnet plan.
  • Assigned IP addresses to all interfaces.
  • Configured router interfaces.
  • Enabled and configured IP RIP routing.
  • Confirmed that the network is operating correctly by verifying routing tables and connectivity.

These tasks ensure that the network is fully operational and that the routers can communicate across the defined subnets using RIP.

Introduction

Assignment

Develop a subnetting plan and implement it in the lab. Configure RIP as a routing protocol.

Conditions

NYEDGE1 is the hub router. The two remote office routers NYEDGE2 and NYWAN1 connect to NYEDGE1 through serial connections. Each router has a locally attached Ethernet network.

The serial line data rates and DTE/DCE settings have already been configured on all three routers. You only need to assign the IP address to the interfaces.

Notes

The routers are connected directly to each other in this lab and do not actually connect through any leased line services.

Task Index

• Task 1 - Create a subnet plan

• Task 2 - Assign addresses to all interfaces, including serial lines

• Task 3 - Configure the interfaces in each router

• Task 4 - Configure/enable IP RIP routing

• Task 5 - Confirm configuration and operation

 ā€ƒ

Task 1 - Create a subnet plan

How many segments and users/segment do you need to accommodate?

Step 1: Determine the correct subnet mask.

Action:

Develop a subnet plan based on the story and conditions.

Result:

A three bit mask creates 6 usable subnets.

Explanation:

Because you were instructed to use only one major network, you must design a subnet plan based on the number of users per segment and the number of segments that must be addressed. In this configuration, there are 5 segments which need to be addressed: three Ethernet interfaces and two serial lines. So you must use a subnetting scheme which provides at least five subnets. Using two subnet bits (192) creates two usable subnets, three subnet bits (224) creates 6 usable subnets, four bits (240) creates 14, etc. Therefore at least three bits must be used. That means subnet masks 224, 240, 248, 252 are all candidates for subnet masks. However, you need to select a mask that will support the number of workstations on a segment. The segment with the highest number of devices to support is on NYEDGE1’s Ethernet segment. There are 26 hosts on this segment. A subnet mask of 252 will only support 2 hosts, 248 will support 6, 240 will support 14, and 224 will support 30. Therefore, mask 255.255.255.224 must be selected in order to provide enough subnetworks and still support enough workstations/subnetwork.

Task 2 - Assign addresses to all interfaces, including serial lines

What addresses should you avoid? Can you use address 192.50.6.1 on any of the interfaces?

Step 1: Allocate subnets to the ethernet, serial 0/0/0, serial 0/0/1 interfaces in each router.

Action:

Assign addresses for all interfaces, including serial lines. Try to establish a convention, or procedure, for assigning interface addresses.

Explanation:

For each segment you need to assign an address to the router interface(s). For example, you need to assign an address for each of the three Ethernet interfaces. Each of these interfaces must belong to a unique subnet. Since we are not using unnumbered serial interfaces, a special Cisco feature, each active serial interface must also have an IP address. There are four active serial interfaces belonging to two subnets. As a convention, assign a default value of the first available host address on all Ethernet segments. Assign a default value of the first two available host addresses on each serial interface. Other conventions are acceptable, as long as they make sense, they function properly, and they do not violate any design rules. Following this convention will facilitate using the Cisco autoinstall feature Subnet mask 255.255.255.224 calculated in Task 1 actually creates 8 subnets:

192.50.6.0, 192.50.6.32, 192.50.6.64, 192.50.6.96, 192.50.6.128, 192.50.6.160, 192.50.6.192,

192.50.6.224. But we cannot use the first and last subnet. The first subnet, 192.50.6.0 is a special subnet called subnet zero. You are not encouraged to use this subnetwork because it specifies the wire address. Nor should you use the last subnet, 192.50.6.224, because it is considered the major network broadcast address. Therefore you can only use subnets 32, 64, 96, 128, 160 and 192. With this design requirement, you only need to use five of the six usable subnetworks, leaving one for any additional segments in the future.

Likewise, for each subnet, you cannot use the first and last address. For example, subnet 192.50.1.32 extends all the way to 192.50.1.63. But you cannot use these two IP addresses (.32 and .63) because they are the wire and the broadcast addresses for this subnetwork. But you can use any of the 30 IP addresses in between.

 ā€ƒ

Task 3 - Configure the interfaces in each router

Step 1: Configure Gi0/0, s0/0/0, and S0/0/1 for NYEDGE1.

Action:

ip address <ip address> < subnet mask>

Result:

NYEDGE1>enable

NYEDGE1#config t

Enter configuration commands, one per line. End with CNTL/Z.

NYEDGE1(config)#int g0/0

NYEDGE1(config-if)#ip address 192.50.6.33 255.255.255.224

NYEDGE1(config-if)#no shut

NYEDGE1(config-if)#

NYEDGE1(config-if)#int s0/0/0

NYEDGE1(config-if)#ip address 192.50.6.65 255.255.255.224

NYEDGE1(config-if)#no shut

NYEDGE1(config-if)#

NYEDGE1(config-if)#int s0/0/1

NYEDGE1(config-if)#ip address 192.50.6.129 255.255.255.224

NYEDGE1(config-if)#no shut

NYEDGE1(config-if)#

NYEDGE1(config-if)#end

Explanation:

Subnet 192.50.6.32 is assigned to g0/0. Subnet 192.50.6.128 is assigned to serial 0/0/1, and subnet 192.50.6.64 is assigned to serial 0/0/0. All the interfaces are using a subnet mask of 255.255.255.224. No shut is issued to bring up each interface after setting the IP address.

Step 2: Configure g0/0, and s0/0/0 for NYEDGE2.

Action:

ip address <ip address> < subnet mask>

Result:

NYEDGE2>enable

NYEDGE2#config t

Enter configuration commands, one per line. End with CNTL/Z.

NYEDGE2(config)#int g0/0

NYEDGE2(config-if)#ip address 192.50.6.97 255.255.255.224

NYEDGE2(config-if)#no shut

NYEDGE2(config-if)#

NYEDGE2(config-if)#int s0/0/0

NYEDGE2(config-if)#ip address 192.50.6.66 255.255.255.224

NYEDGE2(config-if)#no shut

NYEDGE2(config-if)#

NYEDGE2(config-if)#end

Explanation:

Subnet 192.50.6.96 is assigned to g0/0, and subnet 192.50.6.64 is assigned to serial 0/0/0. Both interfaces are using 255.255.255.224 for a subnet mask.

Step 3: Configure g0/0, and s0/1/0 for NYWAN1.

Action:

ip address <ip address> < subnet mask>

Result:

NYWAN1>enable

NYWAN1#config t

Enter configuration commands, one per line. End with CNTL/Z.

NYWAN1(config)#int g0/0

NYWAN1(config-if)#ip address 192.50.6.161 255.255.255.224

NYWAN1(config-if)#no shut

NYWAN1(config-if)#

NYWAN1(config-if)#int s0/1/0

NYWAN1(config-if)#ip address 192.50.6.130 255.255.255.224

NYWAN1(config-if)#no shut

NYWAN1(config-if)#

NYWAN1(config-if)#end

Explanation:

Subnet 192.50.6.160 is assigned to g0/0, and subnet 192.50.6.128 is assigned to serial 0/1/0.

 ā€ƒ

Task 4 - Configure/enable IP RIP routing

Determine what network addresses need to participate in RIP routing. How many networks are in the system?

Step 1: Enable IP RIP Routing

Action: router rip

Result:

NYEDGE1

NYEDGE1#config t

Enter configuration commands, one per line. End with CNTL/Z.

NYEDGE1(config)#router rip

NYEDGE1(config-router)#

NYEDGE2

NYEDGE2#config t

Enter configuration commands, one per line. End with CNTL/Z.

NYEDGE2(config)#router rip

NYEDGE2(config-router)#

NYWAN1

NYWAN1#config t

Enter configuration commands, one per line. End with CNTL/Z.

NYWAN1(config)#router rip

NYWAN1(config-router)#

Explanation:

Router rip enables rip processing on the router. The router rip commands must be entered on all three routers.

Step 2: Add the necessary network numbers.

Action:

network <network number>

Result:

NYEDGE1

NYEDGE1(config-router)#network 192.50.6.0

NYEDGE1(config-router)#end

NYEDGE2

NYEDGE2(config-router)#network 192.50.6.0

NYEDGE2(config-router)#end

NYWAN1

NYWAN1(config-router)#network 192.50.6.0

NYWAN1(config-router)#end

Explanation:

RIP does not propagate subnet information in its routing updates, and therefore compares any network addresses it receives against its own internal mask for that major network. Therefore, you do not need to make a network entry statement for each of the subnets. You only need to enter it for the major network. This is characteristic of a classfull routing protocol.

Task 5 - Configure the interfaces in each router

Can you see all subnets?

Can you communicate with the other interfaces?

What troubleshooting tools are available in the router?

Step 1: Check the routing tables on NYEDGE1.

Action:

show ip route

Result:

NYEDGE1#show ip route

Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP

   D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area  

   N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2        E1 - OSPF external type 1, E2 - OSPF external type 2        i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2        ia - IS-IS inter area, \* - candidate default, U - per-user static route        o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP 

   \+ - replicated route, % - next hop override 

Gateway of last resort is not set

  192.50.6.0/24 is variably subnetted, 8 subnets, 2 masks 

C 192.50.6.32/27 is directly connected, GigabitEthernet0/0

L 192.50.6.33/32 is directly connected, GigabitEthernet0/0

C 192.50.6.64/27 is directly connected, Serial0/0/0

L 192.50.6.65/32 is directly connected, Serial0/0/0

R 192.50.6.96/27 [120/1] via 192.50.6.66, 00:00:22, Serial0/0/0

C 192.50.6.128/27 is directly connected, Serial0/0/1

L 192.50.6.129/32 is directly connected, Serial0/0/1

R 192.50.6.160/27 [120/1] via 192.50.6.130, 00:00:11, Serial0/0/1

Explanation:

show ip route displays the routing table. The table should list 5 routes (excluding the LOCAL (L) routes).

Three directly connected routes identified with a C at the beginning of the line, and two learned routes.

Since the routing protocol is RIP, the learned routes will appear with an R at the beginning of the line. The legend at the top of the display lists the symbols for the various routing protocols.

Step 2: Use Cisco Discovery Protocol (CDP) to check for neighbors.

Action:

show cdp neighbors

Result:

NYEDGE1#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

              S - Switch, H - Host, I - IGMP, r - Repeater 

Device ID Local Intrfce Holdtme Capability Platform Port ID

NYEDGE2 Ser 0/0/0 176 R S I 2811 Ser 0/0/0

NYCORE1 Gig 0/0 153 S I WS-C3750- Fas 1/0/1 NYWAN1 Ser 0/0/1 167 R S I 2811 Ser 0/1/0

Explanation:

Show cdp neighbors indicate the three neighbors to NYEDGE1 are NYWAN1, NYEDGE2 the two adjacent routers plus the connected Switch NYCORE1. NYEDGE2 is accessed through Ser0/0/0. NYWAN1 is accessed through serial Ser0/0/1.

Step 3: Use the ping command to verify connectivity

Action:

ping < ip address> or <host name>

Result:

NYEDGE1#ping 192.50.6.97

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.50.6.97, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 32/32/32 ms

NYEDGE1#ping 192.50.6.161

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.50.6.161, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 32/32/32 ms

Explanation:

The pings were successful indicating that the routers are passing traffic. A ping tests the network through layer 3 (network layer). The pings are issued against the Ethernet addresses of the NYEDGE2 and NYWAN1.

Step 4: Check the routing tables on NYEDGE2.

Action:

show ip route

Result:

NYEDGE2#show ip route

Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP

   D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area  

   N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2        E1 - OSPF external type 1, E2 - OSPF external type 2        i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2        ia - IS-IS inter area, \* - candidate default, U - per-user static route        o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP        a - application route        + - replicated route, % - next hop override 

Gateway of last resort is not set

  192.50.6.0/24 is variably subnetted, 7 subnets, 2 masks 

R 192.50.6.32/27 [120/1] via 192.50.6.65, 00:00:09, Serial0/0/0

C 192.50.6.64/27 is directly connected, Serial0/0/0

L 192.50.6.66/32 is directly connected, Serial0/0/0

C 192.50.6.96/27 is directly connected, GigabitEthernet0/0

L 192.50.6.97/32 is directly connected, GigabitEthernet0/0

R 192.50.6.128/27 [120/1] via 192.50.6.65, 00:00:09, Serial0/0/0 R 192.50.6.160/27 [120/2] via 192.50.6.65, 00:00:09, Serial0/0/0

Explanation:

show ip route displays the routing table. The table should list 5 routes (excluding the LOCAL (L) routes).

Two directly connected routes identified with a C at the beginning of the line, and three learned routes.

Since the routing protocol is RIP, the learned routes will appear with an R at the beginning of the line. The legend at the top of the display lists the symbols for the various routing protocols.

Step 5: Use Cisco Discovery Protocol (CDP) to check for neighbors.

Action:

show cdp neighbors

Result:

NYEDGE2#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

              S - Switch, H - Host, I - IGMP, r - Repeater 

Device ID Local Intrfce Holdtme Capability Platform Port ID

NYEDGE1 Ser 0/0/0 151 R S I 2811 Ser 0/0/0 NYCORE2 Gig 0/0 126 S I WS-C3750- Fas 1/0/1

Explanation:

show cdp neighbors indicate two neighbors to it which are NYEDGE1 and NYCORE2. NYEDGE1 is accessed through serial 0/0/0 and NYCORE2 is through its GigabitEthernet0/0 interface.

Step 6: Use the ping command to verify connectivity

Action:

ping < ip address> or <host name>

Result:

NYEDGE2#ping 192.50.6.33

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.50.6.33, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/30/32 ms

NYEDGE2#ping 192.50.6.161

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.50.6.161, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 56/59/60 ms

Explanation:

The pings were successful indicating that the routers are passing traffic. A ping tests the network through layer 3 (network layer). The pings are issued against the Ethernet addresses of the NYEDGE1 and NYWAN1.

Step 7: Check the routing tables on NYWAN1.

Action:

show ip route

Result:

NYWAN1#show ip route

Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP

   D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area  

   N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2        E1 - OSPF external type 1, E2 - OSPF external type 2        i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2        ia - IS-IS inter area, \* - candidate default, U - per-user static route        o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP        a - application route        + - replicated route, % - next hop override 

Gateway of last resort is not set

  192.50.6.0/24 is variably subnetted, 7 subnets, 2 masks 

R 192.50.6.32/27 [120/1] via 192.50.6.129, 00:00:18, Serial0/1/0

R 192.50.6.64/27 [120/1] via 192.50.6.129, 00:00:18, Serial0/1/0 R 192.50.6.96/27 [120/2] via 192.50.6.129, 00:00:18, Serial0/1/0

C 192.50.6.128/27 is directly connected, Serial0/1/0

L 192.50.6.130/32 is directly connected, Serial0/1/0

C 192.50.6.160/27 is directly connected, GigabitEthernet0/0 L 192.50.6.161/32 is directly connected, GigabitEthernet0/0

Explanation:

show ip route displays the routing table. The table should list 5 routes (again excluding LOCAL (L) routes). Two directly connected routes identified with a C at the beginning of the line, and three learned routes. Since the routing protocol is RIP, the learned routes will appear with an R at the beginning of the line. The legend at the top of the display lists the symbols for the various routing protocols.

Step 8: Use Cisco Discovery Protocol (CDP) to check for neighbors.

Action:

show cdp neighbors

Result:

NYWAN1#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

              S - Switch, H - Host, I - IGMP, r - Repeater 

Device ID Local Intrfce Holdtme Capability Platform Port ID

NYEDGE1 Ser 0/1/0 175 R S I 2811 Ser 0/0/1 NYCORE1 Gig 0/0 144 S I WS-C3750- Fas 1/0/2

Explanation:

show cdp neighbors indicate there are two neighbors to NYWAN1 which are NYEDGE1 and NYCORE1. NYEDGE1 is accessed through serial 0/1/0 and NYCORE1 through its GigabitEthernet 0/0 interface.

Step 9: Use the ping command to verify connectivity

Action:

ping < ip address> or <host name>

Result:

NYWAN1#ping 192.50.6.33

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.50.6.33, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/31/32 ms

NYWAN1#ping 192.50.6.97

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.50.6.97, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 60/60/60 ms

Explanation:

The pings were successful indicating that the routers are passing traffic. A ping tests the network through layer 3 (network layer). The pings are issued against the Ethernet addresses of NYEDGE1 and NYEDGE2.

 ā€ƒ

Summary

In this lab you completed the following tasks:

• Task 1 - Create a subnet plan

• Task 2 - Assign addresses to all interfaces, including serial lines

• Task 3 - Configure the interfaces in each router

• Task 4 - Configure/enable IP RIP routing

• Task 5 - Confirm configuration and operation

Related posts