I have 2 companies working from the same office, they share a file server but each has their own Internet. I need to route company A internet to Internet A and Company B to Internet B.
Furthermore Company B has a VOIP pabx that I need to do QOS for as well and I also want to limit Company B cell phones so they dont flood the upload with their cloud syncs.
What will be the best approach do handle this?
I currently have 2 ADSL routers in Bridge mode, then I mark the packets depending if they come from 192.168.0.0/25 or 192.168.0.128/25 and route them out the correct PPPOE account.
I cant double mark packets as far as I can see, as the second mark will over rite the first. So I am not sure how I can then do the QOS for the rest.
Can a packet take a routing mark and a packet mark at the same time?
I mark the packet with routing marks so the correct ip range goes out the correct WAN, then I want to shape the traffic for company B VOIP they are the only one with a voip phone
This is what I have done 192.168.0.0/25 should go to pppoe-uncapped 192.168.0.128/25 should go to pppoe-har Then VOIP traffic should go to pppoe-har and get shaped the voip phone ip is 192.168.0.160