From owner-freebsd-net Wed Jan 17 1:35:40 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail.rdc1.nj.home.com (ha1.rdc1.nj.home.com [24.3.128.66]) by hub.freebsd.org (Postfix) with ESMTP id DB28037B404 for ; Wed, 17 Jan 2001 01:35:22 -0800 (PST) Received: from home.com ([24.228.40.16]) by mail.rdc1.nj.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010117093522.LNJD14368.mail.rdc1.nj.home.com@home.com> for ; Wed, 17 Jan 2001 01:35:22 -0800 Message-ID: <3A656763.CC1FF016@home.com> Date: Wed, 17 Jan 2001 04:35:31 -0500 From: melik bessaha X-Mailer: Mozilla 4.74 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: REQ: HELP W/ IP ALIASING Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I am attempting to alias my one physical NIC in my netfinity server. I am using IPFILTER and IPNAT to do this with a static IP on a cable subscription. I am trying to port the connection to one machine in the internal network. Can someone please paste in their rc.conf, ipf.conf, and ipnat.conf so that i can copy info. I cant seem to get things to work properly. I can ping on the server to an outside address, but my subnet machine cant ping out or anything. The IP strucutre is as follows: NIC ip - 24.228.40.14, alias host - 192.168.1.0 (the internal gateway), and 192.168.1..10(the second machine) what should the ifconfig command look like in rc.conf with this info? also, to redirect in ipnat, would the command look like this: map fxp0 192.168.1.0/24 -> 24.228.40.14/32 portmap tcp:udp 10000:60000 map fxp0 192.168.1.0/24 -> 24.228.40.14/32 is this right?? if 192.168.1.0 will act as my gateway for my second machine, what should be the host of the machine? im a bit confused with how aliasing works. ifconfig should look something like this: ifconfig fxp0 alias inet 192.168.1.0/24 route alias -host 192.168.1.0 127.0.0.1 0 is this correct? Thanks to anyone who helps...im really bad at this and want to learn. Many thanks, Mel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message