Hello,
---------------------------------
RESOLVED!
just install isc-dhcp-server.
Thanks guys!
---------------------------------
i have installed PVE 6.1 on debian 10 buster,
but after create a centos VM its show Wired Off and will show error "Connection failed" after tried to connect wire manual.
about the network hardware i have tried all model intel E1000 VirtIO VMware wmxnet3. but not working.
PS. sorry for my bad english
my nat config /etc/network/interfaces :
---------------------------------
RESOLVED!
just install isc-dhcp-server.
Thanks guys!
---------------------------------
i have installed PVE 6.1 on debian 10 buster,
but after create a centos VM its show Wired Off and will show error "Connection failed" after tried to connect wire manual.
about the network hardware i have tried all model intel E1000 VirtIO VMware wmxnet3. but not working.
PS. sorry for my bad english
my nat config /etc/network/interfaces :
Code:
### Hetzner Online GmbH installimage
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp2s0
iface enp2s0 inet static
address 213.239.211.132
netmask 255.255.255.224
gateway 213.239.211.129
# route 213.239.211.128/27 via 213.239.211.129
up route add -net 213.239.211.128 netmask 255.255.255.224 gw 213.239.211.129 dev enp2s0
iface enp2s0 inet6 static
address 2a01:4f8:a1:145::2
netmask 64
gateway fe80::1
auto vmbr0
iface vmbr0 inet static
address 10.10.10.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o enp2s0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o enp2s0 -j MASQUERADE
Last edited: