How do I add a broadcast IP to the loopback interface under os/x using ifconfig when my machine has no network?

Posted by bandodeotarios on Server Fault See other posts from Server Fault or by bandodeotarios
Published on 2013-11-12T17:30:07Z Indexed on 2013/11/13 3:57 UTC
Read the original article Hit count: 502

Filed under:
|
|
|
|

I'm new to advanced network administration and I would like to do some testing with UDP broadcasting, so I need a broadcast address on my loopback interface. The machine is offline, in other words, there is no network.

How can I accomplish that through ifconfig without having to buy a switch as one user in the comments suggested. In Linux all i have to do is use 127.255.255.255 and broadcasts work fine without any network or any switch. If I have a network i can just use 255.255.255.255, obviously.

© Server Fault or respective owner

Related posts about networking

Related posts about macosx