Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2003 14:33:05 -0400 (EDT)
From:      Kenneth Culver <culverk@yumyumyum.org>
To:        "Michael K. Smith" <mksmith@noanet.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Question concerning dual-NIC configuration
Message-ID:  <20030806143214.F40140@alpha.yumyumyum.org>
In-Reply-To: <BB569408.194BE%mksmith@noanet.net>
References:  <BB569408.194BE%mksmith@noanet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> Coming from a Network Engineering perspective, I'm interested in having
> my servers be as redundant as possible.  I have two NIC's in the
> machine, so I would like for the "server" to be reachable over either
> interface.
>
> To my mind, I would give a loopback interface an IP address that is the
> "server" in this case.  Then, each interface would have it's own subnet
> and I would route over those two interfaces to the loopback for all
> packets destined to the server.  So, something like:
>
>                 lo1 -> 192.168.1.1/32
> ed0 -> 172.16.1.2/30                ed1 -> 172.16.1.6/30
>
> Then, on the router, I have a route statement for 192.168.1.1/32 over the
> two interface subnets.
>
You could do this, but I'm not sure why you'd want to route those 2 to 1
interface. it'd be easier to make your server daemons listen on the 2 ed
devices.

Ken



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