bridged networking, dhcp guest

Nemo

Member
Nov 4, 2011
13
0
21
So, I have set up Proxmox ve 2.0b.
It has a configured interface vmbr0 and is reachable trough that. It also has interfaces venet0 and eth0, which look unconfigured but eth0 seems to work under the bridge.

Code:
eth0      Link encap:Ethernet  HWaddr 00:0a:e4:86:e2:ea
          inet6 addr: fe80::20a:e4ff:fe86:e2ea/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3475224 errors:0 dropped:0 overruns:0 frame:0
          TX packets:200173 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:522807556 (498.5 MiB)  TX bytes:32949456 (31.4 MiB)
          Interrupt:16

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet6 addr: fe80::1/128 Scope:Link
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:3 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vmbr0     Link encap:Ethernet  HWaddr 00:0a:e4:86:e2:ea
          inet addr:10.125.18.167  Bcast:10.125.19.255  Mask:255.255.252.0
          inet6 addr: fe80::20a:e4ff:fe86:e2ea/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3173420 errors:0 dropped:0 overruns:0 frame:0
          TX packets:191258 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:425304783 (405.6 MiB)  TX bytes:30870876 (29.4 MiB)

I then installed a guest from the debian-standard 6.0.4 template. The Network is in bridged mode (vmbr0). Inside that guest, I have interfaces eth0 (which looks good and has a mac) and venet0 (which has a veery long hw address consisting of only zeroes).

I now tried dhclient on the guest, to no avail. I tried on both interfaces, although I believe venet is for routed config and irrelevant here, so mostly eth0. I also did a tcpdump on the proxmox host, but no dhcp packages go through any of them. venet0 on the guest originally was down; I also tried dhclient after doing a "ifconfig venet0 up", didn't make a difference.
(The console doesn't support copy and paste, so I will have to type details, if relevant.) Surprising: The eth0 interface in the guest shows zeroes on all packet numbers, except "TX dropped": this shows 118. When I start more dhclient requests, this number rises. The interface seems to drop all dhcp requests!

I took a look at http://pve.proxmox.com/wiki/Network_Model, but found no help, alas. (No mention of venet and what it means, the relevant passage "Default Configuration (bridged)" doesn't specify if it's about host or guest and no info whatsoever about dhcp setup and how to achieve sth).

How do I make the bridge work? Any thought about the dropped requests?

Thanks in advance for help and insight, n.
 

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!