码迷,mamicode.com
首页 > 其他好文 > 详细

对kali2.0的操作—网络的简单配置修改

时间:2015-10-05 23:31:58      阅读:322      评论:0      收藏:0      [点我收藏+]

标签:networking   配置文件   gateway   网络   address   

网卡配置文件:

    /etc/network/interfaces

文件关键内容:

    

auto eth0

iface eth0 inet static        

address 192.168.0.106  

netmask 255.255.255.0      

gateway 192.168.0.1    



DNS的配置:

    /etc/resovl.conf

文件关键内容:

    

domain
nameserver 8.8.8.8
nameserver 114.114.114.114


重启网卡:

    /etc/init.d/networking restart


本文出自 “爱学习的熊孩子” 博客,请务必保留此出处http://molilinzi.blog.51cto.com/8282931/1700287

对kali2.0的操作—网络的简单配置修改

标签:networking   配置文件   gateway   网络   address   

原文地址:http://molilinzi.blog.51cto.com/8282931/1700287

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!