we r trying to build a VPN tunnel through a Cisco router. The peer IP is from the IP range that is configured as secondary on the router. Is this possible?
We have created a VPN on rtr1 and the peer IP is a part of the secondary IP configured on the rtr2
Thanks for helping me to understand the situation better. If the VPN will be between a client somewhere in the Internet and rtr1 using 220.127.116.11 as the VPN peer address. And 18.104.22.168 on rtr1 is the primary interface address then the VPN should work ok (assuming that 22.214.171.124 is reachable from where the client is located.
I am still puzzled about a situation where rtr1 is connected to rtr2 and on that connecting link rtr1 uses 1.1.1.x as primary and rtr2 uses 1.1.1.x as secondary and uses 2.2.2.x as primary. I have seen situations where this kind of thing has caused problems - for example EIGRP and OSPF will not form neighbor relationships where this kind of mismatch exists. But the mismatch by itself will not impact the VPN. The VPN will not use 126.96.36.199 and will not care whether it is a secondary address.