Platform9 Edge Cloud
Latest
Frequently Asked Questions
How To
Solution
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How To Change external IP address of Management Host?
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- How to change external IP address of Management Host?
Environment
- Platform9 Edge Cloud - All Versions
Procedure
- Add a second interface (10.128.143.200) to the Deployment Host.
- Modify the
externalIPfield in the/opt/pf9/airctl/conf/airctl-config.yamlconfiguration file with the new IP address of the management Plane.
/opt/pf9/airctl/conf/airctl-config.yaml
xxxxxxxxxxexternalIp: 10.128.143.200- Make sure that the default route is reachable through the interface which has the new external IP assigned.
- Run configure-localhost which will update the iptables rule with the new management IP address.
Command
xxxxxxxxxxsudo /opt/pf9/airctl/airctl configure-localhost --config /opt/pf9/airctl/conf/airctl-config.yaml- Restart the
HAPROXYdaemon on the airctl host:
Command
xxxxxxxxxxsudo pkill haproxy- Run configure-hosts to update the hosts and re-establish connection with the management plane:
Command
xxxxxxxxxx/opt/pf9/airctl/airctl configure-hosts --config=/opt/pf9/airctl/conf/airctl-config.yaml- Remove the rules corresponding to old IP address:
Example
x
$ sudo iptables -S -t nat $ sudo iptables -t nat -D OUTPUT -d 10.128.145.101/32 -p tcp -m tcp --dport 443 -j DNAT --to-destination 10.128.145.101:8443 $ sudo iptables -t nat -D PREROUTING -d 10.128.145.101/32 -p tcp -m tcp --dport 443 -j DNAT --to-destination 10.128.145.101:8443VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message