Ubuntu 10.10 单网卡多IP设置
2010-12-24 15:53
441 查看
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0 eth0:1 eth0:2
iface eth0 inet static
address 192.168.101.166
netmask 255.255.255.0
network 192.168.101.0
broadcast 192.168.1.255
gateway 192.168.101.1
iface eth0:1 inet static
address 192.168.0.166
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
iface eth0:2 inet static
address 192.168.1.7
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
auto lo
iface lo inet loopback
# The primary network interface
auto eth0 eth0:1 eth0:2
iface eth0 inet static
address 192.168.101.166
netmask 255.255.255.0
network 192.168.101.0
broadcast 192.168.1.255
gateway 192.168.101.1
iface eth0:1 inet static
address 192.168.0.166
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
iface eth0:2 inet static
address 192.168.1.7
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
相关文章推荐
- Linux下单网卡设置双ip,ubuntu设置双IP
- 单网卡设置双IP(ubuntu,debian)
- centos 和 ubuntu 下单网卡设置多个IP
- centos 和 ubuntu 下单网卡设置多个IP
- ubuntu双网卡双IP设置并实现同时访问外网的功能
- Linux下单网卡设置双ip,ubuntu设置双IP
- Ubuntu网卡IP设置
- Ubuntu10.10设置固定ip
- 在 Ubuntu 15.10 上为单个网卡设置多个 IP 地址
- Ubuntu 网卡ip地址设置参考
- Ubuntu单网卡设置多IP
- Ubuntu里网卡IP设置的步骤&/etc/passwd文件
- 给windows和ubuntu单网卡设置双ip…
- Ubuntu里网卡IP设置
- Ubuntu 设置网卡固定IP
- Ubuntu 网卡ip设置 ,dhcp , 自定义,双ip
- 联想Y510P ubuntu14.10双网卡(网卡双IP设置),双显卡设置
- Ubuntu设置固定IP
- Ubuntu中设置固定ip和静态DNS
- Linux操作系统单网卡双IP的设置