Last active
March 28, 2017 06:41
-
-
Save rubyon/5cbb0a0cc3a530d467fdabd1d76a0028 to your computer and use it in GitHub Desktop.
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
####### | |
NetWork | |
####### | |
sudo docker network create -d macvlan \ | |
--subnet=192.168.10.0/24 \ | |
--gateway=192.168.10.1 \ | |
-o parent=enp0s25 rubyon | |
################## | |
NetWork With Range | |
################## | |
sudo docker network create -d macvlan \ | |
--subnet=192.168.10.0/24 \ | |
--ip-range=192.168.10.255/25 \ | |
--gateway=192.168.10.1 \ | |
-o parent=enp0s25 rubyon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment