Networking Forums

Networking Forums > Computer Networking > Linux Networking > Routing between different subnets and VLANs

Reply
Thread Tools Display Modes

Routing between different subnets and VLANs

 
 
Ed Posch
Guest
Posts: n/a

 
      05-03-2006, 01:23 PM
hey!

I have a testing system with a few machines that are hold together by a
HP ProCurve 2626. The main goal I want to achive is, that I have a
linux gateway machine (or maybe more if necessary) that handles the
traffic between the different vlans that I have configured on the
switch. VLAN 1 and 2 and VLAN 1 and 3 should be able to communicate,
but 2 and 3 shouldn't. But actually, that's not the point, because I
can't even get them to all talk to each other. Each VLAN represents a
different subnet (x.y.10.0/24, x.y.20.0/24, x.y.30.0/24).

What I already tried is to set up a bridge, and the clients in the
subnet where the bridge is in could communicate, so I thought I had to
maybe set some routes on my gateway so that they could also talk to
clients in a different subnet, but nothing worked. Since the kernel is
2.6.13, I thought, it should all be activated for bridging and routing
(I also activated ip_forward). I didn't want to experiment on the
kernel, but I have the feeling, that it has something to do with some
missing kernel modules. (802.1q is loaded)

I already tried out everything I could find, but still wasn't able to
get it working.
Anyone any ideas?
I'm really desperate..

Ed

 
Reply With Quote
 
 
 
 
Ed Posch
Guest
Posts: n/a

 
      05-10-2006, 07:48 AM
I found my problem. The port on the switch where one of the clients was
connected to had some kind of hardware defect. I just changed the port,
and everything was working perfectly.

Now I have some problems with configuring the ebtables correctly. I
already read some of the literature about ebtables, but still don't get
all of it. I have a bridge with 3 interfaces where every interface is
connected to one vlan and I want to tell the bridge by using ebtables,
which packages (with which vlan id), should be able to be forwarded to
which interface (which other vlan). I don't get this in connection with
vconfig.

Does anyone maybe know some links where this is explained and maybe
shown in an example similar to my requirements.

I hope, someone could help, because I don't have much time left for
this..
Thanks in advance

Ed

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server with NICs in different VLANs: separation/routing Jan Lausch Linux Networking 1 07-07-2009 08:02 PM
Two subnets on one interface with no VLANs Jonathan Ross Linux Networking 6 01-13-2007 09:39 AM
routing two subnets billbo Linux Networking 2 02-08-2006 12:39 AM
Segregating networks VLANs or Subnets Tonton Windows Networking 13 12-14-2005 09:37 PM
routing between subnets Indrek M. Linux Networking 2 07-31-2003 06:42 PM



1 2 3 4 5 6 7 8 9 10 11