System and Network Administration lecture in color

Review for quiz 2

Coverage:

Review problems

  1. You're on a machine that has the routing table;
     subnet                gateway         interface
     130.64/16             10.1.1.30       eth0
     192.168.1/24          10.1.1.20       eth0
     192.168.2/24          10.1.1.10       eth0
     192.168.2/24          10.1.1.10       eth0
     10.1.1/24             10.1.1.3        eth0
     default               10.2.1.50       eth1
    
    1. From this information, what's your IP address?
    2. What's your best guess for the subnet mask for your interface eth0? Why?
    3. If your host sends a packet to the host numbered 130.64.12.15, which gateway is the packet's next hop?
  1. You can't talk to an adjacent machine on your own network. List the problems that can cause this and their solution.
  1. Describe exactly how to utilize traceroute to find a broken router.
  1. You're trying to talk through a firewall choke. You find that you can ping 10.2.5.1 and 10.2.5.15 but not 10.2.5.16 or 10.2.5.30. Give a firewall address and mask that would match the addresses you can ping without matching the addresses you can't ping.
  1. Give the procedure for checking the reverse lookup for the address 130.64.25.13 using nslookup.
  1. If the reverse lookup comes up with the wrong name, what to do?
  1. Give the ifconfig command that configures eth0 as 10.2.5.1, broadcast 10.2.5.255, subnet mask 255.255.255.0
  1. Suppose we have the following filters set up via ipchains:
     from 0.0.0.0/0 to 10.2.45/24 deny
     from 0.0.0.0/0 to 10.2.46/24 allow
     from 10.2/16   to 10.2.50/16 allow
     from 0.0.0.0/0 to 10.2.40/24 deny
    
    Which of the following packets get through?
    1. from 130.64.9.2 to 10.2.45.30
    2. from 130.64.9.2 to 10.2.50.33
    3. from 10.2.30.55 to 10.2.50.53
    4. from 10.2.30.55 to 10.2.40.30
  1. Suppose you have the following IPchains setup.
     from 0.0.0.0/0 to 10.2.50.33 port 22 masq 
    
    What happens to a packet sent to 10.2.50.33:22? By what mechanism are responses sent back to the calling host?

lecture in color

/comp/150NET/notes/review2-old.php
downloaded on Nov-23-2009 02:51:33 PM,
was last modified on Feb-17-2004 10:49:34 PM.

All lecture note content is copyright 2004 by
Alva L. Couch, Computer Science, Tufts University