support

trixbox pro 802.1q tagging

gvasilak
Posts: 15
Member Since:
2008-07-31

Hi,
Is it possible to make the trixbox pro cce to do tagging? We have a system that has one eth interfaces and we would like to setup a second virtual interfaces to do 802.1q VLAN tagging to serve only phones so that we can provide QoS.
We have Aastra phones and switches which support tagging. Moreover with one cable drop both phone and pc will be served and pcs will have totally different IPs from phones
Any help would be appreciated.

Thanks in advance
George



SkykingOH
Posts: 3534
Member Since:
2007-12-17
I published a 'how to' to do

I published a 'how to' to do this with CE. I am not sure it will work with Pro.

I also included instruction on how to setup routing through the trixbox to allow you to manage the phones in the voice vlan.

--

Scott

aka "Skyking"



percykwong
Posts: 753
Member Since:
2007-04-30
*sigh* if only pfsense

*sigh* if only pfsense supported tagging..

--

-----------------------------------------------
Percy Kwong
www.swimminginthought.com
www.iphonebounties.com



gvasilak
Posts: 15
Member Since:
2008-07-31
I did what Scott said but

I did what Scott said but without luck.
Two ifs, eth0 and eth0.10 with different subnets and the phones are not getting ips from eth0.10 subnet



SkykingOH
Posts: 3534
Member Since:
2007-12-17
I answered your PM. Once

I answered your PM. Once you check your config files as I suggested please post all the info I sent you in the PM so everyone can benefit.

Note to everyone reading this thred: I do not answer PM's so please do not send me any. This was a special case as a previous post I made was less than clear. I will always redirect you to the forums in you send me a PM. The only use for someone who does not know me personally to send a PM is a commercial opportunity. Keeping the dialog in the forums provides maximum benefit to everyone!

--

Scott

aka "Skyking"



gvasilak
Posts: 15
Member Since:
2008-07-31
Sorry Scott

I really sorry Scott if I caused any trouble to you. I just pm you to ask about your older thread and avoid spamming this post. Anyway I post your answer (in italics) so everyone can have access to this info.
Thanks again
George

IS your dhcpd.conf setup to listen on that interface?
You need to have separate subnet assigned to that interface.
You may have to assign the interface manually. You can start dhcpd with 'service dhcpd stop' then 'dycpd eth0.10' should start it up.
To setup routing between the interfaces.
in /etc/sysctl.cfg change net.ipv4.ip_forward=0 to net.ipv4.ip_forward=1
Save the file then 'service network restart'
You will then add a route on your desktop to manage the phones.
Let's say the voice network is 192.168.2.0/24 and the desktop and main interface on the trixbox are 192.168.1.0/24 the trix address is 192.168.1.252

In windows you would do a route add 192.2.0 mask 255.255.255.0 192.168.1.252 -P
the -P makes the route persistent.

Hope this helps.



eeknz
Posts: 110
Member Since:
2006-08-13
SkykingOH - On my list of

SkykingOH - On my list of things to ask you (as you seem to know about these things) was how you get the DHCP to vlan2 to do anything if the phones are out of the box and plugged in to a lan with the hope that the endpoint manager will auto config them. Unless you force the switch port to a vlan, or dial in to the phone and set it there, I think the phone will be stuck on the first vlan it finds and will dhcp off the vlan1 server.
Hard coding the switch port makes for a system where users can't move phone about without switch config, and setting in the phone removes the benefit of the endpoint manager as you have to mess with every handset anyhow.
I'm looking for a holy grail of auto-config that doesn't exist aren't I? (Unless you can mess with the .cfg file to set the vlan on the phone and let them boot of vlan1 the first time)
Is your how-to in the wiki or part of a post. I found a post about a 4 port box where there is a config example, perhaps it's that.

Sorry for the psuedo post hijack.



gvasilak
Posts: 15
Member Since:
2008-07-31
Sorry but I could not manage

Sorry but I could not manage to start the dhcpd on virtual interface, although conf files it contains only one range. I did dhcpd start eth0.10 I also changed the /etc/sysconfig/dhcpd file adding the DHCPDARGS=eth0.10 and restarting the dhcpd but the phone never get an IP.

Am I missing anything?



SkykingOH
Posts: 3534
Member Since:
2007-12-17
No worries - that was not

No worries - that was not directed to you. I get way too many PM's

--

Scott

aka "Skyking"



SkykingOH
Posts: 3534
Member Since:
2007-12-17
Auto config
Quote:
I'm looking for a holy grail of auto-config that doesn't exist aren't I?

Depends on what phone you are talking about. If you want the Aastra auto config scripts to work I don't know enough about them to advise you.

If the network has two drops we hard code the port to the voice vlan. It the drop will be shared with the computer you have to set the VLAN ID on the phone.

The only way around that is with Cisco phones using CDP. Most customers want BLF's so Cisco phones are out of the question.

--

Scott

aka "Skyking"



gvasilak
Posts: 15
Member Since:
2008-07-31
I haven't managed yet to

I haven't managed yet to have the dhcpd serve the virtual interface eth0.10 for my phones. I am wodering how eth0.10 will be the interface where the phones will talk to since in the netconfig menu (login: ip) shows only the ip of eth0

Thanks again
George



SkykingOH
Posts: 3534
Member Since:
2007-12-17
I don't use netconfig so I

I don't use netconfig so I am not sure what you are talking about.

If you setup dhcpd scope to match the subnet in the Interface config DHCP will listen on the virtual interface.

The virtual interface even shows up on the trixbox main screen.

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.