Ubuntu配置双网卡
发布时间:2020-05-22 11:32:33 所属栏目:Ubuntu 来源:互联网
导读:首先关闭网络图形界面 sudo service network-manager stop 然后 sudo vim /etc/network/interfaces 修改里面的内容 # interfaces(5) file used by ifup(8) and ifdown(8)#auto lo#iface lo inet loopbackauto eth0iface eth0 inet
|
首先关闭网络图形界面 sudo service network-manager stop 然后
sudo vim /etc/network/interfaces
修改里面的内容 # interfaces(5) file used by ifup(8) and ifdown(8) #auto lo #iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.119.142 netmask 255.255.255.0 gateway 192.168.119.254 auto eth1 iface eth1 inet static address 192.168.119.145 netmask 255.255.255.0 gateway 192.168.119.254 然后重启网络 sudo /etc/init.d/networking restart (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- Android内核源码 在Ubuntu上下载,编译,安装
- 【环境配置】ubuntu中shell命令不能识别通配符的解决办法之
- ubuntu 查看文件编码并进行批量编码修改
- Ubuntu16.04 python2.7升级python3.5
- lubuntu12.04设置静态IP
- Ubuntu 16.04 安装----搜狗、Chrome、git、JDK、Eclipse
- ubuntu下搭建php开发环境(nginx+(cgi)php5fpm+memcached+x
- Ubuntu 16.04 上使用devstack部署openstack
- Ubuntu修复引导
- Ubuntu的ldconfig详解(解决*.so不是符号连接)
推荐文章
站长推荐
- ubuntu 网络配置修改interface eth0 not configu
- ubuntu 配置java环境变量 修改/etc/environment
- Ubuntu 16.04出现:Problem executing scripts A
- Ubuntu 下 Eclipse 升级方法
- 在Ubuntu中添加和删除PPA的软件源
- ubuntu下sudo 命令执行速度很慢的解决办法
- Ubuntu使用VNC连接windows错误: connection: no
- Ubuntu上手动安装Kubernetes
- 解决Ubuntu的root账号无法登录SSH问题-Permissio
- Ubuntu系统下Android studio编译常见问题和解决方
热点阅读
