简体   繁体   中英

Red hat linux broadcast IP address

I am working with 4 different servers. When I run ifconfig on them, they all have the same Bcast IP address.

I am trying to Access each individual server with a different broadcast IP address.

Here is the ifconfig output for one of the servers:

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?

You can not, broadcast address is defined by the size of the IP network. If all 4 servers are on the same subnet, they will all have the same broadcast. The whole purpose of a broadcast address is to, uhm, broadcast :) packets to all the hosts on the subnet, not to address individual hosts.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM