Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to setup static IP address on Hipchat server

GermanALeman March 7, 2016

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
NotTheRealStephenSifersNOPENOPENOPENOPE
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 7, 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

 

 
0 votes
Tibor Fodor June 12, 2016

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

0 votes
GermanALeman March 7, 2016

Great! thank you for you for the quick response.

NotTheRealStephenSifersNOPENOPENOPENOPE
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 7, 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!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events