Name Date Size #Lines LOC

..08-May-2022-

MakefileH A D08-May-20227.7 KiB253188

READMEH A D08-May-2022731 2215

README

1
2				README FILE
3
4Setting up vknetd to give your test vkernel some connectivity.  There
5are 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
12Second, you can set up a LAN just between the vkernel and the machine it
13is running on. In your /etc/rc.conf you set:
14
15   vknetd_enable="YES"
16   vknetd_flags="10.30.0.1/16"
17
18vknetd just sits there waiting for connections.  Any number of vkernels
19can then attach to it. If you bridge you can use your normal LAN's dhcp
20server and run dhclient on the vkernel.  If you set up a local LAN it
21is easiest to simply configure the address by hand.
22