07-30-2014 09:58 PM - edited 03-04-2019 11:27 PM
Dear All,
My remote location connected to the HO using primary and secondary links. BGP is the protocol running in between. How can I make the users at HO to access a particular server (which is non critical for the business) from remote location using the secondary link. The mentioned server and all other servers are in the same network at the remote location. Is there any way to filter out a particular host from the primary link.
Thanks in advance.
Shijo.
07-30-2014 10:07 PM
Hi Shijo,
Routing can only be done for prefixes but not for particular host. You need to originate /32 prefix from HO to prefer it via secondary link on remote branch.
-Akash
------ Please don't forget to rate helpful posts --------
07-30-2014 10:46 PM
Hi Akash,
Thanks for the reply.
What I understand from you reply is that, instead advertising the entire network I should advertize the hosts individually with a /32 prefix. Correct me if I am wrong please
Really appreciate if you could elaborate it with an example.
Regards,
Shijo.
07-31-2014 12:31 AM
Hi Shijo,
You need to put that server in a different VLAN and assign different /30 ip address. Say suppose vlan 100 is getting terminated on R1 and all servers are connected on switch sw1. Put the server(in question) in different vlan, say vlan 200, and create another sub-interface on R1 for vlan 200 then BGP origination can be done for that /30 prefix. But communication between servers and the server in question will happen through router.
-Akash
07-31-2014 12:40 AM
Dear Akash,
Thanks for the reply.
I got your point, but putting the server in another VLAN will be a problem coz all the servers are in production environment.
I am actually looking for a workaround using the BGP route filter features.
Regards.
Shijo.
07-31-2014 01:39 AM
Hi Shijo,
Using BGP (or any routing protocol), you can customize routing for one prefix but not for one host inside that prefix. I don't think it is possible.
Regards,
Akash
07-31-2014 02:26 AM
Hi Akash,
Thanks a lot for your support.
Regards,
Shijo.
08-03-2014 01:40 AM
Please use PBR(route map) using access-list.
HO(config)#ip access-list extended remote-svr
permit ip any host x.x.x.x
HO(config)#route map policy 10
match ip address remote-svr
set ip next hop x.x.x.x(remote end ip of secondary link)
Please let me know if it works or not.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide