Debian学习手迹-配置IP地址

March 25th, 2007  | Categories: 系统_OS  | Tags:

办公室为固定IP,需要手动配置.

# vi /etc/network/interfaces

添加
auto eth0
iface eth0 inet static
address 192.168.174.26
netmask 255.255.255.192
network 192.168.174.0
gateway 192.168.174.1

# /etc/init.d/networking restart

  1. rene said:

    is it that difficult to digg this?!

Top