pkgsrc/emulators/tme + tap(4)

KIYOHARA Takashi <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64,gmane.os.netbsd.ports.sun2,gmane.os.netbsd.ports.sun3,gmane.os.netbsd.ports.sparc
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.