Univention Bugzilla – Bug 33407
not possible to add multiple ipv4 addresses to an interface
Last modified: 2014-01-29 11:17:33 CET
UMC -> "Basic Settings" -> "Network" -> "edit eth0": the "+" button for ipv4 addresses does not work also check if virtual interface created via UCR are recognized by UMC univention-config-registry set \ interfaces/eth0_0/address=10.200.7.172 \ interfaces/eth0_0/network=10.200.7.0 \ interfaces/eth0_0/broadcast=10.200.7.255 \ interfaces/eth0_0/netmask=255.255.255.0
True, this is a regression!
Error was that multiinput.max was set to undefined instead of Infinity. 2014-01-15-univention-system-setup.yaml
FAIL: 0. Go to UMC → Basis → Network 1. Edit existing interface 2. Add 2nd address 3. Close dialog with "Done" 4. Edit same interface again 5. Just added 2nd address is gone
(In reply to Philipp Hahn from comment #3) > FAIL: > 0. Go to UMC → Basis → Network > 1. Edit existing interface > 2. Add 2nd address > 3. Close dialog with "Done" > 4. Edit same interface again > 5. Just added 2nd address is gone Yes, this happended because multiinput.max was set to 1 (triggered by onchange events) which removed those values. To fix this I had to split the wizard into two wizards which are called after each other.
The change has been reverted. It's now possible to set multiple IPv4 addresses on every interface type. The backend validation catches when multiple IPv4 addresses are set on a non-ethernet interface.
OK: Only code rmoved in base/univention-system-setup/umc/js/setup/InterfaceWizard.js OK: aptitude install '?source-package(univention-system-setup)?installed' OK: Ethernet supports multiple IPv4 and IPv6 addresses OK: vlan/bridge/bond only support multiple IPv6 addresses, but only a single IPv4. OK: virtual interface created via UCR are recognized by UMC OK: announce_errata -V 2014-01-15-univention-system-setup.yaml FOLLOW-UP: Bug #33986
http://errata.univention.de/ucs/3.2/32.html