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

Re: [MirageOS-devel] Client program connecting to a server on local host



hi;

On 30 Jul 2014, at 12:32, Tom Brown <tom.jrbrown@xxxxxxxxx> wrote:

> I am writing a client application that connects to a server that is running 
> on the same machine. Client ip address is statically set to 10.0.0.2 (using 
> I.set_ipv4) and similar to one of mirage online documents, and gateway to 
> 10.0.0.1. The ip address for tap0 is also set to 10.0.0.1 on the machine. 
> Client cannot connect to the listening server. How I can make this interface 
> work?

a bit more detail would be useful -- what address is the server bound to?  is 
your code online?  what platform are you on?  what output do you actually get?  
have you tried tcpdump on the various interfaces involved?

> As another question, do we actually need to assign an ip address in a 
> different network to the client? Can we make client run as a program on the 
> local machine while it is built over a tap?

sorry-- not sure i understand the question: if you're building the client as a 
an application using the unix/direct backend then it is running as a program on 
the local machine using the tap, isn't it?

-- 
Cheers,

R.




Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

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