Upon installation I have no access to the IP... - CLOSED

Forums > Troubleshooting > Upon installation I have no access to the IP... - CLOSED

Post #1
I complete the iso installation on my proxmox server. It does get IP and set up properly as well. However, when I input the IP address on my LAN I got nothing, it just gets connection time out. I can confirm that IP is being given to RazDC from the main router. Again unsure what happens. Setting up manually also did not help

Post #2
I have come across this issue in proxmox with another user. Proxmox defaults to the interface name "enp0s3" in the hypervisor and assigns "ens18" to the VM. RazDC relies on the enp0s3 interface to function properly. SO it has to be manually renamed until an update pushed to prevent this. Here are the steps:

You must be comfortable with running commands in the linux terminal to run this fix otherwise wait for a patch to be pushed out.

obtain the interace name:

   NIC=`ip  link | awk -F: '$0 !~ "lo|vir|wl|^[^0-9]"{print  $2;getline}'`

Strip whites space from interface name:

   WSNIC="$(echo -e  "${NIC}" | tr -d '[:space:]')"

Obtain MAC address:

   MAC=`cat /sys/class/net/$WSNIC/address`

Copy current interface config to "enp0s3":

   cat  /etc/sysconfig/network-scripts/ifcfg-$WSNIC > /razdc/scripts/ifcfg-enp0s3

Append MAC address to force this config to be associated with "enp0s3":

   echo  'HWADDR="'$MAC'"' >> /razdc/scripts/ifcfg-enp0s3

Replace all instances of the old interface name with "enp0s3" in the new config:

   sed -i  's/'$WSNIC'/enp0s3/g' /razdc/scripts/ifcfg-enp0s3

Create  OLD folder to backup original (but wrong) config:

   mkdir /etc/sysconfig/network-scripts/OLD

MOve original config to the backup "OLD" folder:

   mv /etc/sysconfig/network-scripts/*  /etc/sysconfig/network-scripts/OLD/

Link the RazDC "enp0s3" interface file to the network config location:

   ln -s  /razdc/scripts/ifcfg-enp0s3 /etc/sysconfig/network-scripts/ifcfg-enp0s3

Reboot:

   init 6

Bryan King

Sorry, this topic is not accepting new posts.