Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mark2288

macrumors regular
Original poster
Jan 11, 2006
239
4
Hi all,
I have a problem with my Mac - I have VMWare Fusion installed and it has created two interfaces so my virtual machines can get network access, vmnet1 and vmnet8 (these are listed when I run ifconfig). I'm not using VMWare Fusion now, and need to force these interfaces off - network administrators say I am leaking packets that match the addresses those two interfaces use. Is the command as easy as:

ifconfig vmnet1 down

Or what should I do to forcefully turn off these interfaces so no traffic goes out through them. What should I then do to re-enable them?

Thanks!
 
Is the command as easy as:

ifconfig vmnet1 down

Or what should I do to forcefully turn off these interfaces so no traffic goes out through them. What should I then do to re-enable them?

Thanks!


Since those interfaces are listed when you do ifconfig, then I'm pretty sure that yes, they will be disabled. Don't forget sudo in front of that (sudo ifconfig vmnet1 down). You would then do "sudo ifconfig vmnet1 up" to turn that back on when you want it enabled.

You could also try pinging the VM interface's address when the VM is started, turn the interface off, then ping it again. If the first one succeeds, and the second one fails, you're good.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.