Hi guys,
thanks for your help
I need to have IPs in the same subnet, because this is an hacmp (tsm) cluster, with 7 resource groups / 7 service ips, + persistent IPs
I have one IP-range that is routed (lets say the 192.168.100.x)
and I can use as many unrouted IPs as I like
that is 1.1.1.x in this case
AIX can handle more IPs in the same subnet, incoming virtual IP interface = outgoing virtual IP interface
the only problem I have is outgoing traffic behind a firewall, since hacmp load balances the service IPs over adapters
so I can never say which virtual IP resides on which adapter
as a workaround, there is a firewall rule for every service and persistent ip, but that's not what I want
@gurumeditation
I will try this, but are you sure, that the virtual ip is stored in the route, and not the interface the ip is applied on, the time you run the command?
Quote:
Originally Posted by
bakunin
I am not sure if i understand you correctly, but wouldn't a simple static route solve your problem? Use "route add -host ..." to add a static route to the destination with a network mask of 255.255.255.255 and your desired local IP address as gateway. You can indeed use an IP address as gateway, can't you?
I hope this helps.
bakunin
sounds good to me, I let you know if it is possible
Edit: tried this, doesn't work, I think because the packages are not being routed to the default gateway in this case
cheers
Edit2:
I'm not the only one facing this problem, look at these articles:
http://fixunix.com/aix/487408-hacmp-...h-routing.html
http://www.aixmind.com/?p=780
seems that there is no solution to this expect of:
1. open the firewall to all addresses
2. do this on application level, and bind the outgoing traffic to an IP-address, which is not available for many apps