برنامج لعرض معلومات الايبي وتقسيم الشبكة
pip3 install ipaddress
python3 ip_info.py
______________
|| ||
|| ||
|| ||
|| ||
||____________||
|______________|
\############\
\############\
\ ____ \
\_____\___\____\{Hejab Zaeri}
Enter Your IP Address::192.168.1.1
Enter the Bitmask (8-24-30): 24
network address : 192.168.1.0/24
Version IP: IPV4
IP_Bit:11000000.10101000.00000001.00000000
This is prefix will give 256 IP addresses
Network configuration will be :
Netmask_Network: 255.255.255.0
Netmask_Bit:11111111.11111111.11111111.00000000
Hostmask address: 0.0.0.255
Broadcast address : 192.168.1.255
Bitmask MAX : 32
IP Is Global: False
IP Is Private: True
Host IP addresses: from 192.168.1.1 to 192.168.1.254
configuration OK exit [Y/N]?