Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2002 23:21:40 +0200
From:      Marko Zec <zec@tel.fer.hr>
To:        freebsd-net@freebsd.org, freebsd-stable@freebsd.org
Subject:   RFC: BSD network stack virtualization
Message-ID:  <3DADD864.15757E4E@tel.fer.hr>

next in thread | raw e-mail | index | archive | help
Hi all,

on http://www.tel.fer.hr/zec/BSD/vimage/ you can find the patches
against 4.7-RELEASE kernel sources, which provide the functionality of
maintaining multiple independent network stack images within a single
operating system kernel. No userland patches are necessary, except an
additional virtual image management utility.

Within a patched kernel, every process and network interface belongs to
an unique virtual image, which provides the independent:
- set of network interfaces and userland processes;
- interface addresses and routing tables;
- TCP, UDP, raw protocol control blocks;
- network traffic counters / statistics;
- set of net.inet tunable sysctl variables;
- ipfw and dummynet instance;
- system load and CPU usage accounting and scheduling

From the userland perspective, all the virtualization modifications
within the kernel have been designed to preserve the complete API/ABI
compatibility, so absolutely all existing userland binaries should be
able to run unmodified on the virtualized kernel.

There are many possible applications of having multiple independent
instances of the network stack within a single kernel, just to mention
VPN provisioning, virtual hosting, and network simulation...

I'd be glad to hear your comments on the code and suggestions for the
further development.

Have fun!

Marko


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DADD864.15757E4E>