Minh co cach tinh wildcast kha nhanh nhung phai nho anh em kiem chung lai coi co dung khong.
Gia su minh co 1 dia chi IP va subnet mask (vi du 192.168.23.15/26 -> subnet mask 255.255.255.192). Doi subnet mask qua nhi phan la 11111111.11111111.11111111.11000000, sau do nhung bit nao la 1 trong subnet mask thi doi thanh 0, nhung bit nao la 0 thi doi thanh 1: 00000000.00000000.00000000.00111111 ->0.0.0.127
Nhu vay voi dia chi 192.168.23.15/26 thi wildcast la 0.0.0.127
hihihihihi
Gia su minh co 1 dia chi IP va subnet mask (vi du 192.168.23.15/26 -> subnet mask 255.255.255.192). Doi subnet mask qua nhi phan la 11111111.11111111.11111111.11000000, sau do nhung bit nao la 1 trong subnet mask thi doi thanh 0, nhung bit nao la 0 thi doi thanh 1: 00000000.00000000.00000000.00111111 ->0.0.0.127
Nhu vay voi dia chi 192.168.23.15/26 thi wildcast la 0.0.0.127
hihihihihi
Comment