ip地址有5种。
A类:1.0.0.0~126.255.255.255
B类:128.0.0.0~191.255.255.255
C类:192.0.0.0~223.255.255.255
D类:224.0.0.0~239.255.255.255
E类:240.0.0.0~254.255.255.255
其中127.0.0.0~127.255.255.255用于环回测试,D类地址用于组播,E类地址用于科研
私有地址
A类:10.0.0.0~10.255.255.255
B类:172.16.0.0~172.31.255.255
C类:192.168.0.0~192.168.255.255