From owner-freebsd-net Sun Jan 5 13:26:44 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7567237B401 for ; Sun, 5 Jan 2003 13:26:43 -0800 (PST) Received: from isber.ucsb.edu (research.isber.ucsb.edu [128.111.147.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FA7043EC2 for ; Sun, 5 Jan 2003 13:26:43 -0800 (PST) (envelope-from randall@isber.ucsb.edu) Received: from localhost ([127.0.0.1] helo=research.isber.ucsb.edu) by isber.ucsb.edu with esmtp (Exim 3.36 #2) id 18VIHw-000BGe-00 for freebsd-net@freebsd.org; Sun, 05 Jan 2003 13:26:32 -0800 Date: Sun, 5 Jan 2003 13:26:32 -0800 (PST) From: randall ehren To: Subject: default route Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanner: exiscan *18VIHw-000BGe-00*JrhIjCDXm8M* (ISBER - Institute for Social, Behavioral, and Economic Research) Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, i have a freebsd box acting as a firewall using ipfilter over a bridge. the machine has two interfaces: fxp0 = connected to outside world interface rl0 = connected to internal subnet when i add the default gateway, it defaults to assigning it to rl0. from netstat -rn: Destination Gateway Flags Refs Use Netif Expire 128.111.147.254 00:e0:52:d8:43:00 UHLW 1 0 rl0 1182 how can i assign the default gateway to use fxp0 instead? notes: root@fw-1[~]% ifconfig -u fxp0: flags=8943 mtu 1500 inet 128.111.147.250 netmask 0xffffffff broadcast 128.111.147.250 ether 00:00:5e:00:01:01 media: Ethernet 100baseTX status: active rl0: flags=8943 mtu 1500 inet 128.111.147.251 netmask 0xffffff00 broadcast 128.111.147.255 ether 00:30:1b:10:5b:e3 media: Ethernet 100baseTX status: active thanks, -randall -- :// randall s. ehren :// voice 805.893.5632 :// systems administrator :// isber|survey|avss.ucsb.edu :// institute for social, behavioral, and economic research To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message