# hostname wb.example.com.cn
# hostname wb.example.com.cn |
# ifconfig xl0 inet 192.168.1.64 netmask 255.255.255.0 up |
# ifconfig xl0 192.168.1.64 |
# ifconfig xl0 down |
# ifconfig xl0 192.168.100.100 alias
# ifconfig xl0 delete 192.168.100.100 |
# ifconfig -a
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.1.64 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:90:27:4e:f6:67 media: autoselect supported media: autoselect 100baseTX full-duplex> 100baseTX 10baseT/UTP full -duplex> 10baseT/UTP lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 tun0: flags=8050POINTOPOINT,RUNNING,MULTICAST> mtu 1500 sl0: flags=c010POINTOPOINT,LINK2,MULTICAST> mtu 552 ppp0: flags=8010POINTOPOINT,MULTICAST> mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 |
# ifconfig tun0 inet 10.10.1.42 10.10.1.29 |
上一篇:freeBSD初学者入门指南
下一篇:查看 FreeBSD 登陆记录