Adding virtual interfaces and routes to Macbook Air

Well its pretty similar to doing it on Linux, which is probably no suprise..

to add an IP address to an existing adapter, drop to a shell, and either sudo, or su to root and do

ifconfig en1 inet netmask alias
to add a route do
route add -net
where the first address is the dest route / mask and the 2nd is the gateway...

You can follow any responses to this entry through the RSS 2.0 feed.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This blog is kept spam free by WP-SpamFree.