Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 170565

Configure DHCP for Windows guests and static IP for my host

$
0
0
Hi,

How to configure my Proxmox Server so this one has a static IP and my guests get their IP address by DHCP.
In modifying the /etc/network/interfaces file (cf. below), I managed to have DHCP for my guests but the Proxmox server is also in DHCP.

The eth1 interface is not used, and the network device of my guests is in bridged mode.

===========================
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 170.60.4.245
netmask 255.255.255.0
gateway 170.60.4.1

iface eth1 inet manual

auto vmbr0
iface vmbr0 inet dhcp
bridge_ports eth0
bridge_stp off
===========================

Viewing all articles
Browse latest Browse all 170565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>