单网卡设置双IP(ubuntu,debian)
2013-02-06 18:55
423 查看
# This file describes the network interfaces availableon your system
# and how to activate them. For more information, see interfaces(5).
#/etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.116
netmask 255.255.255.0
gateway 192.168.1.2
auto eth0:1
iface eth0:1 inet static
address 192.168.1.135
netmask 255.255.255.0
gateway 192.168.1.2
# and how to activate them. For more information, see interfaces(5).
#/etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.116
netmask 255.255.255.0
gateway 192.168.1.2
auto eth0:1
iface eth0:1 inet static
address 192.168.1.135
netmask 255.255.255.0
gateway 192.168.1.2
相关文章推荐
- Ubuntu里网卡IP设置
- Ubuntu 网卡ip地址设置参考
- centos 和 ubuntu 下单网卡设置多个IP
- debian设置一网卡多IP时的错误
- Ubuntu 网卡ip设置 ,dhcp , 自定义,双ip
- Linux下单网卡设置双ip,ubuntu设置双IP
- 在 Ubuntu 15.10 上为单个网卡设置多个 IP 地址
- Ubuntu 设置网卡固定IP
- centos 和 ubuntu 下单网卡设置多个IP
- 给windows和ubuntu单网卡设置双ip…
- Ubuntu里网卡IP设置的步骤&/etc/passwd文件
- Linux下单网卡设置双ip,ubuntu设置双IP
- debian 系列 ubuntu..让一个网卡支持多个IP
- Ubuntu网卡IP设置
- Ubuntu 10.10 单网卡多IP设置
- Ubuntu单网卡设置多IP
- 联想Y510P ubuntu14.10双网卡(网卡双IP设置),双显卡设置
- ubuntu双网卡双IP设置并实现同时访问外网的功能
- ubuntu设置IP
- C#设置网卡信息(IP,子网掩码,网关,DNS)