Skip to contentSkip to conversation

Route Vlans

LARTC Laurent Foucher 4 participants 4 messages Nov 8, 2002 – Nov 13, 2002

lore
Share & tools
lore
#1 lore raw

Laurent,

You should be able to do it with some elbow grease and Ben Greear's linux vlan implementation.

http://www.candelatech.com/~greear/vlan.html

This allows you to attach a single ethernet device to an 802.1q port on your switch, and configure multiple interfaces for each VLAN.

If you want to route, just turn the box into a router--sure it has only one ethernet cable, but it has multiple interfaces, right?

I have no experience with it.

Good luck,

-Martin

: Hello,
:
: Is it possible with a linux Bow to route différents VLANs, like a router :
: cisco can does ?
:
: Thank for your answers
:
: Laurent Foucher
:
: _______________________________________________
: LARTC mailing list / [email protected]
: http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
:

Signature · 6 lines
Martin A. Brown --- SecurePipe, Inc. --- [email protected]


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Laurent Foucher

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am trying to do that, my scheme is this:

Internet ->\ /--> VLAN 1

	    >Linux Router/FW<-- Switch 3Com-|--> VLAN 2

ATM ------>/ \--> VLAN 3

The switch is a 3Com Switch SuperStack II 3300
Some vlans will have access to internet and not to ATM network, and vice versa.
VLAN 1 and VLAN 2 should be avaible between them, in other words, some services into VLAN 1 must be avaible to VLAN 2.

My dude is...
Ok, Linux is running some sub-interfaces using 802.1q under eth0 only. So I only have one physical interface connected to the switch, where is the switch port where I need to connect that interfaces? Uplink port? Is that possible?

If it isn't possible I think I should use another computer, so I will have one linux for fw/routing and other with many physical interfaces as vlans I have into the switch, is that correct?

Let me know your opinions. :)

- --
Luis Miguel Cruz.

CCNA | [ADPSOFT] http://www.adpsoft.com
PGP KEY: 0x3AC52657 | "Connecting your business"

Quoted 19 lines · Martin A. Brown

Laurent,

You should be able to do it with some elbow grease and Ben Greear's linux vlan implementation.

http://www.candelatech.com/~greear/vlan.html

This allows you to attach a single ethernet device to an 802.1q port on your switch, and configure multiple interfaces for each VLAN.

If you want to route, just turn the box into a router--sure it has only one ethernet cable, but it has multiple interfaces, right?

I have no experience with it.

Good luck,

-Martin

Quoted 16 lines

: Hello,
:
: Is it possible with a linux Bow to route différents VLANs, like a router :
: cisco can does ?
:
: Thank for your answers
:
: Laurent Foucher
:
: _______________________________________________
: LARTC mailing list / [email protected]
: http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
:

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj3NGdEACgkQvQHLTzrFJleb2ACeKemjK1PgRENYvyLBoYnIUEGc dhEAoIMvkYOpbD8HDY+MxfWxpZwZYooS
=xpOL
-----END PGP SIGNATURE-----

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to Laurent Foucher
Quoted 5 lines

My dude is...
Ok, Linux is running some sub-interfaces using 802.1q under eth0 only. So I only have one physical interface connected to the switch, where is the switch port where I need to connect that interfaces? Uplink port? Is that possible?

As long as your switch also supports 802.1Q, then of course it's possible.

You would connect the linux router to any switch port you want, all long as the port is configured for overlapping (TAGGED) VLANS. This way, like the Linux router, a single port can be a member of each VLAN.

Ken Price
AgentWare, Inc.
[email protected]
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/