I'm waiting to see if someone has some scripts at the ready for you, but in general you'll need to (a) add a rule on VMA to accept traffic destined for 10.0.3.0/24 over eth0, and (b) add a route on vmB to send 10.0.3.0/24 traffic through vmA. Which means you won't be able to have a 10.0.3.0/24 network on vmb itself, of course.
-serge Quoting Thouraya TH ([email protected]): > Oracle VM virtualBox, i have activated: NAT, Bridge and private host > > The blue arrows means that the ping works correctly. The red arrow means > that there is a problem: i try from VMB (192.168.1.7) to ping 10.0.3.8 i > have this message blocked : ping 10.0.3.8 PING 10.0.3.8 (10.0.3.8) 56(84) > bytes of data. --- 10.0.3.8 ping statistics --- 68 packets transmitted, 0 > received, 100% packet loss, time 67214ms - > > Best Regards. > > > > 2014-03-10 15:32 GMT+01:00 <[email protected]>: > > > Send lxc-users mailing list submissions to > > [email protected] > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://lists.linuxcontainers.org/listinfo/lxc-users > > or, via email, send a message with subject or body 'help' to > > [email protected] > > > > You can reach the person managing the list at > > [email protected] > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of lxc-users digest..." > > > > Today's Topics: > > > > 1. Re: Ping to a container (Luis M. Ibarra) > > > > > > ---------- Message transféré ---------- > > From: "Luis M. Ibarra" <[email protected]> > > To: LXC users mailing-list <[email protected]> > > Cc: > > Date: Sat, 8 Mar 2014 10:27:55 -0500 > > Subject: Re: [lxc-users] Ping to a container > > which vm are you using, and which type of interface are you setting up?, > > because VirtualBox doesn't work with lxc unless the interfaces are > > internals. > > > > > > 2014-03-08 8:01 GMT-05:00 Thouraya TH <[email protected]>: > > > >> Hello, > >> > >> Please, I try to do ping 10.0.3.8 (ip of LXC container) from VMB but it > >> didn't work ! Have you an idea please ? > >> > >> Here is an explanation of what I want do: (red arrow) > >> > >> > >> Thanks a lot. > >> > >> Best Regards. > >> [image: Images intégrées 1] > >> > >> > >> _______________________________________________ > >> lxc-users mailing list > >> [email protected] > >> http://lists.linuxcontainers.org/listinfo/lxc-users > >> > > > > > > > > -- > > Luis M. Ibarra > > > > _______________________________________________ > > lxc-users mailing list > > [email protected] > > http://lists.linuxcontainers.org/listinfo/lxc-users > > > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
