I feel like I'm so close to getting this working...maybe one of you can help?
Here's the scenario:
I have a virtualbox host running CentOS 6.4 x86_64. It's got libvirt
installed and an lxc guest on it. The guest setup went fine, and I
can even ssh into the guest from the host. The guest successfully gets
a DHCP address and has a correct routing table. The guest can also
ping the host, but it can't ping the router or reach the internet.
Here's the command I used to create the guest:
virt-install --connect lxc:/// --name testbox --ram 512 --vcpu 1
--filesystem /containers/testbox/,/ --network bridge:br0
--noautoconsole
And the bridge info on the host:
[root@opscodelxc ~]# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.08002711b9b0 no eth1
veth0
virbr0 8000.525400906d8d yes virbr0-nic
ifconfig info for br0 and eth1 on the host:
[root@opscodelxc ~]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 08:00:27:11:B9:B0
inet6 addr: fe80::a00:27ff:fe11:b9b0/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
...
[root@opscodelxc ~]# ifconfig br0
br0 Link encap:Ethernet HWaddr 08:00:27:11:B9:B0
inet addr:192.168.0.72 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
...
Has anyone gotten bridged networking to function from an lxc guest,
inside of a virtualbox VM?
I don't have the luxury of using LXC natively because I'm on a Mac.
So I have to run it from within a Linux VM.
If you know how to fix this I'd be so happy.
thanks
Sean
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users