Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Oct 2005 14:33:51 +0200
From:      Olaf Greve <o.greve@axis.nl>
To:        freebsd-questions@freebsd.org
Subject:   How to properly set-up multiple NICs?
Message-ID:  <434D02AF.9@axis.nl>
In-Reply-To: <cb5206420510120358y74caae44l3062248ae9a14b47@mail.gmail.com>
References:  <20051012104241.GA34129@dogma.freebsd-uk.eu.org> <cb5206420510120358y74caae44l3062248ae9a14b47@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I have a short and surely straightforward question: I want to set-up two 
NICs on two of my FBSD 5.x servers. Each server will have a dedicated 
NIC for all "outside world" traffic, and between the two machines I want 
to set-up a 192.168.1.x local network via a cross-wire cable, dedicated 
to local syncing of both machines.

I am assuming the proper way to do this is to simply (using sysinstall) 
configure one NIC with the real live IP address, gateway, mask setting 
etc., hooked up to the outside world, and the other one with a 
192.168.1.x IP address, directly connected to the other machine's 
similarly (though with a different IP address, of course) configured 
192.168.1.y IP address over a cross-wire.

Correct, or am I missing something?

Also: when not using sysinstall: is /etc/rc.conf the only location where 
such settings need to be made, or are there other files as well that 
need to be manipulated for multiple NICs?

Note: Normally I would simply test this myself and make it work, but 
tomorrow I'll have to add my new second server to the production 
environment and my current live machine is one of the two machines that 
need to be reconfigured. As I'll have preciously little time allocated 
for the installation, I want to get as much anticipated in advance as 
possible...

Cheers, and tnx for any and all replies!
Olafo



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