Glam Prestige Journal

Bright entertainment trends with youth appeal.

I setup a ubuntu 20.04 as a server of IOT, multimedia, ... My Network is separated in different VLANS to control where the IOT devices are allowed to talk with.

The Network itself is managed with unify USG3 and mangeds switches.

My current problem is following:

On Ubuntu 20.04 I use netplan to configure the network.

My .yaml for netplan looks like

network: ethernets: enp1s0: dhcp4: no dhcp6: no addresses: - 192.168.1.17/24 gateway4: 192.168.1.1 nameservers: addresses: - 192.168.1.17 search: - roliko.lan version: 2 vlans: enp1s0.100: addresses: - 192.168.100.17/24 gateway4: 192.168.1.1 id: 100 dhcp4: no dhcp6: no link: enp1s0 nameservers: addresses: - 192.168.1.17 search: - roliko.lan enp1s0.200: addresses: - 192.168.200.17/24 gateway4: 192.168.1.1 dhcp4: no dhcp6: no id: 200 link: enp1s0 nameservers: addresses: - 192.168.1.17 search: - roliko.lan

This configuration works, an the computer is availabel with the different ips x.17, y.17 and z.17.

My Problem is, that additional ip adresses can be used.

2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 inet 192.168.1.17/24 brd 192.168.1.255 scope global enp1s0 valid_lft forever preferred_lft forever
3: enp1s0.100@enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.168.100.17/24 brd 192.168.100.255 scope global enp1s0.100 valid_lft forever preferred_lft forever inet 192.168.100.78/24 brd 192.168.100.255 scope global secondary noprefixroute enp1s0.100 valid_lft forever preferred_lft forever
4: enp1s0.200@enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.168.200.17/24 brd 192.168.200.255 scope global enp1s0.200 valid_lft forever preferred_lft forever inet 192.168.200.38/24 brd 192.168.200.255 scope global secondary noprefixroute enp1s0.200 valid_lft forever preferred_lft forever

Entries for .100.78 and .200.38 were created.

Does anybody know this behavior and knows how to configure netplan correct that these DHCP repated addresses are not created?

Thanks in advanced Roland

5

1 Answer

I found out that dhcpd5 was installed. After disabling dhcpd5 the problem was solved.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy