Ubuntu下网络设定
2016-12-07 11:35
120 查看
工作中经常用到Ubuntu网络设定,以eth0为例,记录网络配置:
首先 ifconfig -a 列出所有网口:
然后进行网络配置,输入内容如下:
auto eth0
iface eth0 inet static
address 172.16.21.123
netmask 255.255.255.0
gateway 172.16.21.254
broadcast 172.16.21.255
最后重启网络
ifconfig 检查是否已经配置好
首先 ifconfig -a 列出所有网口:
然后进行网络配置,输入内容如下:
auto eth0
iface eth0 inet static
address 172.16.21.123
netmask 255.255.255.0
gateway 172.16.21.254
broadcast 172.16.21.255
最后重启网络
ifconfig 检查是否已经配置好
相关文章推荐
- Ubuntu下摄像头设定 || 网络 || 远程桌面查看
- VMware下ubuntu14.04安装和网络设定
- ubuntu 8.04安装网络配置
- ubuntu之路——网络升级
- Ubuntu命令行修改网络配置方法
- Ubuntu下设置常见网络服务指南
- Ubuntu中某些程序无法打开网络共享文件
- Ubuntu 8.0.4简单网络配置
- Ubuntu系统网络应用服务器Apache配置基础
- Visual C# 2008+SQL Server 2005 数据库与网络开发――3.2.2 对象初始值设定项
- Ubuntu网络IP设置
- 被ubuntu7.10搞疯,下为网络资料搜集
- ubuntu中如何访问局域网中的网络邻居
- Freebsd 6.2中关于无线网络的设定
- ubuntu 命令行方式配置网络
- [导入][Tips] 在Ubuntu下限制本机使用的网络带宽
- ubuntu 网络配置
- ubuntu的网络连接管理
- Ubuntu 命令行修改网络配置方法