ovh proxmox kvm sunucuya ip ayarlamaca

1- once virtual mac yarat panelden sunucuya verecegim ip icin
2- proxmox uzerinde bridged olarak network tanimladiktan sonra kvm makina icin virtual maci mac olarak ver makinaya eth0ina
3- centos kurulumunu yap
4- network ayarlari su sekilde olacak

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
TYPE=Ethernet
UUID=9fc997a3-5feb-4d72-925b-6fad4e991af8
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
IPADDR=171.23.10.199
PREFIX=32
GATEWAY=176.31.104.254
DNS1=8.8.8.8
DNS2=8.8.4.4
DOMAIN=ayoy.net
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=yes
NAME="System eth0"
HWADDR=02:00:00:d4:61:99
IPV6_AUTOCONF=no
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=yes
NETMASK=255.255.255.255
USERCTL=no

NOT: gateway ana proxmox nodun gatewayi olacak
route -n ile ana makinada bakip bulabilirsin

broadcast 255.255.255.255 olacak

5- bi dosya daha elle ekleyecegiz sisteme

nano /etc/sysconfig/network-scripts/route-eth0

176.31.104.254 dev eth0
default via 176.31.104.254 dev eth0

buda gateway icin gerekiyor
baska turlu disari cikmiyor ip

6- service network restart

olduda bitti masallah!