Cable Modem DHCP passthrough?

JustaGuy

Renowned Member
Jan 1, 2010
324
2
83
I need a VM to be who gets a DHCP lease from my ISP through a cable modem.

Right now the cable modem gives a lease to ProxmoxVE's NIC which the VM's bridged onto, and the VM's NIC winds up without an address.
 
I need a VM to be who gets a DHCP lease from my ISP through a cable modem.

Right now the cable modem gives a lease to ProxmoxVE's NIC which the VM's bridged onto, and the VM's NIC winds up without an address.

Hi,
do you got a second ip with real hardware if you connect two computer to the port? I have some VMs which are using dhcp from an server outside of the proxmox-host and this run's well.

Udo
 
I need a VM to be who gets a DHCP lease from my ISP through a cable modem.

Right now the cable modem gives a lease to ProxmoxVE's NIC which the VM's bridged onto, and the VM's NIC winds up without an address.

...normally this should work fine, but cable setups are tricky.

Are you sure you have some leases left (sometimes no. of leases are limited
by the cable modem. You need to reset the MAC/leases cache in order to allow a new MAC to receive a lease) if more than one is possible at all.

..can you try with a router as DHCP-Server, connected to the modem?
If your ISP provided you with a router as well, check if the MAC of the router NIC
is bundled with the modem.
 
Hi,
do you got a second ip with real hardware if you connect two computer to the port? I have some VMs which are using dhcp from an server outside of the proxmox-host and this run's well.

Udo

No, that didn't work. The first device connected got the address.
The server outside the host is the ISP.


Are you sure you have some leases left (sometimes no. of leases are limited
by the cable modem. You need to reset the MAC/leases cache in order to allow a new MAC to receive a lease) if more than one is possible at all.

I spoke with the ISP, and verified that I only get 1 lease/address with my current service.

..can you try with a router as DHCP-Server, connected to the modem?

That works fine. With DHCP from either the router or from a VM on the same subnet.
The bridge attached to the PVE NIC0 & the VM NIC0 both get unique addresses from the active DHCP server's pool.

If your ISP provided you with a router as well, check if the MAC of the router NIC is bundled with the modem.

ISP supplied just modem.
I haven't tried to assign any duplicate MAC addresses.
 
I spoke with the ISP, and verified that I only get 1 lease/address with my current service.

1) if you stick with your service level, then...
- in that case you cannot set PVE eth0 to acquire via DHCP, since it will acquire a lease first (because VMs eth0 starts later).
- you should NOT try and assign any IP out of your ISPs range to PVE eth0 AND to one of your VMs connected to the vmbrx of PVE eth0....this could result in a shutdown of your service by your ISP!
...I don't know whether it will work to bring up vmbrx associated with eth0 on your PVE without assigning an IP and have the vmbr0 work ...I'd think you will
be in need of a virtual eth-switch instead, just connecting the physical network layers, not IP layers.
- you will be in need of a second NIC in your PVE in order to access the admin IF
(but I gather from your other posts, that you've got that already - at least for managing/access from inside; if you want access to the PVE from outside, that is a different story then.)

2) enhancing the service to - at least a second lease / IP (I'd even prefer this on a different subnet) would solve your problems without manual intervention, i think.

regards,
P3X-749
 
I see that something like a TAP device does the non-IP type of relay, based on the reading of the above link for basic virtual networking.

I don't understand an awful lot of these concepts & have since determined I should use another configuration using concepts I already have (albeit limited) understanding of.

I have a relatively weak
(Dual Slot 1 Pentium 3 850 MHz / 1G RAM / 500GB IDE)
box that I hope to use as a UTM appliance instead.

I just wanted to not have to since it's 4 rack spaces. :(

Thank you all for taking the time to help me reach this conclusion.

#### EDIT

http://pve.proxmox.com/wiki/Network_Model#Unsupported_Routing
 
Last edited: