I’d like to be able to have all Polycom phones (0004f2) get IPs from one pool and everything else to get an IP from a different pool. This way I can route based on IP range and not have to make a static entry anytime a phone is added or replaced.
Thanks,
-Leo
Why not make a voice vlan and put the phones into that?
With one physical layer, I’m unsure how they can add either PCs or phones to the network and have them get on the proper vlan without changing settings in the device. Also I’d like to be able to have local PCs be able to access the phones GUI. Not sure if a vlan would permit that or if I would then need to create a route between vlans.
Right now I have 2 address lists and 2 ISPs. I add routing mark based on address list then route. Pertinent info below.
/ip firewall address-list
add address=10.10.10.2-10.10.10.10 list=Phones
add address=10.10.10.11-10.10.10.254 list=PCs
/ip firewall mangle
add action=mark-routing chain=prerouting new-routing-mark=Phone2ISP src-address-list=Phones
add action=mark-routing chain=prerouting new-routing-mark=PCs2ISP src-address-list=PCs
/ip route
add check-gateway=ping distance=1 gateway=192.168.88.1 routing-mark=Phone2ISP
add check-gateway=ping distance=2 gateway=192.168.1.254 routing-mark=Phone2ISP
add check-gateway=ping distance=1 gateway=192.168.1.254 routing-mark=PCs2ISP
add check-gateway=ping distance=2 gateway=192.168.88.1 routing-mark=PCs2ISP
Now when I add a phone, I find the MAC in the DHCP>server>leases and ‘make static’ then set the address in the phone list range.
I’m not very good with these yet but am learning. I prefer to grow my understanding if it means less touching in the future. I’m just not clear as to the best way to achieve ISP bandwidth separation but also provide fail over in case of ISP failure/outage.
Many phones support “voice vlan tagging”
When you do this, you’ll basically add a custom option to both the default data vlan’s dhcp server, and to the voice vlan’s dhcp server. If a phone boots up, it will request the custom option, which tells the phone what tag to use for the voice vlan (check the documentation available for whatever type of phone(s) you are using for more details.
Then you make a vlan interface for the phones and put the phones’ IP range and mangle rules on this interface. You shouldn’t need any static leases if this works for you - the phone should get a data vlan IP, and then quickly release it and switch over to the voice vlan and request DHCP again, but using the vlan you set up.
Looks like I have some testing to do. I appreciate the help. Thank you!