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:
7 ifconfig bridge0 create
8 ifconfig bridge0 addm nfe0
10 /usr/sbin/vknetd -p /var/run/vknet -U -b bridge0
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:
16 vknetd_flags="10.30.0.1/16"
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.