首页 > 系统服务 > 详细

ubuntu14.04 的网络配置

时间:2016-05-02 11:36:07      阅读:305      评论:0      收藏:0      [点我收藏+]
  • 为eth0 配置网络

    • 1 vi /etc/network/intefaces

       

    • 添加以下内容

      1   auto eth0
      2   iface eth0 inet static
      3   address 192.168.0.10
      4   netmask 255.255.255.0
      5   gateway 192.168.0.1

       

    • 关闭网络

    • 1  ifdown eth0

       

    • 开启网络 

    • 1 ifup eth0

       

ubuntu14.04 的网络配置

原文:http://www.cnblogs.com/zeopean/p/ubuntu.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!