Article 56GM8 Can i/how discover subnet IP format from IP range?

Can i/how discover subnet IP format from IP range?

by
postcd
from LinuxQuestions.org on (#56GM8)
Hello,

i have found the IP range 120.76.0.0 - 120.79.255.255 that i want to ban in iptables the way i write x.x.x.x/xx format. Please how to know what that x.x.x.x/xx should be? I have found some online tool where i enter the range and it return it, but unable, these tools like https://www.calculator.net/ip-subnet-calculator.html only have field for single IP and subnet mask.latest?d=yIl2AUoC8zA latest?i=_8238EQPBmc:xZUIsvhpnJ0:F7zBnMy latest?i=_8238EQPBmc:xZUIsvhpnJ0:V_sGLiP latest?d=qj6IDK7rITs latest?i=_8238EQPBmc:xZUIsvhpnJ0:gIN9vFw_8238EQPBmc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments