Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Go to PC1
Select Command Prompt
Type ping 192.168.1.1
Success!!!!!!
Check using sending a packet from PC0 to PC1 and watch is its successful in the realtime
window.
Go to PC1
Select Command Prompt
Type ping 192.168.1.1
Success!!!!!!
Check using sending a packet from PC0 to PC1 and watch is its successful in the realtime
window.
Exit
Router0(config)#interface fastEthernet 0/1
Router0(config-if)#ip address 192.168.2.1 255.255.255.0
Router0(config-if)#description Router 0 fastEthernet 0/1
Router0(config-if)#no shutdown
exit
Router0(config)#exit
Router0#show running-config
Router0#copy running-config startup-config
Destination filename (startuo-config)? Enter
2. Select PC0
Click the device- select Desktop Tab- Select IP configuration- Select Static- Write IP
address- 192.168.1.10
Click on Subnet mask and Packet Tracer automatically select subnet mask 255.255.255.0
Default Gateway: 192.168.1.1
3. Select PC1 and do the same. Write IP address as 192.168.2.10
Default Gateway: 192.168.2.1
5. Build a network between two LANs using a router. Each LAN consists
of three PCs and a switch
Step1: Connect the network as shown above. Use straight through cable for connection
between PC to switch and switch to router.
Step2: Configure the router as shown in problem 4.
Step 3: Configure IP address, subnet mask and default Gateway for all the PCs as shown
before. For default gateway, use the IP address of the router’s Ethernet port where the
corresponding LAN’s switch has been connected. For example, for the network, 192.168.1,
the IP address of the left connecting port of the router should be used. For the network
192.168.2, the IP address of the port at right side of the router should be used.
6. Static routing between two different networks using two routers
Step 2: Connect all the devices with copper cross over cable
Step 3: Configure IP address, subnet mask and default Gateway for PC1, PC2, PC3 and PC4.
The default gateway should be the IP address of the interface of the router with which the
PC is connected.
Go to Router1
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.1.2.0 255.255.255.0 192.1.3.2
Router(config)#exit
Go to Router2
Router#enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.1.1.0 255.255.255.0 192.1.3.1
Router(config)#exit
Step 6:
Check with ping command from PC1 to PC3 and PC4 for connectivity
Check with ping command from PC3 to PC1 and PC2 for connectivity
7. Configure Internet access on Cisco Router
Equipments:
1. Router :2811
2. ISP IP address: 203.1.1.1
3. LAN IP address: 172.16.1.1
4. Console Cable
Connections:
Take Router 2811 as ISP and connect HWIC-2T (The HWIC-2T is a Cisco 2-Port Serial High-Speed
WAN Interface Card, providing 2 serial ports.).
Router>enable
Router#conf
Configuring from terminal, memory, or network [terminal]? t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Customer
Customer(config)#int f0/1
Customer(config-if)#ip address 200.1.1.1 255.255.255.0
Customer(config-if)#no shutdown
Customer(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
Customer(config-if)#int se0/0/0
Customer(config-if)#ip address 203.1.1.2 255.255.255.0
Customer(config-if)#no shutdown
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname ISP
ISP(config)#int se0/0/0
ISP(config-if)#ip address 203.1.1.1 255.255.255.0
ISP(config-if)#no shutdown
ISP(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
ISP(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
ISP(config-if)#int fa0/0
ISP(config-if)#ip address 192.1.1.2 255.255.255.0
ISP(config-if)#no shutdown
ISP(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Customer>enable
Customer#config t
Enter configuration commands, one per line. End with CNTL/Z.
Customer(config)#ip dhcp excluded-address 200.1.1.1 200.1.1.99
Customer(config)#ip dhcp pool Internal-LAN
Customer(dhcp-config)#network 200.1.1.0 255.255.255.0
Customer(dhcp-config)#default-router 200.1.1.1
Customer(dhcp-config)#dns-server 192.1.1.1
Customer(dhcp-config)#exit
Customer(config)#exit
Customer#
Configure default on the Router Customer and Static route from ISP:
Customer>enable
Customer#config t
Enter configuration commands, one per line. End with CNTL/Z.
Customer(config)#ip route 0.0.0.0 0.0.0.0 203.1.1.1
Customer(config)#exit
Customer#
ISP>enable
ISP#config t
Enter configuration commands, one per line. End with CNTL/Z.
ISP(config)#ip route 200.1.1.0 255.255.255.0 203.1.1.2
ISP(config)#exit
ISP#
Customer>enable
Customer#config t
Enter configuration commands, one per line. End with CNTL/Z.
Customer(config)#int Fa0/1
Customer(config-if)#ip nat inside
Customer(config-if)#exit
Customer(config)#int Se0/0/0
Customer(config-if)#ip nat outside
Customer(config-if)#exit
Customer(config)#
Call Access-list:
Successful ???
Go to Web Browser of PC1
Write 192.1.1.1 in the address and enter. Check if web page is available or not.