Berkeley CSUA MOTD:Entry 39329
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/02 [General] UID:1000 Activity:popular
4/2     

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)
           router: Allows communication between 2 different networks
           \_ The original difference between a hub and a switch is that
              a hub was multicasting whereas a "switch" (originally called
               a "switching hub") had enough circuitry to route signals
               to the appropriate port and that port only in which the
               destination IP was located. Obviously a multicasting
               hub would slow down the whole network with unnecessary
               chatter. A "router" used to mean devices which would
               route traffice between different LANs, although these days
               the terms have devolved so that they are somewhat
               interchangeable (all hubs have essentially become switches,
               it's actually somewhat difficult to find a hub these days, and
               many switches have essentially become routers).
           \- in practice these are used some what randomly right now.
              like managed switches are actually pretty smart. but sort
              of at a functional level: hub turns one network drop into a
              place you can plug in multiple devices. switch: sort of a
              set of point to point links making up a subnet based on
              arp/mac, and a router is what knows about "routing", i.e.
              IP addresses.
           \_ Hub: a multiport repeater, extends an ethernet "wire" to
                   multiple machines.
              Switch: a multiport bridge, separates ethernet collision
                   domains
              Router: communication interface between different IP broadcast
                   domains
              Layer 3 switch:  Basically a router with a built-in switch. -John
              \_ I see.  Currently I have Yahoo DSL and one PC at home.  The PC
                 connects to the only ethernet port on the DSL modem.  If I
                 want to add a second PC, I should buy a hub, connect the hub
                 to the DSL modem, and connect both PCs to the hub.  Is that
                 correct?  Thx.  -- OP
                 \_ Not exactly. The hub is not smart enough to translate
                    between the DSL modem and your PCs, and your modem will
                    balk at two PCs trying to talk to it at the same time.
                    Get a four-port router, place that between the modem
                    your PCs, and configure your router to make the connection
                    (i.e., get the IP address and serve DHCP to your PCs).
                    \_ What?  What DSL modem doesn't also function as a mini-
                       router?  The DSL modem port isn't magic.  It is pumping
                       out bog standard ethernet packets.  --boggle!
                       \_ Yahoo! SBC DSL is PPPoE. The router needs to
                          make the connection. The person above is
                          correct. Get a hub and place it between the
                          router and the modem. I guess this guy needs a
                          router, too. It's not the only way, but it's the
                          best and easiest way. In fact, many DSL routers
                          are also hubs so he only needs to buy one piece
                          of equipment.
                          \_ You failed to recognize DRIPPING sarcasm.  Your
                             penance is to watch George Carlin until your
                             brain melts
        \_ Nice nuke.  Hub = multiport repeater, extension of one ethernet
           collision domain to many wires/hosts.  Switch = multiport bridge,
           separates ethernet collision domains (when you hear that ethernet
           is contention-based, it means you have traffic from more hosts
           colliding on one "wire", slowing shit down.)  Router = separates
              \- this is getting less true *in practice* with gigE. it makes
                 life a lot more complicated to run half-dup and is largely
                 file a more more complicated to run half-dup and is largely
                 req'ed because of IEEE politics. do you know anybody running
                 1/2 dup gigE? see e.g. wl.20050819. do you think the person
                 asking the question know what things like "bcast domains"
                 mean?
                 \_ He asked for definitions.  The above are correct, _and_
                    try to answer his question (note: "try").  I don't
                    know anyone running gigE half duplex; I also don't know
                    anyone running gigE off a DSL line.  Hence: chill.  -John
                 \- BTW, in general there are a lot of weird performance
                    hacks in these networking devices so often they dont
                    operate the way you think they might. like some switches
                    start forwarding a packet before it arrives completely ...
                    it starts parsing the "front edge" header info ... so in
                    some cases part of the packet is already "in flight"
                    to the destination before the box "relizes" the checksum
                    has failed. anyway, this makes for all kind of weird
                    unintuitive behaviors, like why on some cases switching
                    between 10 and 100mbit can be slower than 10-10. etc.
                    a classic early example of this were the attacks on
                    cheep switches to get them to go into "repeat" mode
                    so you could sniff some extra traffic in a "switched"
                    environment. and mcast makes things a lot more complicated.
           IP broadcast domains and communicates transparently between them.
           A layer 3 switch is basically a router with a built-in switch, and
           a firewall is basically a bridge/switch or router with filtering
           logic.  In response to your question above, a hub will do fine.  I
           have no idea what the responder was on about with your DSL router
           (it's a router, not a modem, dammit) getting confused.  If you want
           higher speeds getting the PCs to talk to each other, get a switch,
           but you won't gain anything on your Internet connection.  Just make
           sure your DSL router (he's correct about the PPPoE, STFW) can
           accept connections from more than 1 client.  -John
           \_ The DSL modem and the DSL router are two separate devices.
              He said he has a modem. He never said if he has a router
              or not.
              \_ Rereading I guess you are objecting to the 'DSL modem'
                 terminology and realize this. He can do PPPoE from two
                 computers, but it would be easier to buy a router and
                 have it do the PPPoE instead of mere a hub.
              \_ Sorry, I have no idea whether I have a DSL modem or a DSL
                 router.  I signed up for the $19.95/mo plan in 3/05.  On my
                 SBC phone bill they charged me $99 and gave me a rebate for a
                 "DSL Modem Package".  So I always thought the black DSL thing
                 is a DSL modem.  I'll check the the labels on it and see if it
                 says anything.  -- OP
                 \_ OK, to be a bit less pedantic about it, generally, the way
                    DSL lines are implemented is by a device which has an
                    RJ11/45 port on one side doing "phone stuff" and RJ45
                    on the other side doing "ethernet stuff".  A "modem" is a
                    device which encodes digital signal in an analog sound
                    carrier.  Also, almost all DSL devices I have seen "route"
                    information between different IP subnets, hence the term
                    "router" (a router doesn't have to have ethernet on both
                    sides.)  This in almost no way affects your situation, just
                    trying to be informative.  I'm just a bit anal about
                    terminology.  -John
              \_ from a technical standpoint, most people use DSL routers and
                 know one class of routers as modems.  a true DSL modem would
                 provide what is essentially a serial bit stream interface,
                 or possible multiple streams with ASIC demultiplexors.
2025/04/02 [General] UID:1000 Activity:popular
4/2     

You may also be interested in these entries...
2009/11/4-17 [Computer/SW/P2P, Computer/Networking, Computer/SW/Security] UID:53495 Activity:nil
11/4    Holy cow, I got a warning from my ISP that they were notified
        by BSA/baytsp.com that I was copying music/video/software.
        Do they do port scan or something? That's a first for me.
        \_ They hang out on P2P networks and track IP addresses.  -tom
           \_ I believe they are paid by content providers to perform this
              monitoring service, so you should only run this risk with content
	...
2008/11/7-13 [Computer/Networking] UID:51876 Activity:low
11/7    Need help on http proxy. After I VPN to work, I'd like to tunnel
        all the traffic to my machine. How do I setup my machine (Linux)
        as a proxy server so that my home computers can route through it?
        I'm asking because the site we're testing on requires that we
        come from the same IP. If I use VPN, the server will reject me
        based on the fact that it's a different IP than my work Linux.
	...
2008/8/5-10 [Computer/Networking] UID:50788 Activity:nil
8/5     It looks like my company has started blocking HTTPS tunneling.
        I used to do this by tunneling SSH through the HTTP/HTTPS proxy
        server, but this seems to have stopped working. Does anyone know
        how the implementation of tunneling detection works, and whether
        there are widely available implementations? We run a bunch of MS
        stuff, so I imagine we're running an MS proxy server or something.
	...
2007/8/9-13 [Computer/Networking] UID:47570 Activity:low
8/9     Is there an automated way to change the IP of an XP machine? I have
        tests that need to get run on two separate sub-nets that now require
        me to physically go in and change the IP address of the test box.
        Cygwin is also installed if that helps any. Thanks
        \_ There are a few sort of hackey ways to do it:
           1) automate the mouse clicks and key strokes witto do it:
	...
2007/6/28-7/2 [Computer/Networking] UID:47104 Activity:nil
6/28    what?
        We are deeply, deeply sorry to say that due to licensing constraints,
        we can no longer allow access to Pandora for most listeners located
        outside of the U.S. We will continue to work diligently to realize
        the vision of a truly global Pandora, but for the time being we are
        required to restrict its use. We are very sad to have to do this, but
	...
2007/6/28-7/2 [Computer/SW/SpamAssassin] UID:47111 Activity:nil
6/28    Q: What are folks using these days for anti-spam measures?  I'm
        looking for something that integrates with my MTA (postfix) or my
        delivery agent (sieve).  Currently I'm using a crufty version of
        spamassassin wired into postfix via amavisd-new.  It's decent, but I
        don't want to be bothered with manually upgrading spamassassin or
        updating rulesets on a regular basis.  Anyone have any experience
	...
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/5/23-28 [Computer/Networking] UID:43157 Activity:nil
5/23    I have DSL through AT&T. The service was originally established
        through PacBell, transitioned to SBC, and now AT&T. I still have
        my original plan and never converted to a SBC Yahoo! (now AT&T
        Yahoo!) account. I noticed the price will be a lot cheaper if I
        do. Are there any drawbacks? I thought someone mentioned some
        negatives about the Yahoo! tie-in once upon a time.
	...
2006/5/8 [Computer/SW/Security] UID:42976 Activity:moderate
5/8     why you are getting all that blue frog spam
        http://q.queso.com/archives/001917 - danh
        \_ While I'm not ready to call it outright bullshit, I'm skeptical:
           * Most DNS operators with a clue set TTL values to cache records
             for 24 hours to one week.  The DNS notify mechanism leaves much
             to be desired.  Thus, changing a DNS pointer is unlikely to
	...
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?
	...