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

Re: Net.Manager



On 27 Mar 2013, at 11:46, Anil Madhavapeddy wrote:

> On 27 Mar 2013, at 11:44, Vincent Bernardoff <vb@xxxxxxxxxxxxxx> wrote:
> 
>> On 27/03/2013 11:36, Haris Rotsos wrote:
>>> sorry replied too late to the first mail. Ok tell me when the code is
>>> ready for the tap case to see the resulting API and we can see then how
>>> we can fit something in a more modular way.
>>> 
>> 
>> For now I made that:
>> https://github.com/vbmithr/ocaml-tuntap
>> 
>> This is a Linux/Mac library that covers only creating/attaching tun/tap 
>> interfaces, extracted out of the mirage tab stubs and completed for Linux.
> 
> Mort: does this fix your weird Linux routing problem with the old tap code?

ok, tried this, sort of, i think. short answer: no joy.

that is, 

- i pulled and built the latest ocaml-tuntap, producing tunctl.native.
- i ran "sudo ./tunctl.native add tap0 ; sudo ./tunctl.native inet tap0 
10.0.0.2"
- i ran "make run" in mirage-www

...and i still get the same results, i.e., i see the outgoing SYN on lo getting 
a RST in response. i also see pings to 10.0.0.2 being received on and replied 
to via lo. i tried creating tap1 with address 10.0.0.3 which worked fine, but 
same results -- trying to get packets (eg., ping) to 10.0.0.3 causes them to be 
visible on lo and not on tap1.

or am i missing something obvious?

-- 
Cheers,

R.




This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, copy 
or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



 


Rackspace

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