Hi All, This is the process which I use to change an IP of a sipx box.
How to change IP address for the SipXecs Server 1.1 Edit the file /etc/sysconfig/network-scripts/ifcfg-eth0 (assuming eth0 is your Ethernet card) - ensure GATEWAY var is set 1.2 Check Default Gateway. route -n 2.1 edit /etc/hosts file - BE SURE to have the main fqdn (e.g. sipxecs-01.domain.com) as the first entry after the ip - then aliases after that (e.g. sipxecs-01) 2.2 edit /etc/sysconfig/network - ensure HOSTNAME(fqdn) and GATEWAY are BOTH set correctly 3.1 edit /etc/resolv.conf and update BOTH Search Domain and dns server ip's 3.2 edit dns zone file in /var/named/xxxxx.zone 4. edit /etc/dhcpd.conf file. Need to do this before restarting sipXecs services. 5. Restart network services using service network restart 6.1 In the web interface under 'Servers', change the expected Hostname and IP address of the Primary Server 6.2 Send all profiles and restart affected services. 7. You'll also need to regenerate and resend the phone profiles. 8. Edit DNS Forward and Reverse Zone Records on windows server if using Windows DNS 9. Edit tftp ip on DHCP Settings if using Windows DHCP 10. /System/Domain/ - edit OUT the old IP and edit IN the new IP into allowed SIP Domains for incoming calls 11. /System/Servers/ServerName/Configure/UNTick EVERYTHING/Apply/Restart all Services 12. /System/Servers/ServerName/Configure/Tick EVERYTHING/Apply/Restart all Services 13. /System/Servers/ServerName/NAT/Ensure all STUN/IP/Port information is correct 14. Restart Linux completely to be sure. 15. Check Service status 16. Check /Diagnostics/Configuration Tests Page - ALL TESTS 17. Check /Diagnostics/DNS Advisor/ - RUN 18. Make any required firewall changes to border firewall 19. Make any required NAT changes to border firewall 20. vi /etc/sipxpbx/sipxconfig-netif - and Edit the line "IpAddress=192.168.1.42" to the new/correct ip 21. Edit both DHCP config and DNS zones as required to accommodate the moved IP 22. grep -r "192.168.1.42" /etc/sipxpbx/ (Where 192.168.1.42 is the old ip - EXAMPLE ONLY) The information contained in this email and any attachments may be confidential. This email and any attachments are also subject to copyright. No part of them may be reproduced, adapted or transmitted without the written permission of the copyright owner. If you are not the intended recipient, any use, interference with, disclosure or copying of this information is unauthorised and prohibited. If you have received this email in error, please immediately advise the sender by return email and delete the message from your system. All email communications to and from NEXTDC Limited are recorded for the purposes of archival and storage. _______________________________________________ sipx-users mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-users/
