From owner-freebsd-questions@FreeBSD.ORG Mon May 19 17:09:49 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1884C37B405 for ; Mon, 19 May 2003 17:09:49 -0700 (PDT) Received: from smtp.noos.fr (nan-smtp-08.noos.net [212.198.2.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 491C743FB1 for ; Mon, 19 May 2003 17:09:47 -0700 (PDT) (envelope-from puyol@abvent.fr) Received: (qmail 513471 invoked by uid 0); 20 May 2003 00:09:45 -0000 Received: from unknown (HELO abvent.fr) ([212.198.199.129]) (envelope-sender ) by 212.198.2.77 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 20 May 2003 00:09:45 -0000 Date: Tue, 20 May 2003 02:09:44 +0200 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Robert Puyol To: freebsd-questions@freebsd.org Content-Transfer-Encoding: 7bit In-Reply-To: <27871523-88AD-11D7-A24E-000393562F10@noos.fr> Message-Id: <5C53913A-8A57-11D7-B1A2-000393562F10@abvent.fr> X-Mailer: Apple Mail (2.552) Subject: Re: dual homed host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 00:09:49 -0000 Hi : I am still trying to set up my dual homed host. This article is a very good description of what I would like to achieve: & Yet it is not working for me. I would like to share with you my guess : if my alias was a public IP then the set up could/should work, but as the alias is a private IP behind NAT abd a firewall, there is another issue, but which one ? -- Robert Puyol On Saturday, May 17, 2003, at 11:18 PM, Robert Puyol wrote: > Hi: > > My setup is: one FreBSD server, one interface, two ISP, each providing > a router. So I would like to set up a dual homed host, to be able use > the two ISP. From some reading of the FreeBSD documentation and > gooooooooooogle, here are my questions: > > 0) do I need to do a sysctl net.inet.ip.forwarding=1 to get a working > dual homed host ? > 1) I set an alias (private IP to use the ISP2): "ifconfig rl0 inet > 10.0.1.4 netmask 255.255.255.0 alias", the I can ping 10.0.1.4 but not > the router at 10.0.1.1. What's wrong ? > 2) I set route: "route add -net 10.0.1/24 10.0.1.1 0", but yet I am > still not able to ping the router at 10.0.1.1 or to ping my public IP > from another network. > > If I set the defaultrouter=10.0.1.1 (ISP2 router on my network) in > rc.conf I can use the ISP2 public IP to acces my server, but then I > loose the access to the primary IP of the ISP1... > > Thanks a lot for your help. > -- > Robert Puyol > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >