Quantcast
Viewing all articles
Browse latest Browse all 4431

Additional IP-Address overwrites old one?

My hosting provider gave me an additional ip-address and now i am trying to add it to my netplan but somehow it is overwriting the main-ip. Here is my netplan:

### Hetzner Online GmbH installimagenetwork:  version: 2  renderer: networkd  ethernets:    enp35s0:      match:        macaddress: 00:50:56:00:F9:3B      addresses:        - 167.235.117.189/32        - 167.235.117.188/24        - 2a01:4f8:2200:21cd::2/64      routes:        - on-link: true          to: 0.0.0.0/0          via: 167.235.117.129        - to: default          via: fe80::1      nameservers:        addresses:          - 185.12.64.1          - 2a01:4ff:ff00::add:2          - 185.12.64.2          - 2a01:4ff:ff00::add:1

the ip ending with .189 is my main ip the other one ending with 188 is my secondary ip. The macaddress "belongs" to the ip ending with .188 .Can somebody help me? Thank u so much!

Edit:After doing what @Terrance told me my new config looks like this:

### Hetzner Online GmbH installimagenetwork:  version: 2  renderer: networkd  ethernets:    enp35s0:      match:        macaddress: 00:50:56:00:F9:3B      addresses:        - 167.235.117.189/32:             label: "enp35s0:0"        - 167.235.117.188/32:             label: "enp35s0:1"        - 2a01:4f8:2200:21cd::2/64      routes:        - on-link: true          to: 0.0.0.0/0          via: 167.235.117.129        - to: default          via: fe80::1      nameservers:        addresses:          - 185.12.64.1          - 2a01:4ff:ff00::add:2          - 185.12.64.2          - 2a01:4ff:ff00::add:1

Viewing all articles
Browse latest Browse all 4431

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>