Thursday, 25 June 2015

Assigning Static IP to Linux Server used for vicidial

Step-3 Start the Procedure

I have no machine and also m not interested , i will use the Vmware and will use the ISO image to configure my Machine which we have discussed earlier.

here we go login with root in Centos and check the version and bits

After Login just enter the command

uname -a

It will provide you the information
Linux pbx.testing.net 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Means my system is Linux Centos 64 Bit

you just need to do few changes in files which later i will tell you later.

Now you have to login into the machine and  assign a static IP address ( WAN IP) if dialer is static.

Just Login woth root

go to the directory

"cd /etc/sysconfig/network-script"

then do "ls" to check how many interfaces you have on your machine.

you can put the IP address on any interface you want.

Suppose it was ifcfg-etho

then do nano or VI or less any tool you want to edit the file

>>> nano ifcfg-eth0

then set the dynamic to static and save it.

now you should come out of directoty and retsrat the service of network

"service network restart"

Now you can verify the IP by running command
"ifconfig"

it will display all the information of the all the interfaces.



No comments:

Post a Comment