netstart 不顯示 IPv6
FreeBSD 預設 kernel 會編入 options INET6
這時你若用 netstat -nr 查 Routing tables
在下面會顯示出 Internet6:Destination Gateway Flags Netif Expire
::1 ::1 UH lo0
fe80::%fxp0/64 link#1 UC fxp0
fe80::2d0:b7ff:fe9e:d705%fxp0 00:d0:b7:9e:d7:05 UHL lo0
fe80::%fxp1/64 link#2 UC fxp1
fe80::207:e9ff:fe0a:e33%fxp1 00:07:e9:0a:0e:33 UHL lo0
fe80::%lo0/64 fe80::1%lo0 U lo0
fe80::1%lo0 link#3 UHL lo0
ff01::/32 ::1 U lo0
ff02::%fxp0/32 link#1 UC fxp0
ff02::%fxp1/32 link#2 UC fxp1
ff02::%lo0/32 ::1 UC lo0
這目前沒必要顯示的 IPv6 的資訊
可用參數 -f inet
# netstat -f inet -nr
並可直接在 /etc/csh.cshrc 中設定 Aliases
alias netstat 'netstat -f inet'
免除每次keyin這參數
0 意見:
張貼意見