how to setup static IP address on Hipchat server

I change the /etc/network/interfaces file to static and enter all my network information but after a few minutes it reverts back to DHCP. how can I make my static settings stick

 

Thanks

3 answers

2 votes
Stephen Sifers Community Champion Mar 07, 2016

Looks like there is a specific syntax that is required outside of /etc/network/interfaces. Check this out:

https://confluence.atlassian.com/hc/deploying-hipchat-server-609944387.html#DeployingHipChatServer-configureConfiguringastaticIPaddress

Configuring a static IP address

If you deployed HipChat Server from an OVA image, HipChat Server is running in dynamic host configuration protocol (DHCP) mode (if DHCP is available), and will have its IP address, netmask, gateway, and DNS provided by your DHCP Server.

You can alternatively, manually, assign a static IP address.

If you deployed HipChat Server from an AMI, a static IP address has been configured for you automatically.

When you configure HipChat Server to use a static IP address you must configure all parts of the network, such as the netmask, gateway, and DNS.

To assign an IP address, type the following command:

hipchat network -m static -i <IP> -s <netmask> -g <gateway> -r <DNS>

 

For example:

hipchat network -m static -i 192.168.1.2 -s 255.255.255.0 -g 192.168.1.1 -r 4.4.4.4

 

Note: For more help on the syntax, type:

hipchat network

 

 

Great! thank you for you for the quick response.

Stephen Sifers Community Champion Mar 07, 2016

Glad I could help, if the answer below is correct please mark it so.

Answers marked correct help others when asking the same question.

Thanks!

Start HipChat witch use DHCP Dinamic ip address 87.229.102.74 use OVA image

Loign via SSH and change admin password its OK!

hipchat network --show

Return info

Hostname: hipchat
Domain: aviorgaming.com
IP Address: 87.229.102.74
Public IP Address: 172.24.33.63
Gateway: 87.229.102.254

Its.coorect

hipchat network -m static -i 87.229.102.74 -s 255.255.255.0 -g 87.229.102.254 -r 8.8.8.8

Disable DHCP server

after restart HipChat ip address NOT Correct

Howto use Static IP adrress from OVA image??

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 10, 2018 in Hipchat

What should I think about when migrating HipChat to Slack?

...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...

493 views 1 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you