Changes

Jump to: navigation, search

NAD710 Lab 1 Answers

135 bytes removed, 11:37, 17 September 2008
no edit summary
= Assignment 1 Please correct me =Based on the information collected, answer the following questions:best available info# <a name="#one">What is the kernel version of Linux on matrix?</a># <a name="#two">What is the IP address and MAC address of the Linux machine on matrix?</a># <a name="#three">What is the network mask on matrix?</a># <a name="#four">What are the network addresses of the Linux machine? (there should be three networks)</a># <a name="#five">What is the IP address of the gateway for the Linux machine on matrix?</a># <a name="#six">What is the command to display all the currently loaded kernel modules?</a># <a name="#seven">Where is the file for the kernel module called "e100"?</a># <a name="#eight">What is the MAC address for the network device that has the IP address 192.168.1.254?</a># <a name="#nine">How do you display all the physically network addresses known by a Linux machine?</a># <a name="#ten">What is the MAC address of the network device on the default gateway for the Linux machine on matrix?</a>
:1. What is the kernel version on matrix?<pre>lsdaly@matrix:~> uname -rkernel release is 2.6.18.8-0.5-defaultKernel version of linux on matrix is #1 SMP Tue Feb 12 09:16:51 EST 2008</pre>:2. What is the IP address and MAC address of the Linux machine on matrix?::from /sbin/ifconfig:<pre>HWaddr: 00:0E:0C:74:9C:F9IP: 192.168.1.69<a name="one"/pre>:3. What is the kernel version network mask on matrix?<pre>Mask:255.255.255.0</apre>:4. What are the network addresses of the Linux machine? (there should be three networks)<pre>Kernel IP routing tableDestination Iface192.168.1.0 eth0169.254.0.0 eth0127.0.0.0 lo</pre>:5. What is the IP address of the gateway for the Linux machine on matrix?<pre>Destination Gateway0.0.0.0 192.168.1.254</pre>:6. What is the command to display all the currently loaded kernel modules?<pre>lsdaly@matrix:~> uname -r/sbin/lsmodModule Size Used bynfs 236268 4lockd 73192 2 nfs</pre>:7. Where is the file for the kernel module called "e1000"? (changed from e100)<pre>daly@matrix:~> /sbin/modinfo e1000filename: /lib/modules/2.6.18.8-0.5-default/kernel/drivers/net/e1000/e1000.ko</pre>:8. What is the MAC address for the network device that has the IP address 192.168.1.254?<pre>lsdaly@matrix:~> /sbin/arp -nAddress HWtype HWaddress Iface192.168.1.254 ether 00:0E:0C:7F:84:6F eth0</pre>:9. How do you display all the physically network addresses known by a Linux machine?<pre>lsdaly@matrix:~> /sbin/arp -n</pre>::pconstantino->(if you want to see the host names instead of IP addresses use arp with no arguments)
:2. <a name="two">What is the IP address and MAC address of the Linux machine on matrix?</a>
::from: /sbin/ifconfig
::mac address is 00:0E:0C:74:9C:F9
::and ip is 192.168.1.69
:310. <a name="three">What is the MAC address of the network mask device on matrix.</a>::Mask:255.255.255.0 :4. <a name="four">What are the network addresses of the Linux machine? (there should be three networks)</a> ::Kernel IP routing table::Destination Iface::192.168.1.0 eth0::169.254.0.0 eth0::127.0.0.0 lo :5. <a name="five">What is the IP address of the default gateway for the Linux machine on matrix?</a>::Destination From question 5: Gateway::0.0.0.0 IP is 192.168.1.254 :6. <a name="six">What is the command to display all the currently loaded kernel modules?</apre::lsdaly@matrix:~> /sbin/lsmod::Module Size Used by::nfs 236268 4::lockd 73192 2 nfs :7. <a name="seven">Where is the file for the kernel module called "e1000"? (changed from e100)</a> ::daly@matrix:~> /sbin/modinfo e1000::filename: /lib/modules/2.6.18.8arp -0.5-default/kernel/drivers/net/e1000/e1000.ko :8. <a name="eight">What is the MAC address for the network device that has the IP address 192.168.1.254?</a> ::lsdaly@gateway.matrix:~> /sbin/arp -n::Address HWtype HWaddress Iface::(192.168.1.254 ether ) at 00:0E:0C:7F:84:6F [ether] on eth0</pre>
[[Category:9. <a name="nine">How do you display all the physically network addresses known by a Linux machine?</a>LUX]][[Category::lsdaly@matrix:~> /sbin/arp -n :10. <a name="ten">What is the MAC address of the network device on the default gateway for the Linux machine on matrix?</a>::From question 5: Gateway IP is 192.168.1.254::lsdaly@matrix:~> /sbin/arp -a 192.168.1.254::gateway.matrix (192.168.1.254) at 00:0E:0C:7F:84:6F [etherNAD]] on eth0
1
edit

Navigation menu