KIYOHARA Takashi
2013-01-29 14:25:17 UTC
Hi! all,
I wrote tap(4) supports for pkgsrc/emulators/tme.
This support can communicate HostOS and GuestOS via tap(4). I use on
amd64 and sun2, sun3. Can't test sparc and sparc64. :-<
ftp.netbsd.org/pub/NetBSD/misc/kiyohara/tmp/bsd-tap.c
ftp.netbsd.org/pub/NetBSD/misc/kiyohara/tmp/bsd-tap.diff
1. Change directory to /usr/pkgsrc/emulators/tme and do 'make patch'.
2. Copy bsd-tap.c to work/tme-0.8/host/bsd/.
3. Patch.
% cd work/tme-0.8
% patch -p0 <~/bsd-tap.diff
4. make && make install
5. Enable tap line for your configuration.
Also you can specify number of tap interface.
tap0 at <NIC>: tme/host/bsd/tap interface tap<N>
Thanks,
--
kiyohara
I wrote tap(4) supports for pkgsrc/emulators/tme.
This support can communicate HostOS and GuestOS via tap(4). I use on
amd64 and sun2, sun3. Can't test sparc and sparc64. :-<
ftp.netbsd.org/pub/NetBSD/misc/kiyohara/tmp/bsd-tap.c
ftp.netbsd.org/pub/NetBSD/misc/kiyohara/tmp/bsd-tap.diff
1. Change directory to /usr/pkgsrc/emulators/tme and do 'make patch'.
2. Copy bsd-tap.c to work/tme-0.8/host/bsd/.
3. Patch.
% cd work/tme-0.8
% patch -p0 <~/bsd-tap.diff
4. make && make install
5. Enable tap line for your configuration.
Also you can specify number of tap interface.
tap0 at <NIC>: tme/host/bsd/tap interface tap<N>
Thanks,
--
kiyohara