个人工具

模板:USJ networking

来自Ubuntu中文

Oneleaf讨论 | 贡献2010年6月25日 (五) 10:19的版本 (以内容'== Set networking parameters == *Set a static IP address for your server. sudo gedit /etc/network/interfaces :and edit the lines to…'创建新页面)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

Set networking parameters

sudo gedit /etc/network/interfaces
and edit the lines to resemble:
# iface eth0 inet dhcp
#
iface eth0 inet static
address 192.168.0.99
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
and restart networking:
sudo /etc/init.d/networking restart