1. What must each computer have in order to participate on a TCP/IP network as well as contact hosts on remote networks by name?
a. IP Address
b. Netmask
c. DNS servers
d. default gateway
2. How long is the host ID by default in a Class A network?
b.1 byte
3. Which of the following are Class B IP addresses?
b. 177.16.41.10
d. 133.1.1.2
4. What network address is reserved for loopback?
127.0.0.1
5. What name is used to identify the first Ethernet network interface in Linux?
eth0
6. What file stores the list of DNS servers thay your computer can contact to resolve hostames into IP addresses?
a. /etc/resolve.comf
7. What command can you use to configure the IP address 192.168.1.1 and default subnet mask on your first Ethernet network interface?
ifup eth0
8. What command can you use to configure an additional IP address of 192.168.1.2 and default subnet mask on the same network interface configured in Question 7?
ifup eth0:a1
9. Which of the following commands may be used to view IP configuration?
d. ifstatus eth0
c. ifconfig -a
10. What file contains the information used to configure your second Ethernet network interface at boot time?
/etc/sysconfig/network/ifcfg-eth-id-......
11. What line would you configure in the file described in Question 10 to obtain an IP configuration from a DHCP server?
12. How many DNS servers may be listed in /etc/resolv.conf?
b. three
13. Which two commands could you type at a command prompt to add a route to the 188.16.0.0 network via the router 192.168.1.254?
route add -net 188.16.0.0 netmask 255.255.0.0 192.168.1.254
14. What file could you use to configure the static route configured in question 13 for use with all network interfaces on your system?
/etc/sysconfig/network/routes
15. What command could you use to send five ICMP requests to the host 192.168.1.254?
ping 5 192.168.1.254
16. What command could you use to listen to all traffic sent to port 1433 on your computer?
netcat -l -p 1433
17. What option(s) to the netstat command could you use to display the routing table?
netstat -rn
18. What command could you use to listen to all packets received on your first Ethernet network interface?
netstat -l eth0
Subscribe to:
Post Comments (Atom)
1 comment:
2. 3 bytes
7. ifconfig eth01 192.168.1.1
8. ifconfig eth0:1 192.168.1.2
9. ip address show will work also
11. who cares, but BOOTPROTO="dhcp"
18. I thought it would be tcpdump
Post a Comment