0% found this document useful (0 votes)
18 views1 page

Lab 1 - Network Protocols and Network Commands

This document provides instructions for a networking lab involving using various networking commands to investigate the local network configuration and protocol stack. Students are asked to document their own computer's name, IP settings, and MAC address, and also use commands like ipconfig, ping, tracert and nslookup to find additional network information. The document also introduces using the telnet program to test application level protocols like HTTP, SMTP, and FTP. Finally, students are instructed to use Wireshark to analyze network packets and observe different IP addresses and protocols.

Uploaded by

Rusho Arifin
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views1 page

Lab 1 - Network Protocols and Network Commands

This document provides instructions for a networking lab involving using various networking commands to investigate the local network configuration and protocol stack. Students are asked to document their own computer's name, IP settings, and MAC address, and also use commands like ipconfig, ping, tracert and nslookup to find additional network information. The document also introduces using the telnet program to test application level protocols like HTTP, SMTP, and FTP. Finally, students are instructed to use Wireshark to analyze network packets and observe different IP addresses and protocols.

Uploaded by

Rusho Arifin
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

D70001D Network programming and distributed applications

Lab 1 – Network protocols and network commands

Part 1 – Get to know the protocol stack and the local network

Document the local network connected to the computer.


- What is the computer name, IP settings, MAC address.
- What other network entities can you find information about (Gateway, DHCP, DNS
etc.)
- Are there other entities on the local network that you can’t ”see”?
- What else do you know about the network? (e.g. maximum number of computers)

Use these networks commands: (windows, similar commands in other OS)


arp, ping, ipconfig, route print, tracert, netstat, nslookup

Find out what each command does and relate each command to a layer in the protocol
stack (Host-to-network Layer, Internet Layer, Transport Layer, Application Layer).

To test an application protocol you may use the telnet program.


(More info. on telnet: http://technet.microsoft.com/en-us/library/c.aspx)
Another option is to use a telnet client like PuTTY.

HTTP
telnet www.ltu.se 80
GET / HTTP/1.0 (press enter twice)

SMTP (only from internal ltu addresses, port 25 is often blocked in firewalls)
telnet smtphost.ltu.se 25
helo ltu.se
mail from: <famous person, e.g [email protected]>
rcpt to: <your email address>
data
subject: <some text…>
<some content…>
.
quit

Check your inbox…

Part 2 – Network protocol analyser

Follow the instructions in the document ”Wireshark.pdf”, observe the need to use
other IP addresses...
To test anonymous ftp access you can use ftp://ftp.sunet.se
(Please try accessing an password ”protected” ftp site )

Comment the exercises in the lab report.

You might also like