Connect multiple subnets to eachother using the lan ports of a Draytek 2820n
Posted on 2011-09-07
We have a customer with a network in the 192.168.16.X/24 subnet. They purchased a voip PABX with phones and the company that implemented the hardware put it in it's own subnet using 172.17.0.x/24. They asked us to deliver a router which has a QOS option and a dual WAN option with fallback. My boss decided to buy a Draytek Vigory 2820n as it qualifies.
The problem now is that the voipcompany want to have their PABX available from the internet. So I would need to create a NAT rule (portforwarding) on port 10099 to the PABX with ip 172.17.0.1. My Draytek needs to have IP 192.168.16.9 so how would I make the 172.17.0.x subnet talk to the 192.168.16.x subnet and vice versa. Also, how can I make the PABX use the internet using the draytek?
I don't want to use extra routers. I've read I might use vlans or such but not sure how to make that work. I imagine the following:
All 192.168.16.x ip devices are on a switch, this switch connects to lan port 1 on the vigor
All 172.17.0.x ip devices are on a switch (Power over ethernet switch), this switch connects to lan port 2 on the vigor
The pabx has ip 172.17.0.1
The vigor has ip 192.168.16.9
The vigor has ip Y.Y.Y.Y on wan port 1, this connects to a fiber modem
Now all devices need to able to use the internet. Also I need to forward port 10099 from Y.Y.Y.Y to 172.17.0.1.
Is this possible, if yes how do I configure the router....
Second, I need to configure QOS to have a steady VOIP connection. Never done that before, any guidelines?