From owner-freebsd-questions@FreeBSD.ORG Mon Nov 23 00:08:18 2009 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 95A411065670 for ; Mon, 23 Nov 2009 00:08:18 +0000 (UTC) (envelope-from anthony.rasat@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 4A0808FC12 for ; Mon, 23 Nov 2009 00:08:18 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so1109668qwb.7 for ; Sun, 22 Nov 2009 16:08:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:x-rim-org-msg-ref-id :return-receipt-to:message-id:reply-to:x-priority:sensitivity :importance:to:subject:from:date:content-type:mime-version; bh=zFvgo3Xa2PmvEgUlSe3zXzMgixFdLCDj6LI9BqRVPzk=; b=PryEGedsbTFqLlQYzYbLNc26qfwpzJ6q1yuubmmBUztx1T92tOy1dRohinpoADb1tL 4XetvQO9f3AJWxiFDLnZabjpIFFD3P9b1YKqwOxoCWVCFvvhOlTVBqslwdHFb3GZf8op w544mE6ZEFlbzNv0FKCmGWK62olN4BeAhz5js= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-rim-org-msg-ref-id:return-receipt-to:message-id:reply-to :x-priority:sensitivity:importance:to:subject:from:date:content-type :mime-version; b=UNLrzIX4Tjc05O2kmprBUOU9LfECvGMsk8R0GDB5NULWW8bHTGkdipmPoO/FFOtz/B vWDgncRa1l/xItJqmHSzNY515K44UTr0Yz04H3heD3GdSC+320hJYwPtPxATTzpy1LSN LKwFWOXs+xOGRspmurr3bguZzC4N9R+ZFvxwI= Received: by 10.224.8.136 with SMTP id h8mr2129726qah.128.1258933062267; Sun, 22 Nov 2009 15:37:42 -0800 (PST) Received: from bda2010.bisx.prodap.on.blackberry (bda-216-9-246-85.bise.ap.blackberry.com [216.9.246.85]) by mx.google.com with ESMTPS id 22sm3106586qyk.2.2009.11.22.15.37.41 (version=SSLv3 cipher=RC4-MD5); Sun, 22 Nov 2009 15:37:41 -0800 (PST) X-rim-org-msg-ref-id: 491618066 Message-ID: <491618066-1258933059-cardhu_decombobulator_blackberry.rim.net-1473770434-@bda049.bisx.prodap.on.blackberry> X-Priority: Normal Sensitivity: Normal Importance: Normal To: freebsd-questions@freebsd.org From: "Anthony M. Rasat" Date: Sun, 22 Nov 2009 23:37:28 +0000 Content-Type: text/plain MIME-Version: 1.0 Subject: Specific interface to default route X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: anthony.rasat@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2009 00:08:18 -0000 Dear all, I have two (ethernet) network interface with IP address within the same subnet, call it msk0 and nfe0. Interface msk0 have IP address 192.168.0.2 and nfe0 192.168.0.3 and default router IP address is 192.168.0.1. I want only nfe0 that can talk to default router while keeping msk0 reachable within subnet (answer to ping from hosts with same subnet and so on). Is it possible? What should I put in /etc/rc.conf file? Regards, Anthony M. Rasat Manager - Technical, Network and Support Division PT. Jawa Pos National Network Graha Pena Jawa Pos Group Building, 5th floor Jln. Raya Kebayoran Lama 12, Jakarta Selatan 12210 Indonesia.- Phone 02132185562 Phone 081574217035 Fax 02153651465 Web http://www.jpnn.com