-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.sh
executable file
·19 lines (17 loc) · 995 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash
sudo ifconfig enp0s3:1 192.168.10.1 netmask 255.255.255.0 up
sudo ifconfig enp0s3:2 192.168.10.2 netmask 255.255.255.0 up
sudo ifconfig enp0s3:3 192.168.10.3 netmask 255.255.255.0 up
sudo ifconfig enp0s3:4 192.168.10.4 netmask 255.255.255.0 up
sudo ifconfig enp0s3:5 192.168.10.5 netmask 255.255.255.0 up
sudo ifconfig enp0s3:100 192.168.10.100 netmask 255.255.255.0 up
#sudo ifconfig eth0:1 192.168.10.1 netmask 255.255.255.0 up
#sudo ifconfig eth0:2 192.168.10.2 netmask 255.255.255.0 up
#sudo ifconfig eth0:3 192.168.10.3 netmask 255.255.255.0 up
#sudo ifconfig eth0:4 192.168.10.4 netmask 255.255.255.0 up
#sudo ifconfig eth0:100 192.168.10.100 netmask 255.255.255.0 up
# sudo ifconfig enp0s3:1 10.0.2.1 netmask 255.255.255.0 up
# sudo ifconfig enp0s3:2 10.0.2.2 netmask 255.255.255.0 up
# sudo ifconfig enp0s3:3 10.0.2.3 netmask 255.255.255.0 up
# sudo ifconfig enp0s3:4 10.0.2.4 netmask 255.255.255.0 up
# sudo ifconfig enp0s3:100 10.0.2.100 netmask 255.255.255.0 up