Configuring your NeXT for a class B network

Posted on June 11, 2004 by Chris Lumens in NeXTSTEP.

At my house, we do networking a little differently. We’ve assigned ourselves each a class C network under the address space, with the router on My assigned network is the block, with my NeXT specifically being Now, I need to set up the machine such that anything for the internal network goes to the internal network, and anything for the outside world goes through the router. You’d think this would be an easy thing to set up using all the graphical tools, but apparently not.

Here’s the sequence of commands I issued to undo the networking when the machine boots up and configuring it to play nice with the home network. At the very least, the first two commands need to be entered in this order.

# route delete
# ifconfig en0 netmask 0xffff0000
# route add net 0
# route add net 1