diff --git a/router.sh b/router.sh index d69527a..dd77ae9 100644 --- a/router.sh +++ b/router.sh @@ -5,8 +5,11 @@ ip link set up dev enp0s8 ip link set up dev enp0s9 ip link set up dev enp0s10 +ip address flush enp0s8 ip address add 172.17.0.1/24 dev enp0s8 -ip address add 192.168.200.1/24 dev enp0s8 -ip address add 192.168.56.200/24 dev enp0s8 +ip address flush enp0s9 +ip address add 192.168.200.1/24 dev enp0s9 +ip address flush enp0s10 +ip address add 192.168.56.200/24 dev enp0s10 sysctl -w net.ipv4.ip_forward=1 \ No newline at end of file