All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Forwarding between untagged vlans
@ 2007-05-01  9:39 "C. Bergström"
  2007-05-04 13:45 ` Michael Alger
  2007-05-04 15:35 ` "C. Bergström"
  0 siblings, 2 replies; 3+ messages in thread
From: "C. Bergström" @ 2007-05-01  9:39 UTC (permalink / raw)
  To: lartc

I'm trying to implement simple untagged vlans on our switch and have
misconfigured something..

ISP gw is on the default vlan1 (untagged)

Router
    eth1 is setup on the switch with default vlan1 and member of vlan4.
    eth0 is default vlan4 which connects to the clients that are all
default members of vlan4


eth0 is x.x.x.86/28 This is what clients are connecting to as their gw..
(no nat)
eth1 is x.x.x.82/26

default route is .65/26 dev eth1

If client is default vlan4, but a member of vlan1 then it all works.. 
As soon as I remove client from being a member of vlan1.. The router
stops forwarding.  Is this to be expected and how can I correct this?

I've tried adding a rule like this for the test client which is on .87
# Trying to fix vlan
iptables -A FORWARD -i ${WAN} -d x.x.x.87 -o ${LAN} -j ACCEPT
iptables -A FORWARD -i ${LAN} -s x.x.x.87 -o ${WAN} -j ACCEPT

I see the packets from the lan trying to get out, but on ingress I don't
see them..

Thanks in advance.

Christopher
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-04 15:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-01  9:39 [LARTC] Forwarding between untagged vlans "C. Bergström"
2007-05-04 13:45 ` Michael Alger
2007-05-04 15:35 ` "C. Bergström"

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.