How to bind a cluster resource IP address to a specific network adapter?
Hi, I'm about to build a firewall solution based on Cluster Suite in CentOS 5.4, but have problem to bind the IP address that is the clustered resource to a specific network adapter.
I guess it is so that the cluster itself normally is aware of which NIC it should use, but since I have no IP address on the current NIC (excepts the clustered one which I tried to add) the cluster cannot know that the IP address should be added to this NIC.
I have tried to find the parameters which can specified in cluster.conf for IP address resources, but I haven't found anything about how to define a specific network adapter to be used. I have also tried to set the options like nic=”eth1” and device=”eth1” in cluster.conf but without success.
If the NIC I want to use already have an IP address specified withing the same range the cluster brings up my cluster IP on the correct NIC, but this is a public external IP address so I cannot have another IP there.
I have also tried to specify the network in /etc/sysconfig/network-scripts/ifcfg-eth1 to
NETWORK=MyNetworkAddress
Does anyone understand what I mean and have any tips of how to solve this?
Best regards
Tomas
|