From owner-freebsd-questions@FreeBSD.ORG Thu Jul 23 14:42:04 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 CE7B91065673 for ; Thu, 23 Jul 2009 14:42:04 +0000 (UTC) (envelope-from lucian@lastdot.org) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 6A7DB8FC0A for ; Thu, 23 Jul 2009 14:42:03 +0000 (UTC) (envelope-from lucian@lastdot.org) Received: by fg-out-1718.google.com with SMTP id 13so269052fge.12 for ; Thu, 23 Jul 2009 07:42:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.86.87.1 with SMTP id k1mr1901985fgb.74.1248358911930; Thu, 23 Jul 2009 07:21:51 -0700 (PDT) Date: Thu, 23 Jul 2009 15:21:51 +0100 Message-ID: <5a3c8f450907230721y65b6c87as2a38a01efcdb649b@mail.gmail.com> From: "Lucian@lastdot.org" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: How to change default source address? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 14:42:05 -0000 Hi guys, I need to change the default source address on a freebsd server. My situation is somehow similar to this (http://marc.info/?l=freebsd-questions&m=122535960804508&w=2). In linux i can easily do it like: ip ro replace default via 10.10.10.1 src a.b.c.d (where a.b.c.d is em0 alias). Any ideas?