Hallo,
ich wollte mal fragen, ob irgendjemand von Euch schonmal mit dem virtual network stack herumgespielt hat, ist noch experimentell, klingt aber gut.
Gefunden auf:
http://www.cyberciti.biz/tips/freebsd-8-0-review-enterprise-ready-server-operating-system.html
Ich traue mich nur nicht wirklich an das Kernel-Bauen aus der obigen Anleitung heran, habe Angst mir mein schönes kleines Testsystem zu zerschießen.
Grüße.
arcona
ich wollte mal fragen, ob irgendjemand von Euch schonmal mit dem virtual network stack herumgespielt hat, ist noch experimentell, klingt aber gut.
Gefunden auf:
http://www.cyberciti.biz/tips/freebsd-8-0-review-enterprise-ready-server-operating-system.html
Klingt irgendwie cool und ist genau das was ich in den jails vermisse.Komme aus der LInux Ecke und unter OpenVZ ist das eine Kleinigkeit.Network Stack Virtualization (VIMAGE)
The network stack virtualization project aims at extending the FreeBSD kernel to maintain multiple independent instances of networking state. This will allow for complete networking independence between jails on a system, including giving each jail its own firewall, virtual network interfaces, rate limiting, routing tables, and IPSEC configuration. The vimage is a jail with a virtualized instance of the FreeBSD network stack. It is an experimental feature. To enable VIMAGE, edit your kernel config file and add the following line:
options VIMAGE
Make sure you remove the SCTP option. Save and close the file. Rebuild the kernel:
make buildkernel KERNCONF=NIXCRAFT
make installkernel KERNCONF=NIXCRAFT
reboot
You can easily create the vimage enabled jail using jail, run:
jail -c vjail1 name=vjail1 host.hostname=vjail1.nixcraft.in path=/ persist
You can easily communicate between jails using epair driver interface which is a pair of virtual back-to-back connected Ethernet interfaces:
ifconfig epair0 create
ifconfig epair0a config-options
See jail(8), and epair(4) man page for more details.
Ich traue mich nur nicht wirklich an das Kernel-Bauen aus der obigen Anleitung heran, habe Angst mir mein schönes kleines Testsystem zu zerschießen.
Grüße.
arcona