1
edit
Changes
→Assignment 1
= Assignment 1 =
Based on the information collected, answer the following questions:
# <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. <a name="one">What is the kernel version on matrix.</a>
::lsdaly@matrix:~> uname -r
::2.6.18.8-0.5-default
: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
:3. <a name="three">What is the network mask 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
::127.0.0.0 lo
:5. <a name="five">What is the IP address of the gateway for the Linux machine on matrix?</a>
::Destination Gateway
::0.0.0.0 192.168.1.254
:6. <a name="six">What is the command to display all the currently loaded kernel modules?</a>
::lsdaly@matrix:~> /sbin/lsmod
::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.8-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@matrix:~> /sbin/arp -n
::192.168.1.254 ether 00:0E:0C:7F:84:6F eth0
:9. <a name="nine">How do you display all the physically network addresses known by a Linux machine?</a>
::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 [ether] on eth0