From owner-freebsd-isp Thu Dec 7 19:21:09 1995 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA20361 for isp-outgoing; Thu, 7 Dec 1995 19:21:09 -0800 (PST) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.20.4]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id TAA20356 for ; Thu, 7 Dec 1995 19:21:06 -0800 (PST) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id VAA11988; Thu, 7 Dec 1995 21:19:52 -0600 From: Joe Greco Message-Id: <199512080319.VAA11988@brasil.moneng.mei.com> Subject: Re: Multiple virtual domains (was Re: Please help!) To: dror@dnai.com (Dror Matalon) Date: Thu, 7 Dec 1995 21:19:51 -0600 (CST) Cc: freebsd-isp@FreeBSD.org In-Reply-To: from "Dror Matalon" at Dec 7, 95 03:22:10 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-isp@FreeBSD.org Precedence: bulk > This works, but it's ugly for a couple of reasons. > 1. Your ethernet card is listening and sending arps for all these > addresses. This is no big deal with 5-10 aliases. What do you > do when you have 500? you tell your router to route an appropriately sized subnet there. > 2. Since these are all real address on your network you can only use 250 > or so of these. What do you do if you need more? use a bigger netmask? multiple subnets? or build a better http protocol that doesn't require such silliness. > The solution we're looking at involves vif Virtual IF. It creates > an if interface that doesn't really point to an Ethernet Card but > instead knows that all packets coming to that interface are for > the local machine. A more detailed description is in > http://www.apache.org/docs/vif.info. It includes source code to > integrate this into Suns. > > The big question is, has anyone ported this to freebsd? why would you want to? :-) let's say you have a wire, "206.55.64.64", netmask 0xffffffc0, so you have the effective address range 65-126 available. You configure your Web server: ifconfig ed0 206.55.64.67 netmask 0xffffffc0 so it is visible on that net. now you tell your router to route "206.55.64.128 netmask 0xffffff80" at 206.55.64.67. now, just create a dummy tun device (etc) on the server, and ifconfig and alias it to death. same thing as you are proposing, but without deadbeat does-nothing-useful code eating up kernel space. :-) you just virtualize an unused real interface. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/342-4847