RE: Dual NICs in BSD

2004-11-20 Thread Ted Mittelstaedt
You can't.  If the whole idea of this is failover in case a NIC
fails, you setup a script that runs from cron and monitors the
active NIC, if it goes down the script reassigns the IP to the
other NIC.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Trevor B.
 Sullivan
 Sent: Friday, November 19, 2004 5:09 AM
 To: [EMAIL PROTECTED]
 Subject: Dual NICs in BSD
 
 
 Hi, I have a Compaq Proliant 3000 server with a fresh install of FreeBSD
 5.2.1 on it. It has an Intel Dual-port NIC (of which I'm using one
 port), and a Netgear GA620 Gigabit fiber card. The copper port is
 referred to as fxp0 and the fiber, ti0. I'm having a problem getting the
 two network connections to work together with the same network address.
 My private subnet is 10.100.100/24, though if I try to set two adapters
 each with their own IP but on the same network, I get File already
 exists or something to that effect. The default route to my m0n0wall
 box is set through fxp0, and I can get ti0 to work if I set the network
 addr to 255.255.255.255, but then if my copper interface goes down
 (using ifconfig fxp0 down as test), the fiber interface will not then
 connect. My basic question is...how do I get two independent cards to
 have their own IP address on the same network address? Thanks in advance
 for assistance. 
  
 Trevor B. Sullivan
 Information Technology
 Baxter  Woodman, Inc.
 Phone: (815) 459-1260 x1337
  
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dual NICs in BSD

2004-11-19 Thread Ruben de Groot
On Fri, Nov 19, 2004 at 07:09:02AM -0600, Trevor B. Sullivan typed:
 Hi, I have a Compaq Proliant 3000 server with a fresh install of FreeBSD
 5.2.1 on it. It has an Intel Dual-port NIC (of which I'm using one
 port), and a Netgear GA620 Gigabit fiber card. The copper port is
 referred to as fxp0 and the fiber, ti0. I'm having a problem getting the
 two network connections to work together with the same network address.
 My private subnet is 10.100.100/24, though if I try to set two adapters
 each with their own IP but on the same network, I get File already
 exists or something to that effect. The default route to my m0n0wall
 box is set through fxp0, and I can get ti0 to work if I set the network
 addr to 255.255.255.255, but then if my copper interface goes down
 (using ifconfig fxp0 down as test), the fiber interface will not then
 connect. My basic question is...how do I get two independent cards to
 have their own IP address on the same network address? Thanks in advance
 for assistance. 
 
Assuming you mean netmask instead of network address; how do you think the
kernel is supposed to know which of the 2 interfaces to use for outgoing 
packets if both are on the same subnet with the same netmask?

 Trevor B. Sullivan
 Information Technology
 Baxter  Woodman, Inc.
 Phone: (815) 459-1260 x1337
  
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]