This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# NAS IP: 192.168.1.10 in this example | |
# DHCP scope reservation for macvlan: 192.168.1.208/28 (Details below) | |
## Network: 192.168.1.208/28 11000000.10101000.00000001.1101 0000 (Class C) | |
## HostMin: 192.168.1.209 11000000.10101000.00000001.1101 0001 | |
## HostMax: 192.168.1.222 11000000.10101000.00000001.1101 1110 | |
## Hosts/Net: 14 (Private Internet) | |
# Create a macvlan Docker network using eth0 |