Re: One Ethernet connection for Everything
- From: blackd <floris.desmedt@xxxxxxxxx>
- Date: Mon, 05 Nov 2007 11:56:19 -0000
On Nov 4, 8:45 pm, Chris Cox <notc...@xxxxxxxxxxxxxx> wrote:
Bob Bob wrote:
Chris
The term "switch" use to always mean something that worked in layer 2.
This meaning the client MAC address in most networks. Nowadays you often
see the term "layer 2 switch" or "layer 3 switch". Layer 3 implying IP
addresses in most cases and not being that common in cheaper boxes. (A
router is in a sense layer 3 switch)
Layer 3 switching may be problematic for an aliased interface if not
setup correctly. Layer 2 however works fine.
Hubs (layer 1 if you like) will also work fine with an aliased
interface. Hubs are "stupid" in that they "repeat" everything that
appears on one input to all outputs. Layer 2 switches on the other hand
learn what MAC addresses are on what physical ports and only output data
to that port if that MAC is the destination. This of course can give
better throughput than a hub.
Oh.. the issue with regards to isolation. That's all I meant.
If you are wanting to setup a gateway with a firewall, it's
probably best on a switch vs. a hub.
Apologies for the waffling..
No problem... I liked the explanation.
Bob
It can be done with using subinterfaces. Just write your one iptables
firewall-script so you can use alias names. This isn't the savest
solution because the other hosts in the network can bypass the router
be setting an other gateway (this problem allways exists when a
lollypop-gateway).
It will work with a hub also, the only thing to prefer a switch is the
speed in the network. A switch will be faster if there are more than 4
hosts in the network (thats some basic rule I use), this ios because a
router copy's all the input on one port too al the others, so if 2
hosts send something at the same time, the packets will interfere with
eatch other and a collesion will be created (after this both hosts
would resend there packets after a random time of waiting).
.
- Follow-Ups:
- Re: One Ethernet connection for Everything
- From: Bob Bob
- Re: One Ethernet connection for Everything
- References:
- One Ethernet connection for Everything
- From: Guy Ollerearnshaw
- Re: One Ethernet connection for Everything
- From: Chris Cox
- Re: One Ethernet connection for Everything
- From: Bob Bob
- Re: One Ethernet connection for Everything
- From: Chris Cox
- One Ethernet connection for Everything
- Prev by Date: libstdc++.so.2.9 without __eh__pc in SuSELinux 10.3 (uvscan)
- Next by Date: Re: Webcam on suse 10.3
- Previous by thread: Re: One Ethernet connection for Everything
- Next by thread: Re: One Ethernet connection for Everything
- Index(es):
Relevant Pages
|