Berkeley CSUA MOTD:Entry 23294
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/25 [General] UID:1000 Activity:popular
5/25    

2001/12/18-19 [Computer/Networking] UID:23294 Activity:moderate
12/18   How does a unix box decide when to send traffic to the default
        route?  ARP or network address?
        \_ network address
           \_ So what is ARP used for these days?
              \_ ARP maps IP to MAC. Without the ARP table, you
                 can't send ethernet frames to your router, etc.
                 \_ So you really dont need to keep track of ARP broadcasts
                    from other people on your subnet, since the switch and
                    router figure out where everythign should go?
                    \_ If you have a switch, but you can't assume that
                       you are connected to a switch, since you could
                       be connected to a hub and there is no easy way
                       to determine that in software.
        \_ Huh?  Default route is gateway of last resort;  if a machine can't
           find a more specific route via another IP (i.e. a multihomed box,
           or a computer on a segment with several gateways) it sends traffic
           to the default gateway.  If it's on an ethernet segment, traffic
           gets to that default router via ARP, otherwise via whatever other
           layer2 protocol is used.  Two different things.  -John
        \_ UH, default route points to an IP address, ARP is what the system
           uses to find out what ethernet MAC address is associated with that
           IP address.
           \_ I think he means does the unix box send out an arp request
              for an IP address which it knows is outside the local network
              (because of the subnet mask), or does it just send the packet
              to the default route. I don't know, but snoop the network and
              you'll find out.
              \_  the kernel tries to send out a packet, wants to send it to
                  the default route, and if there's no arp entry for the
                  gateway router's ip address, either holds onto the packet
                  until it gets an arp entry, or dumps it.   If the gateway
                  IP isn't on one of the connected networks, what happens then
                  is system dependent (some systems wont let you set a default
                  route to an ip address it has no route for).
                  \_ if the gateway IP is not a directed connected network
                     (or a network which the host has a static route to it).
                     it's a configuration error.
                     \_ well some (broken) systems *will* let you configure
                        a default router ip address that  has no routes to it.
                        not exactly an  'error' in the frame of its
                        configuration, but still something that shouldn't work.
2025/05/25 [General] UID:1000 Activity:popular
5/25    

You may also be interested in these entries...
2007/4/19-21 [Computer/Networking] UID:46375 Activity:nil
4/19    After installing Logitech wireless mouse, my friend cannot connect from
        his PC to his wireless broadband router via a USB wireless network
        device.  It said that it cannot obtain IP address from the router.  Even
        uninstalling the Logitech wireless mouse doesn't help.  Do you know how
        to fix the wireless LAN problem, so that his PC can obtain IP address
        again?
	...
2006/3/25-27 [Computer/Networking] UID:42433 Activity:nil
3/24    I want to write in my DSL router to allow incoming connection
        from certain IP range. How do I find out the IP range for SBC
        DSL say in Bay Area/SF?
	...
2006/2/18-23 [Computer/Networking] UID:41923 Activity:low
2/18    My DSL modem's ip address is 192.168.0.1, my internal network
        behind my router is 10.0.0.x. Is there a way I can configure
        the router so I can access the DSL modem from my 10.0.0.x
        network directly without re-wiring? Static routes? I tried it
        but no much luck. I also tried changing my internal network to
        192.168.0.x, but still does not work. Thanks.
	...
2006/1/28-31 [Computer/Networking] UID:41585 Activity:low
1/28    Just switched to Comcast from SBC and generally happy with it.  But
        can someone please explain to me why they are constantly pumping
        ARP traffic through the network?  It seems harmless, but I'm curious
        as I didn't see it with DSL.  It's a little disconcerting to see
        constant traffic on your router, even if ARPs are harmless from
        a bandwidth perspective, and it makes the WAN send/receive light
	...
2006/1/22-24 [Computer/Networking] UID:41477 Activity:nil
1/21    I am trying to setup a small network for my girlfriend's
        mom's company.  They just bought an accounting package
        which requires windows 2003 server.  And they want internet
        access from each computer.  How should the network be setuped?
        Would it be dumb to use static IP for each computer and a
        computer as internet gateway?
	...
2005/8/29-30 [Computer/Networking] UID:39329 Activity:moderate 54%like:37400
8/29    What's the difference between a hub, a switch and a router?  Thx.
        \_ AFAIK, probably be corrected by someone:
           hub: Allows communication on a LAN with bandwith shared amongs all
                the nodes on the hub and maxing out at the max line speed.
           switch: Allows communication on a LAN with bandwith greater than
                the max line speed (point to point)
	...
2005/6/2-3 [Computer/Networking] UID:37941 Activity:moderate
6/2     I've been to many places and almost every place I go to have
        802.11b/g. However, almost all of them have protected access,
        which I presume they use because they don't want people stealing
        their bandwidth. So here is one idea I think will really
        revolutionize 802.11X... an option in the router that allows you to
        specify the percentage of unprotected bandwidth you are willing to
	...
2005/2/25-27 [Computer/Networking] UID:36421 Activity:moderate
2/25    What is the smallest (physical and price) cisco router that can
        handle BGP?  It should be able to have more than 256 ram.
        \_ When you say ``handle BGP'', do you mean supports the bgp
           protocol or supports enough ram to keep a reasonable (what do you
           consider to be reasonable) number of routes in memory?  Do you want
           to be peering at PAIX, or do you just need a router to run the T1
	...
2005/1/13-14 [Computer/Networking] UID:35697 Activity:high
1/13    I need help fixing someone's Win2K box.  Setup:  Win2K box -> D-Link
        router -> DSL modem.  The Win2K box cannot obtain a DHCP address
        (other computers can).  So, I assign a static IP, and set the default
        gateway and DNS server to be the D-Link router.  After this, the Win2K
        box can access web pages on the Internet as long as you specify the
        web site IP address directly -- but DNS doesn't work.  Computer used
	...
2005/1/10-11 [Computer/SW/OS/VM] UID:35635 Activity:kinda low
1/10    VMware question for VMware gurus only. I've installed a WinXPsp1
        on top of WinXPsp2. How do you do the followings:
        1) transfer data between the two machines? I've tried mounting
           raw partition from WinXPsp1 but when I disable write, it
           doesn't boot up anymore (WinXP insists on writing)
        2) communicate between the two machines? I can ping WinXPsp1
	...
2004/8/24 [Computer/Networking] UID:33119 Activity:nil
8/24    To those with Cisco/router fu:
        My co-worker walked over and asked me what the "set default interface"
        command does if you don't specify a next-hop IP address.  I said
        you always need a next-hop IP address, unless you expect the
        destination IP address in the IP header to be on the directly connected
        network.  He said it will broadcast on that interface.  I'm googling
	...