two NIC and nfs

Chad Leigh -- Shire.Net LLC chad at shire.net
Mon Oct 23 22:39:15 UTC 2006


On Oct 23, 2006, at 4:15 PM, Albert Shih wrote:

>
> For answer  Leigh -- Shire.Net LLC" <chad at shire.net> no I can't do  
> that
> (well easy do..) because my client have only on NIC and the client  
> is XDM
> server. And all my user-client (connected by xdmcp) is on same subnet.
>
> It's very complicate if I want two subnet for my servers.
>

I am not saying to get rid of your original single subnet. I am  
saying you can add additional subnets with IP ailases on your NIC(s)  
and do the nfs over these additional subnets.

You can do this even with just one nic.

Let's say that you have your normal subnet   10.0.1.0
Lets say you want to add in your nfs subnet 192.168.1.0 and  
192.168.2.0 for server nic 1 and server nic 2

client 1 nic1     10.0.1.10	plus alias  192.168.1.10

client 2 nic1	   10.0.1.11	plus alias   192.168.2.11

server nic 1	10.0.1.100	plus alias 192.168.1.100
	   nic 2	10.0.1.101	plus alias 192.168.2.101


This will allow you to keep the xdm stuff (I am not familiar with  
xdm) on your normal subnet plus do each client on its own nic on the  
nfs server...

Just make sure that client 1 uses an nfs server of   server-nic1-192:/ 
someshare  where server-nic1-192 is the name given in your hosts or  
dns tables to the alias 192 address on nic1 and the analog on nic2.

best
Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net





More information about the freebsd-questions mailing list