2014/09/01

在 Mac 增加 STATIC ROUTE

Candan$ ifconfig en1
en1: flags=8863 mtu 1500
ether xx:xx:xx:xx:xx:xx 
inet6 fe80::fa1e:dfff:fee0:ad95%en1 prefixlen 64 scopeid 0x5 
inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=1
media: autoselect

status: active

Candan$ sudo route add -net 192l168.2.0/24 192.168.1.3
Password:
add net 192.168.2.0: gateway 192.168.1.3


沒有留言:

張貼留言