Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SPOSTARBUST_Widget_Class has a deprecated constructor in /home2/cptech/public_html/wp-content/plugins/spostarbust/index.php on line 386

Deprecated: Function create_function() is deprecated in /home2/cptech/public_html/wp-content/plugins/spostarbust/index.php on line 611

Notice: The called constructor method for WP_Widget in SPOSTARBUST_Widget_Class is deprecated since version 4.3.0! Use
instead. in /home2/cptech/public_html/wp-includes/functions.php on line 4514
How to use arping to bind IP in a Linux Server - A cPanel Tech

How to use arping to bind IP in a Linux Server

arping can be a very handy tool when your main task is to migrate IP addresses across servers. When we migrate IP addresses, the switch or the networking device will cache the information and switch the packets to the old server, and thereby keeping the IP in the new server down.

In such cases, arping command can help.

You need to login to the new server as root and issue the following command so that it forces the device to make the IP resolve from the new server.

 arping -I eth0  -s IPADD -c2 BROADCAST

An example will be

arping -I eth0 -s -c2

Now the IP will start resolving from the new server.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close Menu