Adicionar server2.sh
This commit is contained in:
9
server2.sh
Normal file
9
server2.sh
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
echo "Router, ok!"
|
||||||
|
|
||||||
|
ip link set up dev enp0s3
|
||||||
|
|
||||||
|
ip address flush enp0s3
|
||||||
|
ip address add 172.17.0.2/24 dev enp0s3
|
||||||
|
|
||||||
|
ip route add default via 172.17.0.1
|
||||||
Reference in New Issue
Block a user