- 论坛徽章:
- 0
|
如何在freebsd上一块网卡绑定两个地址
原帖由 "lcycc1" 发表:
就是啊,我发这个问题了,便他不linux的那样可以有几个哟
我不知道该如何来处理同一网段的二个IP地址
我明白你意思了,man中有:
- 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.
复制代码
把netmask设为/32就行了,就想你在Linux中的那样(/24),功能一样 |
|