boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Internet版 - 请教使用router的几台机器怎么强制分配ip
相关主题
Can we use router as switch?
router and cable connnection
a question about the connection of cable/router
关于DSL的混合共享
Yahoo SBC DSL + Router 连接问题
求助:700m的internet设置问题
VOIP 的 adapter 能不能接在 Wireless router 后面?
请教怎样建home network
家里局域网问题求教
如何设置ROUTER?
相关话题的讨论汇总
话题: ip话题: dhcp话题: router话题: some话题: computers
进入Internet版参与讨论
1 (共1页)
s******s
发帖数: 13035
1
因为想对特定的机器打开防火墙, 但是机器的ip 192.168.0.x总是变动
有什么办法吗?
t******g
发帖数: 10390
2
难道不能机器那边强制设置IP吗?
另外我记得dhcp的话,如果lease forever的话,ip应该和mac绑定的吧.
只要机器用同样的网卡介入,ip应该一样的吧.

【在 s******s 的大作中提到】
: 因为想对特定的机器打开防火墙, 但是机器的ip 192.168.0.x总是变动
: 有什么办法吗?

q**u
发帖数: 12289
3
No. DHCP works on a "first come, first serve" basis. "Lease forever" only
ensures that as long as the computer is up, its IP won't change. But if you
shut the computer down, there is no guarantee it will get the same IP the next
time.

【在 t******g 的大作中提到】
: 难道不能机器那边强制设置IP吗?
: 另外我记得dhcp的话,如果lease forever的话,ip应该和mac绑定的吧.
: 只要机器用同样的网卡介入,ip应该一样的吧.

z*****a
发帖数: 9790
4
who said this? Of course you can boundle one specific IP address to one MAC
address in DHCP, which means a guarantee for a computer to get the same IP
address everytime.

next

【在 q**u 的大作中提到】
: No. DHCP works on a "first come, first serve" basis. "Lease forever" only
: ensures that as long as the computer is up, its IP won't change. But if you
: shut the computer down, there is no guarantee it will get the same IP the next
: time.

n****i
发帖数: 547
5
depends on router, some has this function,some not.

【在 s******s 的大作中提到】
: 因为想对特定的机器打开防火墙, 但是机器的ip 192.168.0.x总是变动
: 有什么办法吗?

q**u
发帖数: 12289
6
I did. What I forgot to clarify is that I meant the DHCP server included in
the majority of broadband routers. Sorry for the confusion, but I assumed
that was the pre-condition of the discussion.

you

【在 z*****a 的大作中提到】
: who said this? Of course you can boundle one specific IP address to one MAC
: address in DHCP, which means a guarantee for a computer to get the same IP
: address everytime.
:
: next

C*S
发帖数: 135
7
If your broadband router has an IP space larger than the computers
connected to it (this is the case for almost all home use), AND if
you do not turn off your router, then your computers should have the
same IP every time they power on. This is part of the DHCP protocol.
If your router was power down or rebooted for some reason, then the
DHCP server of it will assign IPs from the starting IP consecutively
according to the "power on sequence" of your computers.
Some routers allow its DHCP to assi

【在 q**u 的大作中提到】
: I did. What I forgot to clarify is that I meant the DHCP server included in
: the majority of broadband routers. Sorry for the confusion, but I assumed
: that was the pre-condition of the discussion.
:
: you

C*S
发帖数: 135
8
Wrong! If the dhcpd has more IPs than computers, and you do not restart it,
the IP assignment is always the same. This is specified by the DHCP protocol.

next

【在 q**u 的大作中提到】
: No. DHCP works on a "first come, first serve" basis. "Lease forever" only
: ensures that as long as the computer is up, its IP won't change. But if you
: shut the computer down, there is no guarantee it will get the same IP the next
: time.

q**u
发帖数: 12289
9
I know what you're saying, which is why I used the term "no guarantee".
Please explain to the original poster why his computer's IP "always changes".

protocol.
you

【在 C*S 的大作中提到】
: Wrong! If the dhcpd has more IPs than computers, and you do not restart it,
: the IP assignment is always the same. This is specified by the DHCP protocol.
:
: next

C*S
发帖数: 135
10
The DHCPd in the router might not 100% follow the protocol. Or maybe
the network card has some problem.

changes".
it,
only
the

【在 q**u 的大作中提到】
: I know what you're saying, which is why I used the term "no guarantee".
: Please explain to the original poster why his computer's IP "always changes".
:
: protocol.
: you

1 (共1页)
进入Internet版参与讨论
相关主题
如何设置ROUTER?
求助:wireless router问题
无线上网问题,迫切求助
求助:如何设置无线router加密?
求救: router好好的就连不出去了
家里猫+router如何改ip?
问一下 router城的 IP Address Reservation
请教可不可以这么连: cable modem-router-hub-computers
可以Modem->hub->computers吗?
请教问题
相关话题的讨论汇总
话题: ip话题: dhcp话题: router话题: some话题: computers