Merge branch 'vendor/GCC44'
[dragonfly.git] / test / vkernel / README
1
2                                 README FILE
3
4 Setting up vknetd to give your test vkernel some connectivity.  There
5 are two easy ways of doing this.  First you can set up a bridge:
6
7     ifconfig bridge0 create
8     ifconfig bridge0 addm nfe0
9     ifconfig bridge0 up
10     /usr/sbin/vknetd -p /var/run/vknet -U -b bridge0
11
12 Second, you can set up a LAN just between the vkernel and the machine it
13 is running on:
14
15     /usr/sbin/vknetd -p /var/run/vknet -U 10.30.0.1/16
16
17 This setup is typically done in /etc/rc.local.  vknetd just sits there
18 waiting for connections.  Any number of vkernels can then attach to it.
19 If you bridge you can use your normal LAN's dhcp server and run dhclient
20 on the vkernel.  If you set up a local LAN it is easiest to simply configure
21 the address by hand.