version 1.5, 2020/09/08 21:05:59
|
version 1.6, 2020/09/09 14:28:56
|
Line 204 sources and you will have to create the
|
Line 204 sources and you will have to create the
|
|
|
## Configuring the bridge interface |
## Configuring the bridge interface |
|
|
The [bridge(4)](//man.NetBSD.org/bridge.4) interface is used to provide network access to DOMUs. |
The [[!template id=man name="bridge" section="4"]] interface is used to provide network access to DOMUs. |
|
|
To use one, edit (or create) the file `/etc/ifconfig.bridge0` and insert |
To use one, edit (or create) the file `/etc/ifconfig.bridge0` and insert |
following lines to: |
following lines to: |
Line 215 following lines to:
|
Line 215 following lines to:
|
|
|
|
|
Where 'bge0' should be changed to the name of the interface you want to use |
Where 'bge0' should be changed to the name of the interface you want to use |
with your guest operating systems. use [ifconfig(8)](//man.NetBSD.org/ifconfig.8) to get more details |
with your guest operating systems. use [[!template id=man name="ifconfig" section="8"]] to get more details |
about your actual interfaces. |
about your actual interfaces. |
|
|
## Rebooting into DOM0 |
## Rebooting into DOM0 |
Line 227 Time to reboot:
|
Line 227 Time to reboot:
|
|
|
|
|
If all has gone well, you should have booted into the XEN3_DOM0 kernel. Check |
If all has gone well, you should have booted into the XEN3_DOM0 kernel. Check |
this with [uname(1)](//man.NetBSD.org/uname.1): |
this with [[!template id=man name="uname" section="1"]]: |
|
|
|
|
# uname -v |
# uname -v |
Line 434 consider the swap). These partitions mus
|
Line 434 consider the swap). These partitions mus
|
and may be either of primary or extended type. Of course, you can use more |
and may be either of primary or extended type. Of course, you can use more |
than two, but adapt your labels and partitions accordingly. |
than two, but adapt your labels and partitions accordingly. |
|
|
We do not cover the partition/slices manipulations through [fdisk(8)](//man.NetBSD.org/fdisk.8) and |
We do not cover the partition/slices manipulations through [[!template id=man name="fdisk" section="8"]] and |
[disklabel(8)](//man.NetBSD.org/disklabel.8), as it depends strongly on how you manage your hard drive's |
[[!template id=man name="disklabel" section="8"]], as it depends strongly on how you manage your hard drive's |
space. |
space. |
|
|
For this tutorial, we will use this partitioning: |
For this tutorial, we will use this partitioning: |
Line 508 NetBSD, you can use [sysutils/e2fsprogs]
|
Line 508 NetBSD, you can use [sysutils/e2fsprogs]
|
# make install |
# make install |
|
|
|
|
And then use e2fsck, mke2fs and [mount_ext2fs(8)](//man.NetBSD.org/mount_ext2fs.8) directly from NetBSD. |
And then use e2fsck, mke2fs and [[!template id=man name="mount_ext2fs" section="8"]] directly from NetBSD. |
|
|
### Getting XEN aware Linux kernels |
### Getting XEN aware Linux kernels |
|
|