Redian新闻
>
请教使用router的几台机器怎么强制分配ip
avatar
请教使用router的几台机器怎么强制分配ip# Internet - 有缘千里一线牵
t*i
1
伯牙绝弦,是讲述知音难求的一个故事,俞伯牙与钟子期是一对千古传诵的至交典范。
俞伯牙善于演奏,钟子期善于欣赏。这就是“知音”一词的由来。后钟子期因病亡故,
俞伯牙悲痛万分,认为知音已死,天下再不会有人像钟子期一样能体会他演奏的意境。
所以就“破琴绝弦”,终生不再弹琴了。
avatar
z*n
2
你们不是孤独的,只要反华,我们就给你支持。
所以诸位,政治游戏这种东西,别太当真。
avatar
s*s
3
因为想对特定的机器打开防火墙, 但是机器的ip 192.168.0.x总是变动
有什么办法吗?
avatar
t*g
4
难道不能机器那边强制设置IP吗?
另外我记得dhcp的话,如果lease forever的话,ip应该和mac绑定的吧.
只要机器用同样的网卡介入,ip应该一样的吧.

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

avatar
q*u
5
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应该一样的吧.

avatar
z*a
6
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.

avatar
n*i
7
depends on router, some has this function,some not.

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

avatar
q*u
8
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

avatar
C*S
9
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

avatar
C*S
10
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.

avatar
q*u
11
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

avatar
C*S
12
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

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。