[PVE-User] venet0 doesn't have internet connection - How to set it up properly?

Bruce B bruceb444 at gmail.com
Wed Mar 21 20:28:26 CET 2012


Hi everyone,

I have always been using VETH with a router and everything worked fine.
This is my first experience with venet but I can't get internet working for
the CentOS container.

I have one public IP which is attached to Proxmox vmbr0 I guess and then I
want 3 CentOS servers to use venet with 10.0.0.0/24 IP range and have
internet access.

I simply added venet and put IP 10.0.0.1 when I was creating the container
but this doesn't seem to work. I am probabably missing some theory and also
configurations. Here is what I have so far (I don't have a router or any
more public IP addresses):

lo        Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0

venet0    Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255


venet0:0  Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.0.0.1  P-t-P:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0


Any feedback is much appreciated.

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120321/997257b8/attachment.htm>


More information about the pve-user mailing list