FIT327 03 - Tutorial - Real LAN Configuration
FIT327 03 - Tutorial - Real LAN Configuration
FIT327 03 - Tutorial - Real LAN Configuration
Remember:
- Use straight-through cable to connect switch-PC.
- Use cross-over cable to connect switch-switch.
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
III. Work with some Commands.
Open cmd on your PC to work with these commands.
1. ipconfig
Syntax:
ipconfig /release [adapter]: Release the IP address for the specified adapter.
For example: ipconfig /release "Local Area Connection"
ipconfig /renew [adapter]: Renew the IP address for the specified adapter.
For example: ipconfig /renew "Local Area Connection"
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.
More @ http://en.wikipedia.org/wiki/Ping
3. nslookup
More @ http://en.wikipedia.org/wiki/Nslookup
4. netstat
Netstat displays network connections (both incoming and outgoing), routing tables, and
a number of network interface statistics.
5. tracert
Tracert (similar to traceroute in Linux) allows you to determine the route packets
take through a network to reach a particular host that you specify.
For using parameters guide, type: tracert /?
More @ http://www.windowsnetworking.com/articles_tutorials/Using-Tracert.html
6. nmap
Go to moodle and download 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
To see the IP address of your machine, in the terminal (using root account)
type: ifconfig (in Windows, it is ipconfig, don’t be confused).
IV. Self-study
Try configuring network in some other distributions of Linux.