IPv4地址分为A,B,C,D,E类: A类:1.0.0.0~126.255.255.255,默认子网掩码/8,即255.0.0.0 (其中127.0.0.0~127.255.255.255为环回地址,用于本地环回测试等用途):B类:128.0.0.0~191.255.255.255,默认子网掩码/16,即255.255.0.0:C类:192.0.0.0~223.255.255.255,默认子网掩码/24,即255.255.255.0:D类:224.0.0.0~239.255.255.255,一