LAN Configuration: CNE - Tutorial Guide
LAN Configuration: CNE - Tutorial Guide
LAN Configuration: CNE - Tutorial Guide
Week 1
LAN Configuration
(Windows & Linux environment)
Start -> Setting -> Network & Internet -> Change adapter options
Here I choose 192.168.28.111 for my PC’s IP address. You can choose any IP from the IP
range. However, to avoid IP conflict (because PCs in the same network cannot have the same
IP), you can choose number based on your student ID number, for example: your student ID is
0501040101 so you can choose IP like: 192.168.28.101
Open cmd (Start Run type cmd) and ping your own PC’s IP and then your
friend PC:
For example: ping 192.168.28.111
1. ipconfig
Syntax:
More @ http://www.ss64.com/nt/ipconfig.html
2. ping
It works by sending ICMP echo request packets to the target host and listening
for ICMP echo response replies.
Example:
In lab 414C we may not ping fit.hanu.vn so just try pinging other PCs in lab
or gateway. You can practice more at home.
210.245.52.227: IP address of fit.hanu.vn
byte=32: size of ping packet (32 bytes)
times=13ms: round trip times - The elapsed time for transit of a signal over a closed circuit, or
time elapsed for a message to a remote place and back again.
TTL=57: is a limit on the period of time or number of iterations or transmissions in computer and
computer network technology that a unit of data (e.g. a packet) can experience before it should
be discarded.
More @ http://en.wikipedia.org/wiki/Ping
3. nslookup
Netstat displays network connections (both incoming and outgoing), routing tables,
and a number of network interface statistics.
5. tracert
More @ http://www.windowsnetworking.com/articles_tutorials/Using-Tracert.html
6. nmap
Download and install nmap for Windows. After installing, read the instruction on
executing Nmap on Windows: http://nmap.org/book/inst-windows.html
Using graphic interface: Open network configuration tool in the top bar at System
Administration Network
or
Using command line (recommended): Open terminal tool in the top bar
at Applications Accessories Terminal
+ Open and edit interface file, type this into the terminal:
nano /etc/network/interfaces
+ by default you'll see something like this:
# The loopback network interface
auto lo
iface lo inet loopback
III. Self-study
Try configuring network in some other distributions of Linux.