QUOTE:原帖由 jianghao0726 于 2007-4-2 10:47 发表于 1楼
在debian上一个网卡如何配置两个IP,请大家指教
/etc/network/interfaces :
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.254
auto eth0:0
iface eth0:0 inet static
address 192.168.1.2
netmask 255.255.255.0
复制代码
--