Skip to content

Instantly share code, notes, and snippets.

View utdrmac's full-sized avatar

Matthew utdrmac

View GitHub Profile
@utdrmac
utdrmac / vip_move
Created August 19, 2014 15:27
vip_move.txt
// If the host with the VIP is up, this removes it
ip addr del 10.20.43.184/32 dev eth2
// Add VIP to new host
ip addr add 10.20.43.184/32 dev eth2
/sbin/arping -c 5 -U -I eth2 10.20.43.184