2

I am trying to automate a procedure in our team in which we must flush the routing table on some machines but what I have noticed is that it flushes the active table as well. This table does not repopulate till we reboot the machine and in many of our situations a reboot is not possible.

Is there a way in which a machine with a statically assigned IP address can repopulate the active routing table without + Reboot + Shutdown

Is there a way to mimic what happens during reboot (which I am not completely sure of what that is, hopefully someone can educate me on this)

Thanks in advance

nGX
  • 224

1 Answers1

-1

On macOS you can issue commands:

ifconfig en1 down
ifconfig en1 up
netstat -r
John
  • 456