Accessing a file share through specific IP

I have 2 servers in a cluster with some storage services shares.

they have connections to a back end 10gb network that our blade chassis also have access to as they host VM's on the shares. The blades also have 1gb network connections so clients can access the server.

We also sync replicas from servers on the 1gb network, so they have connections to that as well.

So each server has an ip on a 192.168.1.x subnet and a 192.168.2.x (10gb)

I want to force the blades to only connect on the 10gb network, I currently do this by manually editing the host file in the blades to point to the 2.x subnet. This seems to be working fine, however as I get more blades this is more work if I ever change the IP's or subnets etc. Is there an easier way to force it to one IP address.
LVL 6
CaptainGibletsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arnoldCommented:
Use separate hostnames for different networks.
I.e each host will have main name externally accessible and one that is on a different segment.
Hostname and hostname-10g

Use of hosts file is in the absence of a DNS or other directory service.

It could be scripted as well
CaptainGibletsAuthor Commented:
What is it is a SOFS? You can only create a disk and it auto assigns all IP's
Lionel MMSmall Business IT ConsultantCommented:
You could use tools like pstools and netsh to do this remotely from one system to the other see these two links for usage (not sure if this is exactly what you are wanting to do though) http://www.itswapshop.com/content/how-set-or-change-ip-addresses-gateways-subnet-masks-and-dns-servers-remotely-windows
and
http://www.howtogeek.com/51741/how-to-quickly-add-multiple-ip-addresses-to-windows-servers/
CaptainGibletsAuthor Commented:
$sfs = Get-ClusterResource "zzzz"


$sfs | Get-ClusterParameter | ft -AutoSize

$sfs | Get-ClusterNetwork | select *

$sfs = Get-ClusterResource "zzzz"
Set-ClusterParameter -InputObject $sfs -Name ExcludeNetworks -Value {fa98d989-6642-48a7-adbc-aa33b1d61c90}


Used the above code to exclude 1gb subnet from the SOFS cluster.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CaptainGibletsAuthor Commented:
The correct answer.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
File Sharing Software

From novice to tech pro — start learning today.