2. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
1
PAGE
PRACTICAL – #01
AIM: Use Of Ping and Tracert/Traceroute and ARP Utilities
Software: Cisco Packet Tracer
SOLUTION
Diagnostic commands help you detect TCP/IP networking problems. Some of the diagnostic commands are
arp, hostname, ipconfig, netstat, ping, route, and tracert.
(i) arp:
This diagnostic command displays and modifies the IP-to-Ethernet or Token Ring physical address
translation tables used by the Address Resolution Protocol (ARP).
Syntax:
arp -a [inet_addr] [-N [if_addr]] arp -dinet_addr [if_addr]
arp -sinet_addrether_addr [if_addr]
Parameters:
-a – Displays current ARP entries by querying TCP/IP. If inet_addr is specified, only the IP and physical
addresses for the specified host are displayed.
-d – Deletes the entry specified by inet_addr.
-s – Adds an entry in the ARP cache to associate the IP address inet_addr with the physical address
ether_addr. The physical address is given as 6 hexadecimal bytes separated by hyphens. The IP address
is specified using dotted decimal notation. The entry is static. It will not be automatically removed from
the cache after the timeout expires and will not exist after a reboot of your computer.
-N – [if_addr] Displays the ARP entries for the network interface specified by if_addr.
ether_addr Specifies a physical address. if_addr Specifies, if present, the IP address of the interface
whose address translation table should be modified. If not present, the first applicable interface will be
used. inet_addr Specifies an IP address in dotted decimal notation.
3. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
2
PAGE
(ii) hostname:
This command has no parameters.
4. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
3
PAGE
(iii) ipconfig:
This diagnostic command displays all current TCP/IP network configuration values. This command is useful
on computers running DHCP because it enables users to determine which TCP/IP configuration values have
been configured by DHCP. If you enter only ipconfig without parameters, the response is a display of all of
the current TCP/IP configuration values, including IP address, subnet mask, and default gateway.
Syntax:
ipconfig [/all | /renew [adapter] | /release [adapter]]
Parameters:
all – Produces a full display. Without this switch, ipconfig displays only the IP address, subnet mask, and
default gateway values for each network card.
renew [adapter] – Renews DHCP configuration parameters. This option is available only on
computers running the DHCP Client service. To specify an adapter name, type the adapter name that
appears when you use ipconfig without parameters.
release [adapter] – Releases the current DHCP configuration. This option disables TCP/IP on the
local computer and is available only on DHCP clients. To specify an adapter name, type the adapter name
that appears when you use ipconfig without parameters.
5. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
4
PAGE
(iv) netstat:
This diagnostic command displays protocol statistics and current TCP/IP network connections.
Syntax:
netstat [-a] [-e][-n][-s] [-p protocol] [-r] [interval]
Parameters:
-a – Displays all connections and listening ports; server connections are usually not shown.
-e – Displays Ethernet statistics. This can be combined with the -s option.
-n – Displays addresses and port numbers in numerical form (rather than attempting name lookups).
-s – Displays per-protocol statistics. By default, statistics are shown for TCP, UDP, ICMP, and IP;
-p – The -p option can be used to specify a subset of the default.
6. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
5
PAGE
-p protocol – Shows connections for the protocol specified.
-r – Displays the contents of the routing table.
interval – Redisplays selected statistics, pausing interval seconds between each display.
7. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
6
PAGE
(v) ping:
This diagnostic command verifies connections to one or more remote computers.
Syntax:
ping [-t] [-a] [-n count] [-l length] [-f] [-i ttl] [-v tos] [-r count] [-s count] [[-
j host-list] | [-k host-list]] [-w timeout] destination-list
Parameters:
-t – Pings the specified host until interrupted.
-a – Resolves addresses to host names.
-n count – Sends the number of ECHO packets specified by count. The default is 4.
-l length – Sends ECHO packets containing the amount of data specified by length. The default is 64
bytes; the maximum is 8192.
-f – Sends a Do Not Fragment flag in the packet. The packet will not be fragmented by gateways on the
route.
-i ttl – Sets the time to live field to the value specified by ttl.
-v tos – Sets the type of service field to the value specified by tos.
-r count – Records the route of the outgoing packet and the returning packet in the record route
field. A minimum of 1 to a maximum of 9 hosts must be specified by count.
-s count – Specifies the timestamp for the number of hops specified by count.
-j host-list – Routes packets via the list of hosts specified by host-list. Consecutive hosts can be
separated by intermediate gateways (loose source routed). The maximum number allowed by IP is 9.
8. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
7
PAGE
-k host-list – Routes packets via the list of hosts specified by host-list. Consecutive hosts cannot be
separated by intermediate gateways (strict source routed). The maximum number allowed by IP is 9.
-w timeout – Specifies a timeout interval in milliseconds.
destination-list – Specifies the remote hosts to ping.
9. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
8
PAGE
(vi) route:
This diagnostic command manipulates network routing tables.
Syntax:
route [-f] [command [destination] [MASK netmask] [gateway] [METRIC metric]]
Parameters:
-f – Clears the routing tables of all gateway entries. If this parameter is used in conjunction with one of
the commands, the tables are cleared prior to running the command.
10. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
9
PAGE
command – Specifies one of four commands below:
(1) print: Prints a route.
(2) add: Adds a route.
(3) delete: Deletes a route.
(4) change: Modifies an existing route.
destination – Specifies the host to send command.
MASK – Specifies, if present, that the next parameter be interpreted as the netmask parameter.
netmask – Specifies, if present, the subnet mask value to be associated with this route entry. If not
present, this parameter defaults to 255.255.255.255.
gateway – Specifies the gateway.
METRIC – Specifies the route metric (cost) for the destination.
11. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
10
PAGE
(vii ) tracert
This diagnostic utility determines the route taken to a destination by sending Internet Control Message
Protocol (ICMP) echo packets with varying time-to-live (TTL) values to the destination. Each router along
the path is required to decrement the TTL on a packet by at least 1 before forwarding it, so the TTL is
effectively a hop count. When the TTL on a packet reaches 0, the router is supposed to send back an ICMP
Time Exceeded message to the source computer.
Tracert determines the route by sending the first echo packet with a TTL of 1 and incrementing the TTL by
1 on each subsequent transmission until the target responds or the maximum TTL is reached. The route is
determined by examining the ICMP Time Exceeded messages sent back by intermediate routers. Notice
that some routers silently drop packets with expired TTLs and will be invisible to tracert.
Syntax:
tracert[-d] [-h maximum_hops] [-j host-list] [-w timeout] target_name
Parameters:
-d – Specifies not to resolve addresses to host names.
-h maximum_hops – Specifies maximum number of hops to search for target.
-j host-list – Specifies loose source route along host-list.
-w timeout – Waits the number of milliseconds specified by timeout for each reply.
target_name – Name of the target host.
12. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
11
PAGE
PRACTICAL – #02
AIM: Configuring IP Static Routing
Software: Cisco Packet Tracer
SOLUTION
Devices: router (2811), Switch (2960), PC's
Setting IP(Router0)
Interface 0/0
Double Click → Config → FastEnternet0/0
IP Address: 172.16.0.1 & Subnet Mask: 255.255.255.0
13. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
12
PAGE
Setting IP(Router0)
Interface 0/1
Double Click → Config → FastEnternet0/1
IP Address: 100.0.0.1 & Subnet Mask: 255.0.0.0
Setting IP(Router0)
Interface 1/0
Double Click → Config → FastEnternet1/0
IP Address: 192.168.0.1 & Subnet Mask: 255.255.255.0
14. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
13
PAGE
Setting Static Route(Router0)
Double Click → Config → Static
15. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
14
PAGE
Setting IP(Router1)
Interface 0/0
Double Click → Config → FastEnternet0/0
IP Address: 10.0.0.1 & Subnet Mask: 255.0.0.0
Setting IP(Router1)
Interface 0/1
Double Click → Config → FastEnternet0/1
IP Address: 100.0.0.2 & Subnet Mask: 255.0.0.0
16. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
15
PAGE
Setting Static Route (Router1)
Double Click → Config → Static
17. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
16
PAGE
PC's Setting
Double Click → Desktop → IP Configuration → Static
IP Address: 172.16.0.2
Subnet Mask: 255.255.0.0
Default Gateway: 172.16.0.1
18. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
17
PAGE
PC's Setting
Double Click → Desktop → IP Configuration → Static
IP Address: 192.168.0.2
Subnet mask: 255.255.255.0
Default Gateway: 192.168.0.1
PC's Setting
Double Click → Desktop → IP configuration → Static
IP Address: 10.0.0.2
Subnet mask: 255.0.0.0
Default Gateway: 10.0.0.1
19. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
18
PAGE
Testing The Configuration:
20. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
19
PAGE
PRACTICAL – #03
AIM: Configuring IP Routing Using RIP
Software: Cisco Packet Tracer
SOLUTION
Devices: Router (2811), Switch (2960), PC's
Setting IP(Router0)
Interface 0/0
Double Click → Config → FastEnternet0/0
IP Address: 172.16.0.1
Subnet Mask: 255.255.255.0
21. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
20
PAGE
Setting IP(Router0)
Interface 0/1
Double Click → Config → FastEnternet0/1
IP Address: 100.0.0.1
Subnet Mask: 255.0.0.0
Setting IP(Router0)
Interface 1/0
Double Click → Config → FastEnternet1/0
IP Address: 192.168.0.1
Subnet Mask: 255.255.255.0
22. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
21
PAGE
Setting RIP(Router0)
Double Click → Config → RIP
Network: 10.0.0.0 Add
Network: 100.0.0.0 Add
Network: 192.168.0.0 Add
Network: 172.16.0.0 Add
Setting IP(Router1)
Interface 0/0
Double Click → Config → FastEnternet0/0
IP Address: 10.0.0.1
Subnet Mask: 255.0.0.0
23. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
22
PAGE
Setting IP(Router1)
Interface 0/1
Double Click → Config → FastEnternet0/1
IP Address: 100.0.0.2
Subnet Mask: 255.0.0.0
Setting RIP(Router1)
Double Click → Config → RIP
Network: 10.0.0.0 Add
Network: 100.0.0.0 Add
Network: 192.168.0.0 Add
Network: 172.16.0.0 Add
24. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
23
PAGE
PC's Setting
Double Click → Desktop → IP Configuration → Static
IP Address: 172.16.0.2
Subnet Mask: 255.255.0.0
Default Gateway: 172.16.0.1
PC's Setting
Double Click → Desktop → IP Configuration → Static
IP Address: 192.168.0.2
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.0.1
25. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
24
PAGE
PC's Setting
Double Click → Desktop → IP Configuration → Static
IP Address: 10.0.0.2
Subnet Mask: 255.0.0.0
Default Gateway: 10.0.0.1
Testing The Configuration:
26. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
25
PAGE
27. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
26
PAGE
PRACTICAL – #04
AIM: Configuring DHCP and DNS
Software: Cisco Packet Tracer
SOLUTION
Devices: 2 Generic Server PT, Switch (2960), 4 PC
Configuration: Server 1 (DHCP and HTTP)
Setting IP:
Double Click → Desktop → IP Configuration
IP Address: 192.168.0.1
Subnet Mask: 255.255.255.0
Default Gateway:
28. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
27
PAGE
Setting DHCP:
Double Click → Config → DHCP
Select on (Radio Button)
DNS Server: 192.168.0.2
Start IP Address: 192.168.0.0
Click Add/Save
Setting HTTP:
Double Click → Config → HTTP
http: Select on (Radio Button) https: Select on (Radio Button)
29. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
28
PAGE
Server 2 (DNS Server)
Setting IP:
Double Click → Desktop
IP Address: 192.168.0.2
Subnet Mask: 255.255.255.0
Setting DNS:
Double Click → Config → DNS
DNS Services: Select On (Radio Button)
Name: mvm.com //any URL you need
Address : 192.168.0.1 //ip address to be redirected
30. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
29
PAGE
Click Add/Save
PC's Setting
Double Click → Desktop → IP Configuration → DHCP
Checking DNS:
Double Click → Desktop → Web Browser
Enter in URL 192.168.0.1 //display web pages
OR
Enter in URL mvm.com //Display web pages
31. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
30
PAGE
PRACTICAL – #05
AIM: Configuring TELNET
Software: Cisco Packet Tracer
SOLUTION
5.1 Using Switch
Click Switch → CLI
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#line console 0
Switch(config-line)#pass megabytes
Switch(config-line)#login
Switch(config-line)#exit
Switch(config)#line vty 0 4
Switch(config-line)#pass megabytes
Switch(config-line)#login
Switch(config-line)#exit
Switch(config)#enable pass megabytes
Switch(config)#int vlan 1
Switch(config-if)#ip add 192.168.1.1 255.255.255.0
Switch(config-if)#no shutdown
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
Switch(config-if)#end
Switch#
%SYS-5-CONFIG_I: Configured from console by console
32. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
31
PAGE
Switch#wr
Building configuration...
[OK]
PC's Setting
Double Click → Desktop → IP Configuration → Static
IP Address: 192.168.1.2
Subnet mask: 255.255.255.0
33. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
32
PAGE
5.2 Using Router
Configuration Commands:
Router Configuration
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#enable password cisco
Router(config)#interface fa0/0
34. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
33
PAGE
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(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
Router(config-if)#exit
Router(config)#line vty 0 4
Router(config-line)#login local
Router(config-line)#exit
Router(config)#username pvgcst password pvgcst123
Router(config)#exit
Router#
PC's Setting
PC>telnet 192.168.1.1
Trying 192.168.1.1 ...Open
User Access Verification
Username: pvgcst
Password:
Router>enable
Password:
Router#
35. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
34
PAGE
PRACTICAL – #06
AIM: Configuring FTP Using FTP Commands
Software: Cisco Packet Tracer
SOLUTION
Configuration: Server-PT(FTP Server)
Setting IP: Double Click → Desktop → IP Configuration
IP Address: 172.16.0.1
Subnet Mask: 255.255.0.0
36. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
35
PAGE
PC0's Setting
Double Click → Desktop → IP Configuration → Static
IP Address: 172.16.0.3
Subnet Mask: 255.255.0.0
PC1's Setting
Double Click → Desktop → IP Configuration → Static
IP Address: 172.16.0.4
Subnet Mask: 255.255.0.0
37. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
36
PAGE
PC0's Setting
Select Text Editor & create test.txt file and save it.
38. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
37
PAGE
Test the FTP Server & check test.txt file.
Login To FTP Server:
ftp 172.16.0.1
username:-admin
password:-admin
39. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
38
PAGE
Next Download "test.txt" File In ftp dir:
> Put test.txt
Use dir Command To Check Downloaded File:
40. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
39
PAGE
To Rename The Current Downloaded File:
> Rename "test.txt" to "testnew.txt"
To Upload The Current Renamed File:
> Get "testnew.txt"
41. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
40
PAGE
PRACTICAL – #07
AIM: Configuring SMTP and POP3
Software: Cisco Packet Tracer
SOLUTION
Devices: 2 Generic Server PT, Switch (2960), 4 PC
Configuration: Server 1 (DHCP and HTTP)
Setting IP:
Double Click → Desktop → IP Configuration
IP Address: 192.168.0.1
Subnet Mask: 255.255.255.0
Default Gateway:
42. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
41
PAGE
Setting DHCP:
Double Click -> Config -> DHCP
Select On (Radio Button)
DNS Server: 192.168.0.2
Start IP Address: 192.168.0.0
Click Add/Save
Setting HTTP:
Double Click → config → HTTP
http: Select on (Radio Button) https: Select on (Radio Button)
43. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
42
PAGE
Server 2 (DNS Server)
Setting IP:
Double Click → Desktop
IP Address: 192.168.0.2
Subnet Mask: 255.255.255.0
Setting DNS:
Double Click → Config → DNS
DNS Services: Select On (Radio Button)
Name: pvg.com //any URL you need
Address: 192.168.0.1 //ip address to be redirected
44. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
43
PAGE
Click Add/Save
PC's Setting
Double Click → Desktop → IP Configuration → DHCP
Checking DNS:
Double Click → Desktop → Web Browser
Enter in URL 192.168.0.1 //Display Web Pages
OR
Enter in URL pvg.com //Display Web Pages
45. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
44
PAGE
Setting Email:
Go To Services
Click On EMAIL: Select On (Radio Button) for SMTP & POP3 Service
Domain Name: pvg.com //DNS Server Name → Click On Set Button
User Setup
Add any 4 Username and Password
46. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
45
PAGE
Consider 4 PC's as Your Four Users
Configure Email Service For All Users:
47. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
46
PAGE
Save The Setting:
Next Try To Send A Mail To shravanti From priya.
48. Mumbai University
B.SC.IT: SEM – VI
PRACTICAL QUESTION
INTERNET TECHNOLOGIES (2017)
Practical Question With Solution
47
PAGE
Send Successfully:
Next Check Shravanti's MailBox.