xref: /dragonfly/test/vkernel/README (revision dcd37f7d)
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:
14
15    /usr/sbin/vknetd -p /var/run/vknet -U 10.30.0.1/16
16
17This setup is typically done in /etc/rc.local.  vknetd just sits there
18waiting for connections.  Any number of vkernels can then attach to it.
19If you bridge you can use your normal LAN's dhcp server and run dhclient
20on the vkernel.  If you set up a local LAN it is easiest to simply configure
21the address by hand.
22