|
发表于 2006-3-20 09:06:52
|
显示全部楼层
vi /etc/network/interfaces
- # This file describes the network interfaces available on your system
- # and how to activate them. For more information, see interfaces(5).
- # The loopback network interface
- auto lo
- iface lo inet loopback
- # This is a list of hotpluggable network interfaces.
- # They will be activated automatically by the hotplug subsystem.
- mapping hotplug
- script grep
- map eth0
- # The primary network interface
- iface eth0 inet static
- address 192.168.1.88
- netmask 255.255.255.0
- gateway 192.168.1.1
- network 192.168.1.0
- broadcast 192.168.1.255
- iface eth1 inet static
- address 192.168.2.90
- netmask 255.255.255.0
- gateway 192.168.2.1
- wireless-essid tsunami
- wireless-key s:imanust
- auto eth0
- auto eth1
复制代码
Post by ppajiandan
改网关,配置ip,和修改dns的文件在那里!怎么修改!比如说我要修改我的电脑里面的网络配置为:
ip:10.21.30.211
子网码:255.255.255.0
网关:10.20.30.254
dns:202.103.44.5
要改成上面这样该怎么 改!改那里! |
|