sbp(4): Support MAXPHYS up to 512KB
[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. In your /etc/rc.conf you set:
14
15    vknetd_enable="YES"
16    vknetd_flags="10.30.0.1/16"
17
18 vknetd just sits there waiting for connections.  Any number of vkernels
19 can then attach to it. If you bridge you can use your normal LAN's dhcp
20 server and run dhclient on the vkernel.  If you set up a local LAN it
21 is easiest to simply configure the address by hand.