Link to home
Start Free TrialLog in
Avatar of CaptainGiblets
CaptainGibletsFlag for United Kingdom of Great Britain and Northern Ireland

asked on

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.
Avatar of arnold
arnold
Flag of United States of America image

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
Avatar of CaptainGiblets

ASKER

What is it is a SOFS? You can only create a disk and it auto assigns all IP's
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/
ASKER CERTIFIED SOLUTION
Avatar of CaptainGiblets
CaptainGiblets
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The correct answer.