Recent Changes - Search:

Classes

FinalExam

Troubleshooting

edit SideBar

HW02a

  1. What's the difference between connection-oriented and connectionless networks?
    • connection-oriented: A circuit is created, and all bandwidth on the circuit is for this connection (even if the conversation is silent). You are guaranteed enough (fixed) bandwidth for the conversation, but it can be inefficient use of the network (silence).
    • connectionless: All bandwidth is shared, and all packets contain enough addressing to get to their destination. This is an efficient sharing of the network, but any conversation can be harmed by network congestion from other users.
  2. What's the difference between a hub and a switch?
    • hub: Layer 1 (multiport repeater), shared medium, divides the bandwidth
    • switch: Layer 2 (stores known MAC addresses on what port in SAT, Source Address Table), switched medium, multiplies the bandwidth in the ideal case
  3. Look at your current IP settings.
    • What is it in dotted decimal?
      • 152.2.145.34
    • What is it in dotted hexadecimal?
      • 0x 98.02.91.22
    • What is your gateway?
      • 152.2.192.1 (later changed to 152.2.145.1)
    • What is your netmask?
      • 255.224.0.0
      • What is your netmask in binary?
        • 11111111 11100000 00000000 00000000
      • How many other nodes could be local to you?
        • 21 host bits (0s in binary netmask), so 221 - 3 = 2,097,149
      • What is the address range of local hosts in dotted decimal format from low to high? in CIDR?
        • 152.0.0.1 - 152.31.255.254 or 152.0.0.0/11
    • How many other hosts are in your ARP table? Give me a sample (just a few lines).
               hope@mjollnir$ arp -a | head -10
               Net to Media Table: IPv4
               Device   IP Address               Mask      Flags   Phys Addr 
               ------ -------------------- --------------- ----- ---------------
               hme0   fs35.isis.unc.edu    255.255.255.255       00:d0:00:0f:34:66
               hme0   dhcp00130.its.unc.edu 255.255.255.255      00:16:cb:9d:68:60
               hme0   athena.net.unc.edu   255.255.255.255       00:03:ba:5c:4d:ad
               hme0   fs21.isis.unc.edu    255.255.255.255       00:d0:00:0f:34:66
               hme0   fs8.isis.unc.edu     255.255.255.255       00:d0:00:0f:34:66
               hme0   fs10.isis.unc.edu    255.255.255.255       00:d0:00:0f:34:66
  • More fun with your IP settings (not part of the homework assignment) ...
    • Could my netmask be any smaller (where, by smaller I mean having fewer host bits for fewer possible local nodes)?
      • To reach my default router (a requirement for network connectivity), yes, it could be quite a bit smaller. I could crank it all the way down to 255.255.248.0 (or /21) and still reach my gateway.
  • HINTS
Edit - History - Print - Recent Changes - Search
Page last modified on January 28, 2009, at 02:43 PM EST