Getting ip to sync with master