diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-09-08 17:08:04 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-09-08 17:08:04 +0300 |
commit | ae4903a3d25b1d1abdf1861cd2a5fdd2699afd20 (patch) | |
tree | 0e7eefa2f166855169998862557e00257b522ea5 | |
parent | 2b3efa623720cc06c8b09a101970630903b8a75b (diff) | |
download | minipc-router-ae4903a3d25b1d1abdf1861cd2a5fdd2699afd20.tar.gz |
Change eth1, eth2 IP addrs
This avoids having three interfaces (eth1-3) which all have the same
IP range, making routing erratic and this breaks DHCP for example.
-rw-r--r-- | ansible/roles/router/files/interfaces-eth1-eth2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/roles/router/files/interfaces-eth1-eth2 b/ansible/roles/router/files/interfaces-eth1-eth2 index ec57997..721f2ed 100644 --- a/ansible/roles/router/files/interfaces-eth1-eth2 +++ b/ansible/roles/router/files/interfaces-eth1-eth2 @@ -1,11 +1,11 @@ auto eth1 iface eth1 inet static - address 10.0.0.2 + address 10.0.2.1 netmask 255.255.255.0 gateway 10.0.0.255 auto eth2 iface eth2 inet static - address 10.0.0.3 + address 10.0.3.1 netmask 255.255.255.0 gateway 10.0.0.255 |