(no commit message)
[ikiwiki.git] / docs / user / vKernelNetwork.mdwn
1 ## Setup networking 
2
3
4
5 ### Configuring the network on the host system 
6
7 In order to access a network interface of the host system from the vkernel, you must add the interface to a [bridge(4)](http://leaf.dragonflybsd.org/cgi/web-man?command=bridge&section=4) device which will then be passed to the `-I` option:
8
9     
10
11     kldload if_bridge.ko
12     kldload if_tap.ko
13     ifconfig bridge0 create
14     ifconfig bridge0 addm re0       # assuming re0 is the host's interface
15     ifconfig bridge0 up
16
17
18
19  **Note** : You have to change `re0` to the interface of your host machine.