LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: lordbyorn

Can anybody give me a suggess?Network problem.

[复制链接]
 楼主| 发表于 2003-8-2 14:13:20 | 显示全部楼层
Thanks

I use English, Because I still can not input chinese.
发表于 2003-8-2 14:13:50 | 显示全部楼层

回复: Can anybody give me a suggess?Network problem.

最初由 lordbyorn 发表
I am in LAN,But we should pay 300rmb for a static ip per year.
So our dorm decide just apply one ip addr.But I don't know which is
the best way to do that.
DHCP?IPTABLE? or something else?

first,PLEASE tell us what u want to do .
and... r u CHINESE? then speak chinese, so, perhaps, the people who's not good at english can help u,thx
发表于 2003-8-2 16:07:50 | 显示全部楼层
如果有人手工设置IP在你的范围内,应该也是可以上的吧
好象DHCP本身没有这样的限制功能。

最初由 欧可侠 发表
I am using DHCP to share private IPs with 20 clients. For the security reasons, I also addon the MAC identification via authorization. That is to say, ONLY the registered MACs can use the DCHP server, www, ftp and all other internet services.
发表于 2003-8-2 16:32:06 | 显示全部楼层
最初由 gurulite 发表
如果有人手工设置IP在你的范围内,应该也是可以上的吧
好象DHCP本身没有这样的限制功能。


不是的。可以设定DHCP服务器用MAC来验证对方的机器,如果是“事先登陆”的MAC, 则允许给其发放IP, 也就是允许对方上网。如果发现向DHCP服务器发出IP请求的机器的MAC不在“事先登陆”的MAC列表中,则拒绝发放IP,对方无法取得IP,自然无法上网。
发表于 2003-8-2 16:41:37 | 显示全部楼层

可是如果客房机不用DHCP呢

如果他知道你IP范围,自己设置IP,你会有什么办法吗?
不妨试一试。
发表于 2003-8-2 16:49:39 | 显示全部楼层
你如果想阻止某些计算机上网,和DHCP的使用是两码事。DHCP是为了方便局域网计算机的使用,和安全方面没有太大关系。

如果你向对上网用户进行管理,可以使用iptables,将“事先登陆”的用户MAC通过(pass),其他的MAC一律阻止(Block)。有关iptalbes的详细设定方法,可以查一下以前的精华贴。
发表于 2003-8-2 17:02:04 | 显示全部楼层

纯属好奇

其实block MAC也没有什么用的。
linux下一个ifconfig ether就可以把MAC改掉 ;)
 楼主| 发表于 2003-8-2 17:17:46 | 显示全部楼层

回复: 回复: Can anybody give me a suggess?Network problem.

最初由 stanlogin 发表
first,PLEASE tell us what u want to do .
and... r u CHINESE? then speak chinese, so, perhaps, the people who's not good at english can help u,thx

If I can type chinese, I would be very glad. But fcitx and xcin never work, I tried many times, but .......
So not that I don't like type chinese. Please forgive me.

I am in univ, we use static ip address delievered by our univ(using DHCP). But we have to pay a lot of money as metioned above. So, we decide just apply one ip address. and use my computer as a servier. I think many poeple did that before:p :p :p :p :p :p
发表于 2003-8-2 19:51:07 | 显示全部楼层
What a tough university!!!!
在学校里上网还需要交钱?!
发表于 2003-8-2 21:15:11 | 显示全部楼层

学校现在是最赚钱的地方

过去的好日子已经 ;( 过去了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表