Re: [lxc-devel] Communication between single network namespace

2011-03-09 Thread Eric Brower
I've not worked with very recent kernels, but my recollection is that a new network namespace (CLONE_NEWNET) is created with no network devices (and, therefore, routing table entries) aside from the loopback device, which is initially down. Your code snippet is not very helpful, but I'm guessing t

[lxc-devel] Communication between single network namespace

2011-03-09 Thread Maheswara Reddy C - ERS, HCL Tech
Hi, I am implementing client/server programming in a single network namespace using AF_INET, but client connet() failing with error Network unreachable. Shall we use AF_INET or AF_UNIX, could some one explain. Int main() { if (unshare(CLONE_NEWNET)) { perror("unshare"); return