Networking Forums

Networking Forums > Computer Networking > Linux Networking > Do i need to send gratuitous ARP request after restarting network service after online migration.

Reply
Thread Tools Display Modes

Do i need to send gratuitous ARP request after restarting network service after online migration.

 
 
will_u_tellmemore
Guest
Posts: n/a

 
      12-21-2006, 01:35 PM
Hi all,

What i am trying out here is online migration of server process
which has active client connections.
When i move this server process to new node , i want to change IP
address of destination host
to that of source so that clients doesn't know about migration.
I think after migration , and setting new IP address on
destination , i should send gratuitous ARP
request with new ip address and the MAC address of the device on
destination. This should update
arp cache entry for this IP address in all neighbors. And next packet
form client destined to this IP
will be sent to migrated one and not the source one. (which will be
suing different IP now).

Or restarting network service after changing IP address on
destination side would do this for me and i don't need to send any
extra ARP request ?? or i will need to ??

Thanks,
Rohit

 
Reply With Quote
 
 
 
 
will_u_tellmemore
Guest
Posts: n/a

 
      12-21-2006, 01:38 PM
If i need to send ARP request , how to send one ?? is there a utility
that will do it for me or library-call which i can use ?? I have a
kernel module inserted , so can i directly use send_arp function in
linux kernel ?? What is the way to send gratuitous ARP , in much
cleaner way on platforms like linux , Solaris, AIX and BSD ??

 
Reply With Quote
 
jebuskrust@gmail.com
Guest
Posts: n/a

 
      12-21-2006, 09:38 PM
http://su2.info/doc/arpspoof.php

Im not responsible for anything that my incurr after reading this post.
But, im pretty sure that reading the sources of the above link will
help you further your investigation.

Good luck.
will_u_tellmemore wrote:
> If i need to send ARP request , how to send one ?? is there a utility
> that will do it for me or library-call which i can use ?? I have a
> kernel module inserted , so can i directly use send_arp function in
> linux kernel ?? What is the way to send gratuitous ARP , in much
> cleaner way on platforms like linux , Solaris, AIX and BSD ??


 
Reply With Quote
 
Robert
Guest
Posts: n/a

 
      12-21-2006, 10:32 PM
On Thu, 21 Dec 2006 06:35:06 -0800, will_u_tellmemore wrote:

> Hi all,
>
> What i am trying out here is online migration of server process
> which has active client connections.
> When i move this server process to new node , i want to change IP
> address of destination host
> to that of source so that clients doesn't know about migration.
> I think after migration , and setting new IP address on
> destination , i should send gratuitous ARP
> request with new ip address and the MAC address of the device on
> destination. This should update
> arp cache entry for this IP address in all neighbors. And next packet
> form client destined to this IP
> will be sent to migrated one and not the source one. (which will be
> suing different IP now).
>
> Or restarting network service after changing IP address on
> destination side would do this for me and i don't need to send any
> extra ARP request ?? or i will need to ??


Here is what I would do if moving a service from one server to another.

1. Edit DNS record for service and change TTL to 30
(this ensure that the record isn't cached too long so once services are
moved the clients will goto the correct server)

2. Move said service to new server

3. Edit DNS record and change IP Address to new server and set default
TTL

You don't need to do anything with ARP that will happen automatically.


--

Regards
Robert

Smile... it increases your face value!


----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: windows server 2003 restarting (rpc service failing) James Yeomans BSc, MCSE, MCITP Windows Networking 0 03-30-2009 09:27 PM
Windows ME doesn't seem to send out DHCP request Alexander Skwar Wireless Networks 0 10-02-2005 11:42 AM
FYI: My experience of UK Online and my migration from Wanadoo Morgan Broadband 10 05-07-2005 08:59 AM
How to send Gratuitous ARP ? Rajesh Gupta Windows Networking 0 10-08-2004 06:04 PM
Request to Send Threshold Geoff Lane Home Networking 0 10-16-2003 09:43 AM



1 2 3 4 5 6 7 8 9 10 11