two NIC and nfs
Hi all I've two NIC on my server. Until now I just use one. I want use the second interface to increase perfs. The server have only one purpose : nfsd. Suppose if I do nfs_nic_1 <---> client 1 nfs_nic_2 <---> client 2 well that's work but not... really because if incomming traffic from client_2 pass through nic_2, all output traffic pass through nic_1. How can I make the all traffic between client_2 and my server pass through nic_2 ? Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Mon Oct 23 22:58:02 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: two NIC and nfs
Are nic1 and nic2 on the same network? Are client2 and nic2 on the same network? Need a bigger picture with some detail. On 10/23/06, Albert Shih <[EMAIL PROTECTED]> wrote: Hi all I've two NIC on my server. Until now I just use one. I want use the second interface to increase perfs. The server have only one purpose : nfsd. Suppose if I do nfs_nic_1 <---> client 1 nfs_nic_2 <---> client 2 well that's work but not... really because if incomming traffic from client_2 pass through nic_2, all output traffic pass through nic_1. How can I make the all traffic between client_2 and my server pass through nic_2 ? Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Mon Oct 23 22:58:02 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: two NIC and nfs
Le 23/10/2006 à 13:09:21-0800, Jeff Mohler a écrit > Are nic1 and nic2 on the same network? > > > > Are client2 and nic2 on the same network? > > Yes all in same subnet, all connected on the same gigabits switch. and all nfs traffic is in UDP. > >Hi all > > > >I've two NIC on my server. > > > >Until now I just use one. I want use the second interface to increase > >perfs. > > > >The server have only one purpose : nfsd. > > > >Suppose if I do > > > >nfs_nic_1 <---> client 1 > > > >nfs_nic_2 <---> client 2 > > > >well that's work but not... really because if incomming traffic from > >client_2 pass through nic_2, all output traffic pass through nic_1. > > > >How can I make the all traffic between client_2 and my server pass through > >nic_2 ? > > Regards. JAS -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Mon Oct 23 23:39:46 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: two NIC and nfs
Well..the right way to do this is with a switch that can etherchannel the NICs together, im not sure if Fbsd can do that..of course. But..are you really peaking out at 100Mb/sec with your existing NFS architechture that you need a second pipe? If you're not, I doubt a second pipe would speed anything up. On 10/23/06, Albert Shih <[EMAIL PROTECTED]> wrote: Le 23/10/2006 à 13:09:21-0800, Jeff Mohler a écrit > Are nic1 and nic2 on the same network? > > > > Are client2 and nic2 on the same network? > > Yes all in same subnet, all connected on the same gigabits switch. and all nfs traffic is in UDP. > >Hi all > > > >I've two NIC on my server. > > > >Until now I just use one. I want use the second interface to increase > >perfs. > > > >The server have only one purpose : nfsd. > > > >Suppose if I do > > > >nfs_nic_1 <---> client 1 > > > >nfs_nic_2 <---> client 2 > > > >well that's work but not... really because if incomming traffic from > >client_2 pass through nic_2, all output traffic pass through nic_1. > > > >How can I make the all traffic between client_2 and my server pass through > >nic_2 ? > > Regards. JAS -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Mon Oct 23 23:39:46 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: two NIC and nfs
On Oct 23, 2006, at 3:40 PM, Albert Shih wrote: Le 23/10/2006 à 13:09:21-0800, Jeff Mohler a écrit Are nic1 and nic2 on the same network? Are client2 and nic2 on the same network? Yes all in same subnet, all connected on the same gigabits switch. The easiest thing is to set up a separate subnet for server nic 2 and client nic 2, perhaps as an alias on the existing one. Use a private netblock like 192.168.n to separate them out. I do this. I have a single nic in the client (but I have multiple clients) and the nfs server has 4 nics. nic 1 is 192.168.1.x and nic 2 is 192.168.2.x and nic 3 is 192.168.3.x and nic 4 is 192.168.4.x . I am actually running one of my clients with 1 nic with aliased addresses talking to 2 separate nics on the server, mainly for testing purposes to separate different share while I did some packet sniffing to solve an unrelated problems. Chad and all nfs traffic is in UDP. Hi all I've two NIC on my server. Until now I just use one. I want use the second interface to increase perfs. The server have only one purpose : nfsd. Suppose if I do nfs_nic_1 <---> client 1 nfs_nic_2 <---> client 2 well that's work but not... really because if incomming traffic from client_2 pass through nic_2, all output traffic pass through nic_1. How can I make the all traffic between client_2 and my server pass through nic_2 ? Regards. JAS -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Mon Oct 23 23:39:46 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net
Re: two NIC and nfs
Le 23/10/2006 à 13:43:58-0800, Jeff Mohler a écrit > Well..the right way to do this is with a switch that can etherchannel > the NICs together, im not sure if Fbsd can do that..of course. I don't think so (it's basic switch). > > But..are you really peaking out at 100Mb/sec with your existing NFS > architechture that you need a second pipe? > > If you're not, I doubt a second pipe would speed anything up. Wellnot of course...but when I make my snapshot (by rsnapshot) I can make big load. And more of that, I have two NIC and it's...well...i'm little sad when I've see one do not use;-) Now I can make 110 Mbytes/s (in output) with 3 clients in read. Of course on my client I don't have same speed I «want» also known if the speed limitation is by the NIC and/or other thing. For answer Leigh -- Shire.Net LLC" <[EMAIL PROTECTED]> 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. > >> >Hi all > >> > > >> >I've two NIC on my server. > >> > > >> >Until now I just use one. I want use the second interface to increase > >> >perfs. > >> > > >> >The server have only one purpose : nfsd. > >> > > >> >Suppose if I do > >> > > >> >nfs_nic_1 <---> client 1 > >> > > >> >nfs_nic_2 <---> client 2 > >> > > >> >well that's work but not... really because if incomming traffic from > >> >client_2 pass through nic_2, all output traffic pass through nic_1. > >> > > >> >How can I make the all traffic between client_2 and my server pass > >through > >> >nic_2 ? > >> > > > Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Tel : 01 44 27 86 88 FAX : 01 44 27 69 35 GSM(UFR) : 06 85 05 58 43 Heure local/Local time: Tue Oct 24 00:08:14 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: two NIC and nfs
On Oct 23, 2006, at 4:15 PM, Albert Shih wrote: For answer Leigh -- Shire.Net LLC" <[EMAIL PROTECTED]> 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.11plus alias 192.168.2.11 server nic 110.0.1.100 plus alias 192.168.1.100 nic 210.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
Re: two NIC and nfs
On Mon, 23 Oct 2006, Jeff Mohler wrote: Well..the right way to do this is with a switch that can etherchannel the NICs together, im not sure if Fbsd can do that..of course. FreeBSD supports EthernetChannel, 802.1ad, etc. So does NetBSD. I's LACP that needs work. ~BAS___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"