From owner-freebsd-current Fri Dec 4 15:23:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA05729 for freebsd-current-outgoing; Fri, 4 Dec 1998 15:23:39 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA05719 for ; Fri, 4 Dec 1998 15:23:37 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id PAA06665; Fri, 4 Dec 1998 15:22:56 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Date: Fri, 4 Dec 1998 15:22:55 -0800 (PST) From: Doug White To: andrea cc: freebsd-current@FreeBSD.ORG Subject: Re: R: ip-masquerading.natd,ip-aliasing .... In-Reply-To: <007a01be1f6c$0abf70c0$4d18b9c2@oma.linet.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 4 Dec 1998, andrea wrote: > >I don't know how fancy your router is, if it can be taught to natd certain > >packets or not (I think ipfw can do it, not sure). > > > >> I'have tried assigning 2 ip address at the same interface ,and using > >> this machine as a gateway on the same phisical net. > > > >You have to use an alias (with the netmask of that network, not > >0xffffffff) on the interface to get the second IP programmed in. > > First of all thank you for replying!:) > > Now the configuration you described is pretty the same of mine. > And that's the problem it doesn't works at all.:( That's no good. > The rule in the firewall that 'divert' the socket to natd seem to > work,because i can see the > counters of packets increasing.. > But natd doesn't get anything ,or so seems( i set-up natd in verbose mode > but nothing happens...) Check your natd configuration (see the manpage). Hopefully this isn't pathological -- this is the second case of ipfw+natd failing from a stock install. I need to test this myself. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message