我用的是 FreeBSD 4.6.2,請問如何在將一張網卡設定兩隻 IP?
感謝
我用的是 FreeBSD 4.6.2,請問如何在將一張網卡設定兩隻 IP?
感謝
man ifconfig
alias Establish an additional network address for this interface. This
is sometimes useful when changing network numbers, and one wishes
to accept packets addressed to the old interface. If the address
is on the same subnet as the first network address for this
interface, a non-conflicting netmask must be given. Usually
0xffffffff is most appropriate.
-alias Remove the network address specified. This would be used if you
incorrectly specified an alias, or it was no longer needed. If
you have incorrectly set an NS address having the side effect of
specifying the host portion, removing all NS addresses will allow
you to respecify the host portion.
ifconfig device_node alias xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxxx
example :
ifconfig vr0 alias 192.168.254.90 netmask 255.255.255.255
「遥か昔、正義に生きる悪魔の伝説があった。
剣を取って戦い、悪魔の侵略を退けた魔剣士。
その伝説も、やがて人々の記憶から消えて行った。
だが2000年の時を経て、魔界はより強大になって甦る。
圧倒的なパワーで押し寄せる魔界の軍勢。
本格的な人間界侵攻が始まった…。
再び訪れた人類の危機に一人の男が立ち上がる。
伝説の魔剣士の血を引く悪魔狩人(デビルハンター)、その名はダンテ!」
書籤