Scenario Lab IP Addressing On Catalyst 2950 Switches
Scenario Lab IP Addressing On Catalyst 2950 Switches
Scenario Lab IP Addressing On Catalyst 2950 Switches
Lab Topology
The Topology diagram below represents the NetMap in the Simulator.
Command Summary
Command Description
congure terminal enters global conguration mode from privileged EXEC mode
enable enters privileged EXEC mode
end ends and exits conguration mode
hostname host-name sets the device name
interface type number changes from global conguration mode to interface
conguration mode
ip address ip-address subnet-mask assigns an IP address to an interface
ipcong /ip ip-address subnet-mask used in NetSim to assign an IP address and subnet mask to a
workstation interface
no shutdown enables an interface
ping ip-address sends an Internet Control Message Protocol (ICMP) echo
request to the specied address
IP Addresses
Device Interface IP Address Subnet Mask
Switch1 VLAN1 192.168.100.101 255.255.255.0
Switch2 VLAN1 192.168.100.102 255.255.255.0
HostA - 192.168.100.1 255.255.255.0
HostB - 192.168.100.2 255.255.255.0
Lab Tasks
1. Congure Switch1 with a host name of Switch1. Use the default virtual LAN (VLAN) for
management, and congure the appropriate IP address and subnet mask; refer to the IP Addresses
table.
2. Congure Switch2 with a host name of Switch2. Use the default VLAN for management, and
congure the appropriate IP address and subnet mask; refer to the IP Addresses table.
3. On HostA, congure the appropriate IP address and subnet mask; refer to the IP Addresses table.
4. On HostB, congure the appropriate IP address and subnet mask; refer to the IP Addresses table.
5. Verify the connectivity between HostA and HostB by pinging from HostA to HostB (192.168.100.2).
The ping should be successful.
Switch>enable
Switch#configure terminal
Switch(config)#hostname Switch1
Switch1(config)#interface vlan 1
Switch1(config-if)#ip address 192.168.100.101 255.255.255.0
Switch1(config-if)#no shutdown
Switch1(config-if)#end
2. On Switch2, issue the following commands to congure a host name, the default VLAN, and the
appropriate IP address and subnet mask:
Switch>enable
Switch#configure terminal
Switch(config)#hostname Switch2
Switch2(config)#interface vlan 1
Switch2(config-if)#ip address 192.168.100.102 255.255.255.0
Switch2(config-if)#no shutdown
Switch2(config-if)#end
3. On HostA, issue the following command to congure the appropriate IP address and subnet mask:
4. On HostB, issue the following command to congure the appropriate IP address and subnet mask:
5. Verify the connectivity between HostA and HostB by pinging from HostA to HostB (192.168.100.2).
The ping should be successful.
Copyright © 1996–2013 Boson Software, LLC. All rights reserved. NetSim software and documentation are protected by copyright law.