固定网络设置记录不了网关,直接改interfaces也无效

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
头像
hethe
帖子: 3666
注册时间: 2005-08-01 9:14

固定网络设置记录不了网关,直接改interfaces也无效

#1

帖子 hethe » 2005-10-02 23:43

网络设置记录不了网关,sudo kcmshell kcm_knetworkconfmodule 中(我用的kde),每次改的值一确定。再打开就没有了,而且好像配置文件里面也没有,
而且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
address 127.0.0.1
netmask 255.0.0.0

# 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 58.19.65.78
netmask 255.0.0.0

iface eth1 inet dhcp

auto eth0
直接改interfaces,其中加上gateway 58.19.64.1也无效,
不知何故,盼赐教

另:若gnome哪个配置程序可以解决此问题,也请指明!
Gedanken ohne Inhalt sind leer .Anschauungen ohne Begriffe sind blind.
头像
firehare
帖子: 2625
注册时间: 2005-04-10 16:54
来自: 温州大学
联系:

#2

帖子 firehare » 2005-10-03 13:05

如果是要正常工作的话,可以按以下方式:
address 58.19.65.78
netmask 255.0.0.0
network 58.0.0.0
broadcast 58.255.255.255
gateway 58.29.64.1

不过我觉得不太可能会用A类网络吧,以你的这个配置看,可能也就是B类中的一个子网的可能性比较大点,能告诉我你网关的子网掩码吗?
我心无畏,源自于我心无知。
图片
头像
hethe
帖子: 3666
注册时间: 2005-08-01 9:14

#3

帖子 hethe » 2005-10-03 15:52

那个子网掩码是我从windows抄过来的
不过据说这个网是全校的一个大局域网,所以容量可能是极大的。
附件
aaa.jpg
Gedanken ohne Inhalt sind leer .Anschauungen ohne Begriffe sind blind.
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#4

帖子 eexpress » 2005-10-03 15:57

一般都c类。用a类的要多大的公司啊。学校最多b类。
● 鸣学
头像
hethe
帖子: 3666
注册时间: 2005-08-01 9:14

#5

帖子 hethe » 2005-10-03 16:01

不知道,我们学校想来也就4万多人,反正那个地址是windows在我填了ip后自动补上的,而且的确能够用。
Gedanken ohne Inhalt sind leer .Anschauungen ohne Begriffe sind blind.
头像
firehare
帖子: 2625
注册时间: 2005-04-10 16:54
来自: 温州大学
联系:

#6

帖子 firehare » 2005-10-03 21:57

最好去问一下网管,机器自动补上的原因是该IP属于A类地址!这样自动补上使用的话,会有问题的!
我心无畏,源自于我心无知。
图片
头像
hethe
帖子: 3666
注册时间: 2005-08-01 9:14

#7

帖子 hethe » 2005-10-04 1:25

那先谢谢firehare大哥的答复了,我再想办法去确定。
Gedanken ohne Inhalt sind leer .Anschauungen ohne Begriffe sind blind.
头像
firehare
帖子: 2625
注册时间: 2005-04-10 16:54
来自: 温州大学
联系:

#8

帖子 firehare » 2005-10-04 11:02

不客气,论坛是大家交流、讨论的地方嘛!
我心无畏,源自于我心无知。
图片
回复