Date: Wed, 30 Aug 2000 14:14:20 -0500 (CDT) From: BWS - Offwhite <brennan@offwhite.net> To: freebsd-questions@FreeBSD.ORG Subject: 3 NICs in 1 server Message-ID: <Pine.BSF.4.21.0008301355470.44358-100000@home.offwhite.net>
next in thread | raw e-mail | index | archive | help
I need to get 3 NICs running at once and the networking logic escapes me. I basically need to link a database server directly to the web server. The database server it a dual PIII with a RAID drive and it will act as the all powerful database. It is running mysql. In it (A Dell PowerEdge 2450) there is one onboard NIC and card which is a dual port NIC. So I have 3 NICs. They are running under the fxp device as fxp0, fxp1, fxp2. I can set up them up to work just fine and here is what I have set. fxp0 is 192.168.1.10 fxp1 is 192.168.1.11 fxp2 is 192.168.1.12 I have the gateway all set and I can ping inside the private network. I also happen to have natd set up on the gateway to route public traffic to these addresses in case I want to download source or pull files from a remote server. Where I get confused is when I try to connect to another machine. I will have a perl DBI script talking to the datbase server and the client machine will have a very similar setup. It will have the same dual NIC card in it running on another set of addresses. fxp0 is 192.168.1.20 fxp1 is 192.168.1.21 So if there is a cross-over cable going from fxp0 to fxp0, logically .10 to .20, will the mysql client be able to connect? I am not sure how I can can tell the DBI to use a specific interface or how to tell mysql to listen on multiple addresses. Before I determine that I need to know if this way of networking will work. Is anyone else currently linking a database server directly to a web server or other box? If so, could you give me some tips? Brennan Stehling - web developer and sys admin projects: www.greasydaemon.com | www.onmilwaukee.com | www.sncalumni.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008301355470.44358-100000>