To change the IP address of a working system: - Notify your Bicom Systems account manager about the changes and provide your new IP and MAC address. In this example, we'll use the following: 192.168.1.5/255.255.255.0
- If using CentOS:
- Login to the system shell as a root user
- Edit the eth0 configuration file
nano /etc/sysconfig/network-scripts/ifcfg-eth0 system ip address 192.168.1.5 netmask 255.255.255.0
Press 'CTRL + O' Press 'CTRL + X' - If the default gateway needs to be changed, edit '/etc/sysconfig/network' to suit your needs
- Restart the network service
service network restart
- Login to the system shell as a root user
- Edit the net file
nano /etc/conf.d/net config_eth0=( "192.168.1.5 netmask 255.255.255.0 brd 192.168.1.255" ) routes_eth0=( "default gw 192.168.0.1" ) Press 'CTRL + O' Press 'CTRL + X' /etc/init.d/net.eth0 restart
- Login to the system shell as a root user
- Edit the ip file
nano /etc/vservers/$VPSNAME/interfaces/0/ip - Set the new IP address (e.g. 192.168.1.20)
- Exit the editor
Press 'CTRL + O' Press 'CTRL + X' vservers $VPSNAME exec /etc/init.d/net.eth0 restart - Navigate to 'Settings: Protocols: SIP'
- Check that 'Bind Address' is set to the new IP address
- Click on 'Save'
- Stop all services
/opt/pbxware/sh/stop /opt/httpd/sh/stop /opt/pbxware/sh/start /opt/httpd/sh/start
|