MicroBSD Handbook

Prev Next

5.5 Virtual Hosts

A very common use of MicroBSD is virtual site hosting, where one server appears to the network as many servers. This is achieved by assigning multiple network addresses to a single interface. This is done by adding simple line to the hostname.{interface} file:

inet alias 10.0.1.13 255.255.255.255 10.0.1.255

You can specify multiple aliases to one network card by repeating the line. Regular ipv4 network setup:

addr_family [alias] addr netmask broadcast_addr options

Regular ipv6 network setup:

addr_family [alias] addr prefixlen options
Prev Home Next
Application Configuration Configuration Files

This, and other documents, can be downloaded from MicroBSD.

For questions about MicroBSD, read the documentation before contacting <MicroBSD Support>.
Copyright © 1995-2003 by The FreeBSD Documentation Project, OpenBSD FAQ Copyright © 1998-2003 OpenBSD, Modified for MicroBSD