Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Assign ip address to the sandbox on a remote machine

Solved Go to solution

Assign ip address to the sandbox on a remote machine

New Contributor

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?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Assign ip address to the sandbox on a remote machine

Super Mentor

@Sahil M

Do you want something like the one mentioned in the following HCC thread?

https://community.hortonworks.com/questions/79618/25-sandbox-static-ip.html

6 REPLIES 6

Re: Assign ip address to the sandbox on a remote machine

Super Mentor

@Sahil M

Do you want something like the one mentioned in the following HCC thread?

https://community.hortonworks.com/questions/79618/25-sandbox-static-ip.html

Re: Assign ip address to the sandbox on a remote machine

New Contributor

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

Re: Assign ip address to the sandbox on a remote machine

Super Mentor
@Sahil M

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 ?

Re: Assign ip address to the sandbox on a remote machine

New Contributor

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
Highlighted

Re: Assign ip address to the sandbox on a remote machine

Super Mentor

@Sahil M

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/

.

Re: Assign ip address to the sandbox on a remote machine

New Contributor

@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 ?

Don't have an account?
Coming from Hortonworks? Activate your account here