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

Re: [MirageOS-devel] tuntap on Yosemite

Excellent.  Note that in normal use, the native MacOS X one is better since your unikernel can make outgoing network requests.  The downside is that it doesn't support static IP (only DHCP), or at least I haven't found a way to make it happen. 


On 24 Mar 2015, at 11:49, Heidi Howard <hh360@xxxxxxxxx> wrote:

thanks, mirage configure -t unix seems to have fixed it

On 24 March 2015 at 11:46, Anil Madhavapeddy <anil@xxxxxxxxxx> wrote:

> On 24 Mar 2015, at 11:42, Heidi Howard <hh360@xxxxxxxxx> wrote:
> Hi All
> This isn't specific to mirageOS but i assume there a good number of tuntap users here.
> I have just install tuntap from the pkg on Yosemite (v 10.10.2) and the installation seems to have worked fine:
> e.g.
> $ sudo ls /dev/tap
> tap0   tap10  tap12  tap14  tap2   tap4   tap6   tap8
> tap1   tap11  tap13  tap15  tap3   tap5   tap7   tap9
> But i can't seem to use the tap0 interface, mirageos application cannot connect to tap0 (though they work fine in my other machine) and neither can I using ifconfig.

What is the exact failure mode?  Are you using `mirage-net-unix` or `mirage-net-macosx` when the application is compiled? The `unix` library uses tuntap (the old behaviour) and the `macosx` library uses the Yosemite-specific Vmnet kernel module (which doesnt require the installation of an external kmod, and supports bridging traffic).

You can force the use of tuntap on MacOS X via "mirage configure -t unix" (otherwise it is defaulted to "mirage configure -t macosx")



MirageOS-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.