How to change server main or primary IP address: ========================================= To change the main or primary server IP under Linux => as root => edit the IP information in the following files and reboot server: /etc/sysconfig/network /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/hosts If you have any question, please drop me a note and I will help.
Archive for the ‘NETWORK’ Category
Change server main or primary IP address
Posted in LINUX, NETWORK on January 10, 2009 | Leave a Comment »
Change IP of the hosted domain in Cpanel/WHM
Posted in Cpanel, NETWORK on January 1, 2009 | Leave a Comment »
If new set of IP’s was just routed to your VPS make sure to on WHM >> IP Functions >> Rebuild the IP Address Pool. After that you should be able to change IP for your domain through WHM >> Account Functions >> Change Site’s IP Address.
Limit SSH per IP…
Posted in LINUX, NETWORK, SECURITY, tagged LINUX on July 3, 2008 | Leave a Comment »
You can limit ssh using /etc/hosts.deny and /etc/hosts.allow (tcpwrappers). AllowUsers feature in SSH that will limit access per user, and if desired per ip. To enable this edit /etc/ssh/sshd_config (default location on centos servers, this may be different for you). At the very bottom you can add AllowUsers root This will limit access to only [...]
Iperf: How to install and use…
Posted in INSTALLATION, NETWORK on July 2, 2008 | Leave a Comment »
Iperf is a simple command line tool to measure network performance. It can measure both TCP and UDP bandwidth performance. Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of various parameters and UDP characteristics. Iperf reports bandwidth, delay jitter, datagram loss. If you want to measure your PREGINET network connectivity bandwidth [...]
How to change IP address on Linux server…
Posted in LINUX, NETWORK, tagged LINUX on July 2, 2008 | Leave a Comment »
We can easily change by editing the below configuration files as follows. 1. IP /etc/sysconfig/network-scripts/ifcfg-eth0 2. DNS /etc/resolv.conf /etc/hosts 3. Router /etc/sysconfig/network 4. Restart the network /etc/rc.d/init.d/network restart