|
楼主 |
发表于 2010-2-27 08:04:55
|
显示全部楼层
Post by huangxmooo;2071819
不要说2个,再多都行, 下面就给一块网卡设置了3个IP:
auto eth1
iface eth1 inet static
address *.*.*.98
network *.*.*.96
gateway *.*.*.97
netmask 255.255.255.240
broadcast *.*.*.111
auto eth1:1
iface eth1:1 inet static
address *.*.*.99
network *.*.*.96
netmask 255.255.255.240
broadcast *.*.*.111
auto eth1:2
iface eth1:2 inet static
address *.*.*.100
network *.*.*.96
netmask 255.255.255.240
broadcast *.*.*.111
如果设置IPTABLE防火墙规则,用一张网卡,设置两个IP。可以用NAT表么? |
|