[英]Red hat linux broadcast IP address
I am working with 4 different servers. 我正在使用4个不同的服务器。 When I run ifconfig
on them, they all have the same Bcast IP address. 当我在它们上运行ifconfig
时,它们都具有相同的Bcast IP地址。
I am trying to Access each individual server with a different broadcast IP address. 我正在尝试使用不同的广播IP地址访问每个服务器。
Here is the ifconfig
output for one of the servers: 这是其中一台服务器的ifconfig
输出:
eth0 Link encap:Ethernet HWaddr 00:50:56:B6:5D:DF
inet addr:172.17.100.233 Bcast:172.17.103.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12032390 errors:0 dropped:0 overruns:0 frame:0
TX packets:11808161 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1372473451 (1.2 GiB) TX bytes:1902411861 (1.7 GiB)
Is there a way to change the broadcast IP address on each individual server? 有没有办法更改每个单独服务器上的广播IP地址?
You can not, broadcast address is defined by the size of the IP network. 您不能,广播地址是由IP网络的大小定义的。 If all 4 servers are on the same subnet, they will all have the same broadcast. 如果所有4台服务器都在同一子网上,则它们将具有相同的广播。 The whole purpose of a broadcast
address is to, uhm, broadcast :) packets to all the hosts on the subnet, not to address individual hosts. broadcast
地址的整个目的是将数据包广播到子网中的所有主机,而不是寻址单个主机。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.