Sei sulla pagina 1di 3

ITT459 Data Communication Essentials Lab Exercise Basic Router Configuration and Network Addressing

1. 2.

Select the relevant devices and add them to the working space inside Packet Tracer. Use the labels as a guide as to where to place the devices. Based on the network requirements shown in the topology, design an appropriate addressing scheme. (Note: Remember that the interfaces of network devices are also host IP addresses and are included in the above addressing requirements.) Starting with the largest LAN, determine the size of each subnet you will need for the given host requirement After the addresses have been determined for all the LAN subnets, assign the first available address space to the WAN link between B1 and HQ. Assign the second available address space to the WAN link between HQ and B2 Use the addressing table below to document the IP addresses, subnet masks and default gateway addresses. For the LANs, assign the first IP address to the router interface, Assign the last IP address to the PC. For the WAN links, assign the first IP address to HQ

3.

Enter the basic configurations for the routers. To enter router configurations, a user needs to be in privileged EXEC mode. To enter the privileged EXEC mode, Router>enable Router#

Next, enter the global configuration mode Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# To change the router name from the default Router to, for example, R1 Router(config)#hostname R1 R1(config)# To enable the FastEthernet0/0 Interface R1(config)#interface fastethernet 0/0 R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up R1(config-if)# For a serial interface, the one labeled DCE must be additionally configured with a clock rate. For example, to configure a Serial0/0/0 interface R1(config-if)#interface serial 0/0/0 R1(config-if)#ip address 192.168.2.1 255.255.255.0 R1(config-if)#clock rate 64000 R1(config-if)#no shutdown R1(config-if)# Note: The interface will not be activated until the serial interface on the other end is configured and activated To return to the privileged EXEC mode from the global configuration mode R1(config-if)#end R1# To save the configuration R1#copy running-config startup-config Building configuration... [OK] R1# 4. 5. Configure the host PCs Verify and test the configuration. To verify that the routing tables have the routes R1#show ip route Codes: 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 Gateway of last resort is not set C 192.168.1.0/24 is directly connected, FastEthernet0/0 C 192.168.2.0/24 is directly connected, Serial0/0/0 To verify that the interface configuration is correct R1#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.1.1 YES manual up up FastEthernet0/1 unassigned YES unset administratively down down Serial0/0/0 192.168.2.1 YES manual up up Serial0/0/1 unassigned YES unset administratively down down Vlan1 unassigned YES manual administratively down down

6.

Test the connectivity. From the host attached to HQ, is it possible to ping the default gateway? From the host attached to B1, is it possible to ping the default gateway? From the host attached to B2, is it possible to ping the default gateway? From the host connected to HQ attempt to ping the host connected to B1 and B2. Is it successful? Attempt to do this with all other hosts. 7. Identify Layer 2 and Layer 3 addresses used to switch packets. Enter Simulation Mode Use the Add Simple PDU button to create a ping from PC1 to PC3 Change Edit Filters so that only ICMP is simulated Record the addresses used by PC1 to send the ping packet to B1 Addresses at PC1 Record the addresses used by PC1 to send the ping packet to B1 Layer 3 Source: Layer 3 Destination: Layer 2 Source: Layer 2 Destination: Addresses at B1 Record the addresses used by B1 to switch the ping packet to HQ: Layer 3 Source: Layer 3 Destination: Layer 2 Source: Layer 2 Destination: Addresses at HQ Record the addresses used by HQ to switch the ping packet to B2: Layer 3 Source: Layer 3 Destination: Layer 2 Source: Layer 2 Destination: Addresses at B2 Record the addresses used by B2 to switch the ping packet to PC3: Layer 3 Source: Layer 3 Destination: Layer 2 Source: Layer 2 Destination:

Potrebbero piacerti anche