From owner-freebsd-net@FreeBSD.ORG Mon Aug 13 09:02:46 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CD7F16A418 for ; Mon, 13 Aug 2007 09:02:46 +0000 (UTC) (envelope-from rajkumars@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 387E813C458 for ; Mon, 13 Aug 2007 09:02:46 +0000 (UTC) (envelope-from rajkumars@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1922575waf for ; Mon, 13 Aug 2007 02:02:45 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=N/tYNd6mFUlYkJBcL5XDNhV9UrmqbNLCgKzROJ+YA3+xoC1i+4Dn4dlbYSFVkjiUVW/Tc17eCr7jM/UfYg5xe6EIOseyj/ljuDpEyjJE2A/8NqAnJQdyJm+A3p35EGRjnW4lpgZ/iBXYfeiInaKeF8fCPEH9gFa/VdSbJoyNtnQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=KgmVtPv8ndXVxcSkHlsLR8CmzwpN2V7Q2MiIwwri1xzdP4IxvdzpoDa2YI6j4QPE0GSM/K/toSfZwNJUyLSAOUPa4BiolrTLI9jvEkbXgdr7ih0xyXpp6/nzA6jfwFJ5lILNLVnWHY/NjQwm3kfDoXJfW8KXcQk2Y3AyspzaimA= Received: by 10.114.134.1 with SMTP id h1mr1781869wad.1186994029555; Mon, 13 Aug 2007 01:33:49 -0700 (PDT) Received: by 10.115.107.4 with HTTP; Mon, 13 Aug 2007 01:33:49 -0700 (PDT) Message-ID: <64de5c8b0708130133i51c1918bg5ad8ab3c6e381f5b@mail.gmail.com> Date: Mon, 13 Aug 2007 14:03:49 +0530 From: "Rajkumar S" To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: ng_nat connected to ng_ether not working? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2007 09:02:46 -0000 Hi, I am trying to connect an ng_nat node between ng_ether:upper and ng_ether:lower so that all packets traversing via ng_ether node gets nat'd. But it does not seems to be working. I am using the follwoing commands to connect rl1: and ng_nat ngctl mkpeer rl1: nat upper out ngctl name rl1:upper nat ngctl connect rl1: nat: lower in ngctl msg nat: setaliasaddr x.x.x.x (I have also swapped out with in in the above set of commands, just in case, but with same results) with warm regards, raj