Web Images Videos Maps News Groups Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Wifi with VLAN
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
abs  
View profile  
 More options Aug 12, 6:52 am
Newsgroups: bit.listserv.openbsd-pf
From: abhishak...@yahoo.com (abs)
Date: 11 Aug 2009 13:52:03 -0700
Local: Wed, Aug 12 2009 6:52 am
Subject: Wifi with VLAN

Hello All,
Excuse my ignorance as I am relatively new to pf.  I am trying to accomplish the following setup:

I have 3 interfaces:
dc0 (ext)
dc1 (int)
ural0 (wifi)

dc0 has vlans 3,4 and 10 coming in.
i would like to put dc1 (int) on vlan 3, 4,10 and ural0 (wifi) on vlan 4

I have been playing around with multiple bridge configurations but cannot seem to figure out the right configuration to get this to work.  Below are my /etc/hostname. entries:

dc0: up
dc1: up
ural0: media autoselect mode 11g mediaopt hostap nwid testssid
vlan110: inet 192.168.10.5 255.255.255.0 NONE vlan 10 vlandev dc0
vlan13: inet 192.168.53.5 255.255.255.0 NONE vlan 3 vlandev dc0
vlan14: inet 192.168.54.5 255.255.255.0 NONE vlan 4 vlandev dc0
vlan210: up vlan 10 vlandev dc1
vlan23: up vlan 3 vlandev dc1
vlan34: up vlan 4 vlandev ural0

bridge0: add dc0 add dc1 add ural0 up
bridge3: add vlan13 add vlan23 up
bridge4: add vlan14 add vlan34 up
bridge10: add vlan110 add vlan210 up

I am having no problem communicating on vlan 10 and 3 over dc0 and dc1 (physical interfaces), but i cannot seem to get the wireless to function.  the wireless clients are connecting to the wireless network but are unable to ping any device what so ever even the ip of vlan14.  My pf rules are set to pass all.  Am i misunderstanding or doing something wrong? Would someone be able to point me in the right direction?  Thank you very much in advance.

cheers,
abs


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stuart Henderson  
View profile  
 More options Aug 12, 8:00 am
Newsgroups: bit.listserv.openbsd-pf
From: s...@spacehopper.org (Stuart Henderson)
Date: 11 Aug 2009 15:00:10 -0700
Local: Wed, Aug 12 2009 8:00 am
Subject: Re: Wifi with VLAN
On 2009/08/11 12:53, abs wrote:

Do you really want clients of the hostap to have to tag packets as
vlan4 (as you're doing above), or do you actually want untagged clients
on the hostap bridged to vlan4 on dc0? (in which case drop vlan34
completely and just bridge ural0 with vlan14)

You probably don't need bridge0 (although maybe your description
is incomplete).


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
abs  
View profile  
 More options Aug 12, 1:37 pm
Newsgroups: bit.listserv.openbsd-pf
From: abhishak...@yahoo.com (abs)
Date: 11 Aug 2009 20:37:03 -0700
Local: Wed, Aug 12 2009 1:37 pm
Subject: Re: Wifi with VLAN

Thank you for you response Stuart.

I realized after a little more messing around that bridge0 is not necessary.

The only reason I had vlan34 is so in the future i would be able to have more vlans over wireless (if even possible). 

But i think bridging vlan14 and ural0 should serve the purpose.  I will give it a whirl.  Once again thank you.

cheers,
abs 

--- On Tue, 8/11/09, Stuart Henderson <s...@spacehopper.org> wrote:

From: Stuart Henderson <s...@spacehopper.org>
Subject: Re: Wifi with VLAN
To: "abs" <abhishak...@yahoo.com>
Cc: p...@benzedrine.cx
Date: Tuesday, August 11, 2009, 5:05 PM

On 2009/08/11 12:53, abs wrote:

Do you really want clients of the hostap to have to tag packets as
vlan4 (as you're doing above), or do you actually want untagged clients
on the hostap bridged to vlan4 on dc0? (in which case drop vlan34
completely and just bridge ural0 with vlan14)

You probably don't need bridge0 (although maybe your description
is incomplete).


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
abs  
View profile  
 More options Aug 13, 3:33 am
Newsgroups: bit.listserv.openbsd-pf
From: abhishak...@yahoo.com (abs)
Date: 12 Aug 2009 10:33:51 -0700
Local: Thurs, Aug 13 2009 3:33 am
Subject: Re: Wifi with VLAN

Bridging vlan14 with ural0 solved the problem.  thank you very much.  I was wondering if i actually wanted to have untagged packets on the hostap how would i do it and would it be a good idea to do so?

cheers,
abs

--- On Tue, 8/11/09, abs <abhishak...@yahoo.com> wrote:

From: abs <abhishak...@yahoo.com>
Subject: Re: Wifi with VLAN
To: "Stuart Henderson" <s...@spacehopper.org>
Cc: p...@benzedrine.cx
Date: Tuesday, August 11, 2009, 10:33 PM

Thank you for you response Stuart.

I realized after a little more messing around that bridge0 is not necessary.

The only reason I had vlan34 is so in the future i would be able to have more vlans over wireless (if even possible). 

But i think bridging vlan14 and ural0 should serve the purpose.  I will give it a whirl.  Once again thank you.

cheers,
abs 

--- On Tue, 8/11/09, Stuart Henderson <s...@spacehopper.org> wrote:

From: Stuart Henderson <s...@spacehopper.org>
Subject: Re: Wifi with VLAN
To: "abs" <abhishak...@yahoo.com>
Cc: p...@benzedrine.cx
Date: Tuesday, August 11, 2009, 5:05 PM

On 2009/08/11 12:53, abs wrote:

 bridge4: add vlan14 add vlan34 up

> bridge10: add vlan110 add vlan210 up

> I am having no problem communicating on vlan 10 and 3 over dc0 and dc1 (physical interfaces), but i cannot seem to get the wireless to function.  the wireless clients are connecting to the wireless network but are unable to ping any device what so ever even the ip of vlan14.  My pf rules are set to pass all.  Am i misunderstanding or doing something wrong? Would someone be able to point me in the right direction?  Thank you very much in advance.

Do you really want clients of the hostap to have to tag packets as
vlan4 (as you're doing above), or do you actually want untagged clients
on the hostap bridged to vlan4 on dc0? (in which case drop vlan34
completely and just bridge ural0 with vlan14)

You probably don't need bridge0 (although maybe your description
is
 incomplete).


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google