[PVE 3] container network configuratioon

nzimas

New Member
Trying to set up a bridged connection from the web GUI alone is proving to be a daunting task.
The newly created device, name eth0, shows up under the Network tab, but is nowhere to be found in the container itself.

Screen Shot 2013-07-08 at 10.25.20.png

root@dzerzhinsky:/# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:623 errors:0 dropped:0 overruns:0 frame:0
TX packets:623 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:126157 (123.2 KiB) TX bytes:126157 (123.2 KiB)

root@dzerzhinsky:/# cat /etc/network/interfaces
# Auto generated lo interface
auto lo
iface lo inet loopback

Word to the wise :)
 
you just need to add your needed config in /etc/network/interfaces

e.g. if you have a debian container with veth and you want dhcp, it can look like this:

Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!