Policy routing - one IP from a subnet routerd to WAN 1 with the rest of the subnet routed to WAN 2 ?

Policy routing - one IP from a subnet routerd to WAN 1 with the rest of the subnet routed to WAN 2 ?

Policy routing - one IP from a subnet routerd to WAN 1 with the rest of the subnet routed to WAN 2 ?
Policy routing - one IP from a subnet routerd to WAN 1 with the rest of the subnet routed to WAN 2 ?
2 weeks ago - last edited 2 weeks ago
Model: ER8411  
Hardware Version: V1
Firmware Version: 1.2.2

Using policy routing, i currently have all my subnets assigned to the WAN ports i want their traffic to go through, all working just fine.

 

I have need to set just one IP out of a /24 range, currently routed to WAN 2, to WAN 1

 

Are the policy routes top-down like ACLs?

 

By that i mean, if i have policy routes like so....

 

rule 1:  192.168.100.99 /32 > WAN 1

rule 2:  192.168.100.0 / 24 > WAN 2

 

will rule 1 take precedence over rule 2, so that one particular IP goes to WAN 1 and the entire rest of the subnet goes to WAN 2 ?

  0      
  0      
#1
Options
4 Reply
Re:Policy routing - one IP out of a subnet routerd to WAN 1 with the rest of the subnet routed to WAN 2
2 weeks ago

  @GRL 

 

good question, you actually route 192.168.100.99 out on two interfaces, I think it can be a bit random where 192.168.100.99 is routed. have you tested that setup?

 

  0  
  0  
#2
Options
Re:Policy routing - one IP out of a subnet routerd to WAN 1 with the rest of the subnet routed to WAN 2
2 weeks ago - last edited 2 weeks ago

  @GRL 

 

No, i havent tested yet.

 

I will wait until tomorrow morning to test it whan im a) on site in case things go weird and b) nobody is using the network

 

My other alternative is to put the device on a subnet naturally routed to WAN 1 but then i have to reprogram 50 end computers to access it over a different IP. which will be annoying.

 

Im actually surprised as i canot find any documentation that reflects my question, even the official TPlink guides make no mention of routing an individual IP differently from its range.

 

EDIT: i have just noticed that the policy routing rules are rearrangeable by dragging, like you can to organise the precedence of ACL rules....so....maybe ?

  1  
  1  
#3
Options
Re:Policy routing - one IP out of a subnet routerd to WAN 1 with the rest of the subnet routed to WAN 2
2 weeks ago

  @GRL 

 

yes, that was an interesting question. I'm excited for the answer :-) you have to update the thread when you have the facts :-)

 

  1  
  1  
#4
Options
Re:Policy routing - one IP from a subnet routerd to WAN 1 with the rest of the subnet routed to WAN 2 ?
2 weeks ago

Hi @GRL 

Thanks for posting in our business forum.

GRL wrote

 

By that i mean, if i have policy routes like so....

 

rule 1:  192.168.100.99 /32 > WAN 1

rule 2:  192.168.100.0 / 24 > WAN 2

 

will rule 1 take precedence over rule 2, so that one particular IP goes to WAN 1 and the entire rest of the subnet goes to WAN 2 ?

The system weighs priority by number. If a rule gets a smaller number, then it means higher priority, I think this setup should work as your expectation.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  1  
  1  
#5
Options

Information

Helpful: 0

Views: 118

Replies: 4

Related Articles