From owner-freebsd-questions@FreeBSD.ORG Fri Nov 16 06:38:48 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D00DE16A418 for ; Fri, 16 Nov 2007 06:38:48 +0000 (UTC) (envelope-from girishvenkatachalam@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by mx1.freebsd.org (Postfix) with ESMTP id A891A13C468 for ; Fri, 16 Nov 2007 06:38:46 +0000 (UTC) (envelope-from girishvenkatachalam@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so593988rvb for ; Thu, 15 Nov 2007 22:38:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:from:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=rF9dbTlNEge3qEmPsjQi2Z/G8hEcj3Dl9T9GLToCQpo=; b=PHUXA6xED3U9wOhiLk8pICmNhiLzI+3sYX4VH0chrSvkgYIrAx2Jh8vqlOJTsU7QXpQbfhn4gXGyRYRDUPQJ/v6xXkUjRqEdVh5fT7kdOGsSaq/bXDwAH/zmkDdFL1KFT6x+xTvYmp52I/1Vak9x2+5inGQFSFD+Iz59u20oTa4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=BMI5b//FZv/q1rBy5fD/IhJkB78iyOac6ZK0BI4M4eJq3DXYjQYy0pTA8adm1zTrMx6TUfTm2yvSWd7S8LGjoEED1AkktsYU8wEcmJ2/vowkM97fCF4Ssi7HCttgojSU166mgvnq5XvAgqR+KIrQ0yiJW2nbnFQAa1CED6gR4NU= Received: by 10.140.180.13 with SMTP id c13mr83204rvf.1195195119269; Thu, 15 Nov 2007 22:38:39 -0800 (PST) Received: from saraswathy.susmita.org ( [59.92.57.146]) by mx.google.com with ESMTPS id b39sm4588409rvf.2007.11.15.22.38.36 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Nov 2007 22:38:38 -0800 (PST) Received: by saraswathy.susmita.org (Postfix, from userid 1002) id A3AB6143E7; Fri, 16 Nov 2007 12:08:32 +0530 (IST) Date: Fri, 16 Nov 2007 12:08:32 +0530 From: Girish Venkatachalam To: freebsd-questions@freebsd.org Message-ID: <20071116063832.GB4164@saraswathy.susmita.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <6ae50c2d0711152118h2f2a9989q2b39eba077154041@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6ae50c2d0711152118h2f2a9989q2b39eba077154041@mail.gmail.com> User-Agent: Mutt/1.5.12-2006-07-14 Subject: Re: multihome network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: girishvenkatachalam@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2007 06:38:48 -0000 On 00:18:42 Nov 16, alexus wrote: > Hello, > > I have two NICs on my box, one (primary) connected to switch and have > private IP. that IP also have a static route on Cisco PIX for > accessing this box from outside. the other interface has public IP > that is connected to another switch, i configure both IPs through > /etc/rc.conf, but I can not for some reason access my box through that > public IP, no firewall rules would prevent me from doing so. here is > my output for netstat -rn > > alexus# netstat -rn > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 192.168.1.1 UGS 0 250 fxp0 > 127.0.0.1 127.0.0.1 UH 0 2 lo0 > 192.168.1 link#1 UC 0 0 fxp0 > 192.168.1.1 00:0d:29:09:90:61 UHLW 2 2 fxp0 1171 > 192.168.1.250 00:16:cb:94:10:e9 UHLW 1 12 fxp0 1169 > 216.112.241.24/29 link#2 UC 0 0 fxp1 Your default route is 192.168.1.1 and not 216.112.241.24 regards, Girish