Changes

Jump to: navigation, search

NAD710 Lab 1

1,175 bytes added, 21:09, 1 September 2008
Network settings
RX bytes:18954652 (18.0 Mb) TX bytes:18954652 (18.0 Mb)
* From the output of the /sbin/ifconfigcommand, you should be able to determine the IP address, network broadcast address and network mask of for your host's TCP/IP network settings. In the above sample output, "eth0" is device name of the actual real network device, and "lo" is the logical loopback network device. There are a few other fields which in the output that are import in troubleshooting networking problems. Consult the "man" page for "ifconfig" for more details.* To be able to communicate computers on the LANs or on the Internet, your system needs to know which network (or LAN) it is in and the IP address of at least one gateway machine to connect to other network. Type the command /sbin/route and record its output for later use: raymond@matrix:~> /sbin/route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0* From the output of the /sbin/route command, you should be able to tell which networks (LANs) your machine is directly connected (the 1st column) and which gateway (the 2nd column) your machine could be used to reach other networks. Consult the "man" page for "route" for more details.* If there is no "Gateway" for your machine, your machine can only communicate with other machines that are physically connected.
= Questions =
= Completing this Lab =
1
edit

Navigation menu