VLAN problems
I am having a strange problem configuring VLAN's with aastra 480i's. I have 2 VLAN's configured in the switches VLAN 5 for phones and normal VLAN 1 for PC's. The problem that i am having is in order for the PC's to see VLAN 1 I have to set the phone port to VLAN 5 and the passthrough port to VLAN 5. Normally i would think you would set VLAN 5 for the phones and VLAN 1 for the PC's. Setting the passthrough to VLAN 1 gives me no connectivity but setting the passthrough to VLAN 5 gives me access to VLAN 1 go figure. I do get the desired results doing this but it doesn't seem correct to me. Any ideas?
Thats odd, I haven;t had any VLAN problems with 9133i's 480i's or 57i's
in my config...
my workstations & phones are on different VLANs like yours, in my case I;m using VLAN 210 as the native port VLAN (untagged VLAN), and I am using VLAN 4000 (tagged) for the phones. Since VLAN 210 is untagged you could say its equivalent to your VLAN 1, we set this from the switch so workstations don;t have to know they are on VLAN 210.
My aastra.cfg simply contains:
tagging enabled: 1
VLAN id: 4000
I don;t even set the VLAN id of the pc uplink port. My switches are configured to give access on any switchport to any MAC address that begins with 00085d (Aastra MAC OUI Prefix) and a couple other OUI-prefixes that we have on our VOIP vlan.
I think Watson pegged it for you. If you plug the PC into the switch port it would see the untagged packets on the native VLAN (in your case 1). I am not sure what "pass through" mode is. I don't have an Aastra phone in front of me. You simply tell the phone what VLAN the voice is on and it looks at the tag header and sorts out the frames.
If you are doing this for QoS make sure you have a priority set for the voice VLAN. Not sure what switch you are using or I could make specific recommendations if I am familiar with it.
Scott
Even when I set the PC port to VLAN 1. As soon as I restart the phone, the PC port has been set back to VLAN 5 on the phone. What I don't understand is why the phone gets the correct IP from the DHCP server on VLAN 5 and the PC gets an IP address from the DHCP server in VLAN 1 even though the VLAN id is set to VLAN 5 on the PC port of the phone. Is this a bug in the aastra firmware? I have a bunch of 480i's and 2 57iCT's that all act the same way.
What VLAN on your switch is set to the default VLAN?
Think of the phone as having an additional layer two interface so it is really a three port switch.
Port 1 hooks up to your switch, frames on the Voice VLAN should be tagged with 802.1q tags and the phone will pickup send out DHCP requests tagged with the voice VLAN tag.
The PC's is hooked up to the second port of the switch. Frames on this port are forwarded to the port connected to your switch. These frames are not tagged so whatever DHCP server is sitting in the default LAN will "hear" the DHCP requests from the PC attached to the second port.
Does this make sense?
Please don't take this question wrong, do you know how 802.1q VLAN's work in general (not specific to the Aastra)?
Scott
Ok excuse my humor but it is Sunday, I kinda figure a guy calling himself the "lanman" would know more about VLAN's than I do.
With all that being said, I can see some custom applications that could utilize the ability to respond to tags on the second port however this is not the norm.
What kind of switch do you have?
The default LAN should be your data LAN
The voice LAN should be your voice LAN (on a Cisco switch you can configure this and the phone will automatically pick up the parameters.)
This will result in the following behavior:
- A PC plugged into a switch port will work with no special configuration
- A phone plugged into a switch port configured properly will attach to the voice VLAN
With the phones picking up DHCP it sounds like you are almost 100%
Are we getting closer?
Scott
Don't get me wrong everything works as I want. I am just trying to figure out the aastra's behavior. Why are you able to configure a VLAN id and priority for the PC port if it has no effect, and why does the PC port just revert to the same VLAN id that I configure for the phone vlan id when i set the PC port to VLAN 1?
The Dell switches have all ports set to truck mode.
No trunk mode needed
The ports for the phones should be configured:
switchport mode access switchport voice vlan 5
This will automatically set VLAN voice priority.
The port for the trixbox should be configured:
switchport mode access switchport access vlan 1
There should be no need for a data VLAN tag on the phone except for special applications.
Scott
Second Internet connection?
Just set the port the router is attached to VLAN 5 with the command
switchport access vlan 5
Here is an example of how the phone looks to your switch:

Keep in mind for the most part your Dell switch IOS is identical to Cisco switch IOS, that is why the Cisco reference in the image.
That is all that it takes to configure VLAN's, 1 command. The voice VLAN command takes care of the tagging and priority in 1 line of code.
How do you intend to route across the VLAN's so that the PC's in VLAN 1 can manage the trixbox?
Scott
Yeah that is the command. Do you know how to use IOS.
You might have to telnet in, then you use the command "enable" to access full command mode.
One in command mode get a list of your ports by using the command "show int"
You then place that command on each interface.
Update interfaces in configuration mode.
So it would go like this
telnet switch enable: Password show int config t int f0/2 <-- Example port you want to change switchport voice vlan 5 exit write memory <<- save to flash.
You will have to look at the config with the "show run command"
Place the keyword no in front of any config line you may need to remove.
Scott

Member Since:
2007-05-03