Ubuntu网络配置相关相关
2010-10-22 15:30
483 查看
ubuntu:ifconfig
win:ipconfig
查看路由:route -n
重启网络:sudo /etc/init.d/networking restart
修改网络方式:
修改/etc/network/interfaces文件:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.73
netmask 255.255.255.0
#gateway 192.168.1.5
auto eth0:1
iface eth0:1 inet static
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
win:ipconfig
查看路由:route -n
重启网络:sudo /etc/init.d/networking restart
修改网络方式:
修改/etc/network/interfaces文件:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.73
netmask 255.255.255.0
#gateway 192.168.1.5
auto eth0:1
iface eth0:1 inet static
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
相关文章推荐
- ubuntu 网络配置相关
- ubuntu网络配置相关知识(转载)
- Red Hat & CentOS Linux 网络相关配置文件说明
- Ubuntu命令行修改网络配置方法
- Ubuntu中相关开发软件的安装与配置
- Ubuntu NetWork Configure(linux网络配置)
- Ubuntu网络配置管理
- Ubuntu网络配置软件源
- 在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许
- DM3730开发板使用uboot通过网络下载内核和文件系统 ubuntu下配置 TFTP
- 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。
- ubuntu上,用virtualbox,再建ubuntu,配置网络
- 大型企业网络配置系列课程详解(四) --HSRP和VRRP配置与相关概念的理解(一)
- ubuntu网络配置
- Ubuntu命令行修改网络配置方法
- linux下出现ping:unknown host www.baidu.com问题时的解决办法——ubuntu下局域网络的配置
- centos 7 网络DNS设置的相关配置文件配置
- Ubuntu10.10的网络配置