일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- macos
- Python
- wireshark
- aws
- aws cli
- spring cloud config
- nginx-media-server
- RTMP
- ffmpeg
- kubectl
- golang
- dart
- HLS
- Sysinternals
- Android
- 행정구역분류
- Pod
- ebpf
- service
- configmap
- docker
- Kubernetes
- Shell script
- VSCode
- deployment
- android studio
- Java
- namespace
- Flutter
- Windows10
Archives
- Today
- Total
목록cidr (1)
woonizzooni

CIDR (Classless Inter-Domain Routing) https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing IPv4 CIDR blocks subnetmask입력시 prefix legnth를 구해본다. (CIDR계산 방법 이해 전제하에 작성함) ex) subnetmask가 - "255.255.255.0"이면 24반환 - "299.255.255.0"이면 throws UnknownHostException - "255.255.241.0"이면 -1반환 (비정상 subnetmask) public int convertNetmaskToPfxLength(String subnetmask) throws UnknownHostException { InetAd..
Programming/Java
2019. 6. 13. 15:40