RE: [SLE] How to use a Linux System as a router?

From: Peer Stefan (stefan.peer_at_tiwag.at)
Date: 11/04/03

  • Next message: tallison_at_tacocat.net: "Re: [SLE] Suse Acquisition good/bad"
    Date: Tue, 4 Nov 2003 16:11:38 +0100
    To: "SuSE-Linux" <suse-linux-e@suse.com>
    
    

    Hi,
    > From: Darrell Cormier [mailto:linuxdev@sptc.net]
    > >I asked a similar question a few months agoin a thread cable
    > internet
    > >questions(9/23) ...
    > >Just a note on the home made router, there are lots of pre-stipped
    > >linux based router/firewall packages. Usually take between 300 and
    > >500mb and 32meg of ram. Clarkconnect is the only one that comes to
    > >mind right now.
    > >
    > >Switch v. Router. I haven't noticed much difference in the two
    > >personally, but I understand that the more traffic you have the more
    > >you want a switch. Switches direct traffic to a specific
    > machine and
    > >routers just route them along to all the machines. Thus increasing
    > >network traffic.
    > ><snip>
    > >
    > I am not a networking guru but this description sounds like the
    > difference between a Hub and a switch. It could be both but
    > I thought a
    > router routed directly to specific machines.
    >
    > Please correct me if I am wrong about this.

    Routers and switches work on different layers within the OSI layer model:

    1. PHY - this is the lowest layer. Physical connection, point to point
    2. MAC/DLL - Media Access/Data Link Layer: This is the "Switch"-layer. Switches "route" traffic according to their MAC-addresses.
    3. Network - This is where IP comes in, with subnetting and ip-routing and the whole thing. This is the "Router"-layer.
    4. Transport - TCP, UCP, et al.
    5. Session - deals with application-to-application communication
    6. Presentation or Syntax layer - converts incoming or outgoing data from one format to another
    7. Application - Mail, HTTP, whatever high-level application protocoll

    Basically a router connects two subnets, a switch is located within one subnet. Yes, there are so-called "Layer 3 Switches", which understand IP and there are routers, which understand the application layer (for at least some applications), but I think you get the idea.

    If you interconnect two or more subnets you'll need a router (e.g. your internet gateway) and if you connect some devices within one subnet a hub or a switch will do.

    Cheers,
    Stefan

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: tallison_at_tacocat.net: "Re: [SLE] Suse Acquisition good/bad"

    Relevant Pages

    • Re: Trouble obtaining IP address
      ... So some internet providers will not ... On newer systems, you have to power cycle the cable modem to make it work reliably, with a pause of about a minute between off and on. ... This is what the "clone MAC address" function on routers is for - you log into the router from the system that was originally connected to the cable modem, ... >said I cannot switch Ethernet cable from one computer to another and>expect ...
      (microsoft.public.windowsxp.network_web)
    • Re: Joining Two Large Network
      ... The "router interfaces" of a Layer3 Switch are created with VLans ... will need each side to keep using their Internet Device as their Default Gateway ...
      (microsoft.public.windows.server.networking)
    • Re: [SLE] Question about net connection/sharing
      ... >>> My girlfriend recently got satellite internet. ... >> There is a big difference in a hub, a router, and a switch. ... Maybe I assumed there was a firewall installed? ...
      (SuSE)
    • Re: Ping works, internet does not. Im missing something here..
      ... Ping works, internet does not. ... , switch, switch, rtr_int01, switch, rtr_gateway ... I can ping the other side of this router (intfa0/0) ...
      (comp.dcom.sys.cisco)
    • Re: Joining Two Large Network
      ... nothing more than a Layer3 Router and a Layer2 Switch built into the same piece ... The "router interfaces" of a Layer3 Switch are created with VLans ... will need each side to keep using their Internet Device as their Default Gateway ...
      (microsoft.public.windows.server.networking)