初学Linux 遇到三个问题

由 cashlu 在 07-11-2004 13:29 发表:

初学Linux 遇到三个问题

1.局域网一直设置失败,有四台电脑用一台交换机连在一起,两台电脑装有MandrakeLinux10,XP下局域网工作正常,在MDK下不知道该怎么设置,自动分配IP不行(ping不通任何linux主机或者windows主机),选择手动分配IP,一样不行,哪位能不能就此局域网的方案给我一个详细的配置过程,教教小弟,多谢

2.一个很奇怪的问题,我设置用kppp拨号上网(56k),明显速度比在 xp下慢,但是不用他拨号,在控制中心的“监视联接”里面按底下的“联接”按钮来拨号,上网速度就很正常

3.请问我能不能在终端下敲入命令来拨号和断线,命令怎么写?

多谢~~~~~~~~~~~


由 Snoopy 在 07-11-2004 14:06 发表:


dhcp不行吗 ?


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 cashlu 在 07-11-2004 15:30 发表:


我们没有DHCP服务器阿,只是用交换机连接在一起


由 cashlu 在 07-12-2004 12:27 发表:


请各位帮帮我好吗?


由 cashlu 在 07-12-2004 12:32 发表:


我把两台MDK主机的局域网连接IP为192.168.0.1和192.168.0.2,子网掩码为255.255.255.0,两台电脑的防火墙设置都为关闭,但是怎么样也不能ping对方,如下:

[root@cash cashlu]# ping 192.168.0.2

PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.

From 192.168.0.1 icmp_seq=1 Destination Host Unreachable

From 192.168.0.1 icmp_seq=2 Destination Host Unreachable

From 192.168.0.1 icmp_seq=3 Destination Host Unreachable


由 孙康 在 07-12-2004 12:52 发表:


建议检查步骤:

1。Ping127.0.0.1 可通过么?如果不行,检查你的网络设置。可能出了问题。不然进入第二步骤。

2。为了确定你的Firewall已经完全关闭,输入shorewall stop,然后再ping 192.168.0.2。不然进入第三步骤。

3。输入ifdown eth0 --> ifup eth0,然后再ping看是否可以通过。

如果以上都不行,贴出ifconfig和route -n的讯息再看看。


1  
2学习不能懒!千万不要懒!   
3  
4用Linux的都不是懒惰鬼!   
5  
6一定要常查看“男人”和置顶占子!   
7  

由 cashlu 在 07-12-2004 17:58 发表:


谢谢孙康兄的指教,你说的方法我试了,shorewall stop这个命令好像不能用,是不是写错了?

[root@cash cashlu]# shorewall stop

bash: shorewall: command not found

输入ifdown eth0 --> ifup eth0之后还是没用,以下是我的ifconfig的信息

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:1385 errors:0 dropped:0 overruns:0 frame:0

TX packets:1385 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:96272 (94.0 Kb) TX bytes:96272 (94.0 Kb)

ppp0 Link encap:Point-to-Point Protocol

inet addr:61.6.173.184 P-t-P:61.6.173.2 Mask:255.255.255.255

UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1

RX packets:354 errors:1 dropped:0 overruns:0 frame:0

TX packets:439 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:3

RX bytes:133356 (130.2 Kb) TX bytes:36340 (35.4 Kb)

以下是route -n的信息:

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

61.6.173.2 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0

127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

0.0.0.0 61.6.173.2 0.0.0.0 UG 0 0 0 ppp0

现在有出现了一个

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus