(E-Mail Removed) wrote:
> I have a linux machine routing between two vlans in our telecom lab at
> school. One VLAN is the school's network the other vlan is the lab's
> network. The main function of the router is to limit the possiblity of
> anything in the lab bringing down the school lab while still allowing
> internet access. I've had it setup and running for a few weeks now but
> a bad cable knocked the internet out to the lab...
>
> So now I'm looking at ways to increase the redundancy...
OK, redundancy where? The Linux router is connected to the school vlan
and to the lab vlan via two separate interfaces, right? Whatever else
it does or does not do, it provides the routing between the two vlans.
The packets coming into the router from the vlans have had their
tagging removed, ie., they are just "regular" ethernet frames. Is
there a third interface or does one of these two (school?) interfaces
provide the upstream route to the internet?
> My first idea was to configure a second machine, just like the first
> and have it automaticly assume the first machines IP if the first was
> down. ...
Are you talking about a _redundant_ Linux router?
> ... Each machine has 2 ethernet interfaces one on each vlan. Then I
> realized I could setup vlan tagging and only use one interface.
You've kinda lost me here. If the Linux box is acting as a _router_
the downstream vlan switches will be feeding it ethernet frames, not
vlan tagged frames. Are you trunking?
> Now I'm starting to think I won't need a second machine. Can I bridge
> the two ethernet interfaces together and still run vlan tagging? ...
If I understand you, ie., two distinct vlans connected to Linux router,
then, no, you can't bridge or switch between the vlans. While
"virtual" they are still treated as separate _lan_ subnets, which is
why you need a _router_ to forward traffic between them.
The only way to have a physical link carry traffic from multiple vlans
is with trunking of some sort. Even when moving traffic on a single
vlan, the tagging only remains within the switch fabric. All frames
sent to non-native (or not trunked) devices will be "plain" ethernet
frames.
> ... Then
> use spanning tree protocol(STP) to only enable one interface at a time?
Has nothing to do with anything. See below.
> Right now I've got 3 machines in the rack to play with. Each have two
> ethernet interfaces and an ATM oc3 card. ...
Are the ethernet interfaces connected to vlan switches? Does the third
interface provide the upstream connection to the internet in some
fashion?
> ... I don't have an ATM switch so
> right now I just have two of the machines connected back to back. One
> of the machines also has a digium T1 card in it.
If you want redundancy at the link level you will have to run multiple
interfaces on the "redundant" capable device. Presumably you have in
mind failover for specific scenarios since the way you set up such
automagic failover depends on the scenario. Where can you accept a
"failure point"? From which direction? Connected to what kind of
device? I'm sensing that you don't need a high availability solution,
just failover to maintain a working pathway.
Someone else today had a question about link level failover and I could
not place the exact doc needed, but some quick snooping has rectified
this brain lapse. Take a look at the bonding.txt file on your Linux
box in /usr/* (/usr/src/linux/Documentation/networking/bonding.txt most
likely) or just look here and download it:
http://sourceforge.net/project/showf...group_id=24692
Read through and "understand" the options available, then test yourself
on a lab setup. This can get a bit tricky with some of the failover w/
aggregation modes. You do want aggregation since you have the extra
link level connection, don't you? ;-)
good luck,
prg