Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 1995 21:19:51 -0600 (CST)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        dror@dnai.com (Dror Matalon)
Cc:        freebsd-isp@FreeBSD.org
Subject:   Re: Multiple virtual domains (was Re: Please help!)
Message-ID:  <199512080319.VAA11988@brasil.moneng.mei.com>
In-Reply-To: <Pine.BSD/.3.91.951207150031.26008E-100000@venus.dnai.com> from "Dror Matalon" at Dec 7, 95 03:22:10 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512080319.VAA11988>