For example, I have these hosts from different subnets:
192.168.0.1/27
192.168.0.33/27
192.168.0.65/27
192.168.0.97/27
How can I supernet them together and find the network address and mask? (These will be used in a static routing table)
You want the netmask
command:
$ netmask -c 192.168.0.1/27 192.168.0.33/27 192.168.0.65/27 192.168.0.97/27
192.168.0.0/25