Skip to content

Instantly share code, notes, and snippets.

@ChenLiZhan
Created January 23, 2017 04:49
Show Gist options
  • Save ChenLiZhan/09b391b7b2ec5c7c5c79c2f1d7a81e0a to your computer and use it in GitHub Desktop.
Save ChenLiZhan/09b391b7b2ec5c7c5c79c2f1d7a81e0a to your computer and use it in GitHub Desktop.
Note for AWS VPC

Instructions of creating AWS VPC

  • Classes Inter-Domain Routing (CIDR) 用於給用戶分配 IP 位址以及在網際網路上有效地路由 IP 封包的對 IP 位址進行歸類的方法
  • CIDR 是一個按位,並且基於字首位數,用於解釋 IP 位址的標準
  • 假設有一 IP 位址為 A.B.C.D/N,斜線後面的數字 N 即為字首長度,也就是從左到右,被位址塊裡的位址所共享的位的數目。如果有一 IP 位址的前 N 位與一個 CIDR 位址塊的字首相同的話,那麼就說明這個 IP 位址屬於這個 CIDR 位址塊
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment