Hi Juan, First, "255.0.0.0" in "10.0.0.0/255.0.0.0" means the subnet mask and has the same meaning with "8". "8" is just formatted in the prefix representation.
And, when your get without the mask, like "10.0.0.0", the subnet mask "255.255.255.0"(="32" in the prefix representation) is just omitted for the readability. So, you can set the netmask other than 32. Thanks, Iwase On 2017年03月01日 15:54, Juan Francisco Guano wrote: > Hi everybody > > I know, if this value is correct when I set a rule in a REST FIREWALL, this > directly linked with the netmask, if I set a rule for the IP Address and your > netmask ;10.0.0.2/8 <http://10.0.0.2/8>, when I get the rules the IP address > is the below; .... "nw_dst": "10.0.0.0/255.0.0.0 > <http://10.0.0.0/255.0.0.0>".... what is the meaning of that? I cant set any > rule with a different netmask of 32? for example I set the rule for the IP > Address and your netmask ;10.0.0.1/32 <http://10.0.0.1/32> and I get a rule > without any mask;.... "nw_dst": "10.0.0.1".... > Please any explanation is welcome.. > > Regards > > Juan > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
