11-20-2013 12:34 PM - edited 10-05-2024 08:18 AM
Hi,
on our router two IP addresess are configured as mentioned below and we are not able to configure the TACACS server due to source address issue where we can only configure source interface which is taking source IP address 192.168.X.X. Please let me know if there is any config where i can configure IP tacacs source address as a 192.168.X.X instead of source interface.
interface FastEthernet0/0
description # CONNECTED TO LAN #
ip address XXXX 255.255.255.0 secondary
ip address XXX .25 255.255.255.0
Solved! Go to Solution.
11-20-2013 12:40 PM
When you set up a source interface, it will always take the primary address as the source. You can set up another ip address on a loopback interface, but you wouldn't be able to use the 192.168.7.0/24 subnet on the loopback as it's already used as a secondary on the lan interface.
You could set up a loopback interface that references the host like:
int lo1
ip address 10.10.7.7 255.255.255.255
You'd have to set this up for routing so the tacacs server could get to it, but those are a couple of options. The other option is to swap the two addresses if you need them both on the lan interface.
HTH,
John
*** Please rate all useful posts ***
11-20-2013 12:40 PM
When you set up a source interface, it will always take the primary address as the source. You can set up another ip address on a loopback interface, but you wouldn't be able to use the 192.168.7.0/24 subnet on the loopback as it's already used as a secondary on the lan interface.
You could set up a loopback interface that references the host like:
int lo1
ip address 10.10.7.7 255.255.255.255
You'd have to set this up for routing so the tacacs server could get to it, but those are a couple of options. The other option is to swap the two addresses if you need them both on the lan interface.
HTH,
John
*** Please rate all useful posts ***
11-20-2013 12:43 PM
Thanks a lot for your answer on this.
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