It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 Leader 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 Leader 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 in Hipchat Cloud

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

33,509 views 7 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you