Created 08-28-2018 01:06 AM
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?
Created 08-28-2018 01:25 AM
Do you want something like the one mentioned in the following HCC thread?
https://community.hortonworks.com/questions/79618/25-sandbox-static-ip.html
Created 08-28-2018 01:25 AM
Do you want something like the one mentioned in the following HCC thread?
https://community.hortonworks.com/questions/79618/25-sandbox-static-ip.html
Created 08-28-2018 01:42 AM
Hi,
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
Created 08-28-2018 01:48 AM
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 ?
Created 08-28-2018 01:57 AM
I have restarted the VM. PFA the output:
ssh maria_dev@10.99.162.xx ssh: connect to host 10.99.162.xx port 22: No route to host
cat /etc/sysconfig/network-scripts/ifcfg-ens33
# 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
Created 08-28-2018 02:10 AM
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?
Example:
https://ashfaqshinwary.wordpress.com/2018/04/02/horton-works-assign-static-ip-to-hdp-sandbox-v2-x/
.
Created 08-28-2018 03:03 AM
@Jay Kumar SenSharma I am working on deploying the sandbox in a lab, and I have a few range of ip addresses. What should I do in this case ?