Sep 20

Ubuntu下网络参数配置 不指定

felix021 @ 2008-9-20 17:48 [IT » 操作系统] 评论(0) , 引用(0) , 阅读(4609) | Via 本站原创 | |
打开配置文件
$ sudo vi /etc/network/interfaces

DHCP参数配置
引用
auto eth0
iface eth0 inet dhcp


Static IP (静态IP)参数配置
引用
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1


Restart the network
$ sudo /etc/init.d/networking restart



欢迎扫码关注:




转载请注明出自 ,如是转载文则注明原出处,谢谢:)
RSS订阅地址: https://www.felix021.com/blog/feed.php
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   *非必须
网址   电邮   [注册]