DragonFly kernel List (threaded) for 2007-01
DragonFly BSD
DragonFly kernel List (threaded) for 2007-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: VKernel progress update - 9 Jan 2006


From: Gergo Szakal <bastyaelvtars@xxxxxxxxx>
Date: Thu, 11 Jan 2007 02:44:57 +0100

On Thu, 11 Jan 2007 08:42:45 +0800
"Sepherosa Ziehau" <sepherosa@gmail.com> wrote:

> On 1/11/07, Matthew Dillon <dillon@apollo.backplane.com> wrote:
> >    That network interface works great!  I got it working between the real
> >    kernel and virtual kernel.  I tried to bridge it onto the real network
> >    interface so I could run dhclient from the virtual kernel, but it
> >    wasn't happy about that.  It might have just been the ifconfig
> >    command I tried to use:
> >
> >        realkernel% ifconfig nfe0 addm tap0
> >        ifconfig: BRDGADD tap0: Invalid argument
> 
> you probably need to:
> on another terminal, after start vkernel
> 
> ifconfig bridge0 create
> ifconfig nfe0 up
> ifconfig tap0 up
> ifconfig bridge0 addm nfe0 addm tap0
> ifconfig bridge0 inet xx.xx.xx.yy
> 
> (you may need to unset nfe0's address first, before add it to bridge0)
> 
> in vkernel
> ifconfig vke0 inet xx.xx.xx.zz
> 
> then you can access a real machine by ping xx.xx.xx.ww
> 
> Best Regards,
> sephe
> 

Uhm, from the user's point of view: how about an rc.conf-like file (rc.vkernel) to store this values?

-- 
Gergo Szakal <bastyaelvtars@gmail.com>
University Of Szeged, HU
Faculty Of General Medicine

/* Please do not CC me with replies, thank you. */



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]