I have deployed the sandbox on a remote machine and I need to assign static ip address to the sandbox for remote access. How can I do that?
I followed those steps however I am unable to ssh into into it from a remote machine. ping doesn't work too. FYI, I have a ifcfg-ens33 file instead of the ifcfg-enp0s3
Have you restarted the VM ? (specially the network services) after making the changes?
How are you trying to do the SSH can you please share the exact command and the output whihc you get while doing SSH ?
I have restarted the VM. PFA the output:
ssh firstname.lastname@example.org ssh: connect to host 10.99.162.xx port 22: No route to host
# Generated by dracut initrd NAME="ens33" DEVICE="ens33" ONBOOT=yes NETBOOT=yes UUID="XXXXXXXXXX" IPV6INIT=yes BOOTPROTO=static TYPE=Ethernet IPADDR=10.99.162.XX NETMASK=255.255.254.0
From where did you get the "10.99.162.XX" IP Address which you wanted to make as static?
Can you use the same 172.x.x.x address as "static" instead of defining a completely new range of address?