4P14

Lab 4
Network Tools




In this lab we will be introducing a few network tools. You will be required to submit a joint report outlining what you have done.

ifconfig

Lets take a closer look at ifconfig (interface configuration).

There are many tutorials on ifconfig, one such is  http://www.computerhope.com/unix/uifconfi.htm. Follow through this tutorial and demonstrate that you can effectively reconfigure the ethernet interface on the Linux installation. Be sure to write down your IP address, we will use this later.

nslookup

Do a nslookup on www.brocku.ca. What does this tell you?


netstat

What is net stat?
netstat -a
netstat -i
netstat -r –n
netstat -s
What does this tell you about your interfaces and routing?

dig

https://mediatemple.net/community/products/dv/204644130/understanding-the-dig-command

What does dig do?

Do the following.
dig www.Brocku.ca
dig Brocku.ca any
dig Brocku.ca mx
dig Brocku.ca ns
dig 139.57.101.191
What are NS and MX records?
 

What does this tell you about the web Server addresses?

What does this tell you about the mx records?

What does this tell you about the ns records?

What does the reverse address point to?

Why did the last dig produce no results?


Windows Static IP.

Boot into Windows. Open a cmd window.
The microsoft version if ifconfig is ipconfig. Run this and write down your IP, gateway, and netmask, DNS. Are these the same as those in Linux?  Why?



Open the network configuration. What protocols are active?

Set windows to use a static IP with a static value of +25 over that which would be assigned by DHCP. Configure the other fields as well. Restart so that the settings take effect. Verify your network is working. You can check the setting by running ipconfig.




From the data collected above, write a 2 page lab report which outlines your understanding. Be sure to extrapolate uses of your new knowledge. Credit will be given once the lab report has been turned in, next weeks lab.

Assume you wish to connect your laptop to the network in J301, i.e. use a cable. What must you do if you want to do this legitimately (white hat)? What must you do if want to do this illegitimately (black hat).