Client WAN affinity
My R470+ is set up with two WAN's. The first one is my cable provider (WAN1), the second a ADSL provider (WAN2). Now I am using Android TV to watch channels from my cable provider. It however requires that I use the internet connection from my cable provider.
Is there a way that I can make sure that a certain client (MAC) always connects to WAN1?
Thanks in advance for any help!
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
The solution for your problem can be achieved in two ways.
Option 1: Policy Routing Option - You can use this option to route the traffic from your android TV to WAN 1.
Step 1: Reserve an IP address for your TV. (This will ensure that your TV gets this IP always)
Goto Network->LAN->Address Reservation and create an entry for your TV using the MAC for your TV STB.
Step 2: Create an IP Group (this is required for policy routing)
Goto Preferences->IP Group. First create an IP address name for the IP address you have reserved in Step 1. and create an IP group
Step 3: Creating a Policy Routing
Goto Transmission->Routing->Policy Routing and create a new entry.
For Source IP, select the IP group created in Step 2.
For WAN, select the correct WAN.
For Mode, select Only.
Reboot your Android Box, so that its gets the new IP, (reserved in Step 1) and now all traffic from Android TV should go through the WAN you have selected in Step 3.
Option 2: Static Routing
If you know the range of the IP address used by your TV ISP, you can set a static route to send all the traffic for those IPs through the corresponding WAN. This will be useful if you accessing the TV content using your mobile or laptop.
HTH.
- Copy Link
- Report Inappropriate Content
The solution for your problem can be achieved in two ways.
Option 1: Policy Routing Option - You can use this option to route the traffic from your android TV to WAN 1.
Step 1: Reserve an IP address for your TV. (This will ensure that your TV gets this IP always)
Goto Network->LAN->Address Reservation and create an entry for your TV using the MAC for your TV STB.
Step 2: Create an IP Group (this is required for policy routing)
Goto Preferences->IP Group. First create an IP address name for the IP address you have reserved in Step 1. and create an IP group
Step 3: Creating a Policy Routing
Goto Transmission->Routing->Policy Routing and create a new entry.
For Source IP, select the IP group created in Step 2.
For WAN, select the correct WAN.
For Mode, select Only.
Reboot your Android Box, so that its gets the new IP, (reserved in Step 1) and now all traffic from Android TV should go through the WAN you have selected in Step 3.
Option 2: Static Routing
If you know the range of the IP address used by your TV ISP, you can set a static route to send all the traffic for those IPs through the corresponding WAN. This will be useful if you accessing the TV content using your mobile or laptop.
HTH.
- Copy Link
- Report Inappropriate Content
Hi HTH / Landcruiser, thank you very much for your help!
I think I got it working now. The firmware for my version does not have all mentioned options, so I had to do it slightly different. I gave the TV a fixed IP address as mentioned, but I couldn't find an IP group option (there is also no preference menu item on my version). But under Advanced - Load Balance there is a policy routing tab. There I made the following entry:
Protocol: All Protocols
Source IP: (TV IP) - (TV IP)
Destination IP: 0.0.0.0 - 0.0.0.0
Source Port: 0-0
Destination Port: 0-0
WAN: WAN1
Effective time: Always
Then I did a reboot and checked if the TV had the correct IP and if the cable is still working, and it did. I hope that leaving the destination IP and ports to the default values means no restrictions. But because it is working I guess I can conclude on that.
Cheers,
Nonax
- Copy Link
- Report Inappropriate Content
Hi Nonax,
Sorry, I didnt pay much attention to the version details when I responded to your query. I gave my answer based on the model that I am using. After your response I checked my version details and they are of course different from yours. (HW=V6 and FW = 6.0.3 Build 20180731 Rel.56894).
Your configuration looks good.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 624
Replies: 3
Voters 0
No one has voted for it yet.