Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jun 2007 12:07:45 +0100
From:      Tom Judge <tom@tomjudge.com>
To:        ivan@careytech.com.au
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to correctly use 2 on board nics
Message-ID:  <46654401.4030302@tomjudge.com>
In-Reply-To: <46654109.8070507@careytech.com.au>
References:  <46654109.8070507@careytech.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Ivan Carey wrote:
> Hello
> I have a server board with 2 onboard nic's
> I have set them up in rc.conf as follows
> 
> defaultrouter="192.168.1.1"
> network_interfaces="em0 em1 lo0"
> ifconfig_em0="inet 192.168.1.3 netmask 255.255.255.0"
> ifconfig_em1="inet 192.168.1.4 netmask 255.255.255.0"
> 
> The question, is this the correct configuration?
> 
> If I have both nic's connected to the switch I can ping 192.168.1.1 and 
> 192.168.1.3 and 192.168.1.4
> 
> If I have only em0 connected I can ping 192.168.1.1 and 192.168.1.3
> 
> If I have only em1 connected I can ping 192.168.1.3.
> 
> What could the 2 onboard nic's be best used for. I was thinking that in 
> the event on was to fail then the other would still be ok.
> 
> Any ideas would help.
> Thanks,
> Ivan


You may want to take a look at if_lacc.

Tom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46654401.4030302>