Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Nov 2000 11:40:31 -0800
From:      SysAdmin <support@virtisp.net>
To:        questions@freebsd.org
Subject:   Multi-Homing?
Message-ID:  <3A0071AF.5A0FB8DB@virtisp.net>

next in thread | raw e-mail | index | archive | help
Greetings:

I am trying to set up a BSD machine so that it has two NIC's with two
different addresses.
NIC1=64.10.10.20
NIC2=68.25.10.20

We have two separate DSL lines coming through two separate routers.
Router1=64.10.10.3
Router2=68.25.10.3

We would like to run web service on this machine, such that the web
server can be reached as 64.10.10.20 unless Router1 goes down. Then the
web server should be reachable as 68.25.10.20.

First of all, Is this do-able?
Secondly, If yes, how do I set it up.
I had assumed that it would involve the routed daemon, but I can't seem
to get it to work as expected.
Whichever way the default router is set is the path that works.

Is there something needed in the kernel?
Or am I just totally confused? Any thoughts would be appreciated.

Bill

Here is the rc.conf as it currently stands:

gateway_enable="YES"
router_enable="YES"
router=routed
router_flags="-s -T /usr/home/billn/routed.trace -t"
ifconfig_fxp0="inet 64.10.10.20  netmask 255.255.255.0"
defaultrouter="64.10.10.3"
ifconfig_fxp1="inet 68.25.10.20  netmask 255.255.255.0"
network_interfaces="fxp1 fxp0 lo0"
hostname="ns3.xxxx.net"



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?3A0071AF.5A0FB8DB>