Date: Mon, 19 Jan 1998 23:24:05 -0800 (PST) From: Jan Koum <jkb@best.com> To: "Michael L. VanLoon -- HeadCandy.com" <michaelv@MindBender.serv.net> Cc: alex@comsys.com, freebsd-isp@FreeBSD.ORG Subject: Re: Network address translation Message-ID: <Pine.BSF.3.96.980119232322.17260F-100000@shell6.ba.best.com> In-Reply-To: <199801192018.MAA12370@MindBender.serv.net>
next in thread | previous in thread | raw e-mail | index | archive | help
And if you are using a dial up connection, you can use ppp with "-alias" switch to do IP aliasing. 'man ppp' for more info. -- Yan On Mon, 19 Jan 1998, Michael L. VanLoon -- HeadCandy.com wrote: > >>We need to setup a classroom at our ISP here in Carbondale. >>We'd like to use 10. addresses for the classroom systems. Any >>pointer to success with some version of network address translation, >>would be helpful. > >As someone else said, "man natd", or in NetBSD "man ipnat". Also, >"man ipf" for a more general discussion of ip filters (in NetBSD >anyway). > >FYI, I have a 24-bit address space, 198.232.197/24. I have configured >my NetBSD box to translate all packets going out from all hosts with >the upper bit set in my address space (i.e. 198.232.197.128 - >198.232.197.255), so they appear to come from my ISP-connected >address. This is what appears in my ipnat.conf: > >map ppp0 198.232.197.128/25 -> 205.153.153.98/32 portmap tcp/udp 1025:65000 >map ppp0 198.232.197.128/25 -> 205.153.153.98/32 > >Note that the code in the ip filter stuff has diverged somewhat >between FreeBSD and NetBSD, so this syntax may not be exactly correct >for the FreeBSD stuff, but it should give you an idea how it's done. > >----------------------------------------------------------------------------- > Michael L. VanLoon michaelv@MindBender.serv.net > Contract software development for Windows NT, Windows 95 and Unix. > Windows NT and Unix server development in C++ and C. > > --< Free your mind and your machine -- NetBSD free un*x >-- > NetBSD working ports: 386+PC, Mac 68k, Amiga, Atari 68k, HP300, Sun3, > Sun4/4c/4m, DEC MIPS, DEC Alpha, PC532, VAX, MVME68k, arm32... > NetBSD ports in progress: PICA, others... >----------------------------------------------------------------------------- >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980119232322.17260F-100000>