DHCP Server Configuration

Nicholas

New Member
Dec 14, 2016
1
0
1
25
Alright, so I setup a pve DHCP server that runs webmin to manage our business network. As of right now, all the computers on our network are getting their IP leased from the default subnet 192.168.0.2 - 192.168.0.254. I'm trying to figure out how to get new leases to be taken from 192.168.1.xx, instead of defaulting to the 192.168.0.xx. What changes do I need to make to our subnet in webmin for this to happen? I'm trying to keep the range of 192.168.0.xx for our private computers, while new client computers can connect under the range of 192.168.1.xx.

EDIT 12/14/16:
Alright, I found something on the Redhat forums that solved my problem. So for anyone in the future who runs into this issue, you need a shared network defined if you want to have multiple subnets on the same physical router. Example:

Code:
shared-network name {
    option domain-search            "test.redhat.com";
    option domain-name-servers      ns1.redhat.com, ns2.redhat.com;
    option routers                  192.168.0.254;
    #more parameters for EXAMPLE shared-network
    subnet 192.168.1.0 netmask 255.255.252.0 {
        #parameters for subnet
        range 192.168.1.1 192.168.1.254;
    }
    subnet 192.168.2.0 netmask 255.255.252.0 {
        #parameters for subnet
        range 192.168.2.1 192.168.2.254;
    }
}
 
Last edited:

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!