Bring down WAN interface

Started by Steven-B, Today at 06:31:54 PM

Previous topic - Next topic
Hi All,

I want to bring down the WAN interface intentionally, preferably scripted for something I would like to test in a CARP setup...
I notice that my script is actually doing what it's suppose to do, but for some reason I cannot bring down the WAN interface on the CARP BACKUP system.

Like for example: ifconfig vtnet0 down, the interface goes back up after several seconds... which is not what I want...
I also have been looking and came by configctl interface linkup stop vtnet0 but it results in the same behaviour...

Is there any way to come around this so I can manually decide what interface should be up or down?

Regards,
Steven