Bug #3381
Network configuration: alias IP overwritten
| Status: | CLOSED | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 100% | |
| Category: | nethserver-base | |||
| Target version: | v6.7 | |||
| Security class: | Resolution: | |||
| Affected version: | v6.7 | NEEDINFO: | No |
Description
When configuring multiple alias IP, an alias could be overwritten if there is a "hole" between existing alias ids.
Steps to reproduce- Open the Network page and create 3 IP aliases
- Delete the second alias
- Create a new alias
- The latest alias will be overwritten
- A new alias must be created
Associated revisions
History
#1
Updated by Giacomo Sanchietti over 5 years ago
- Category set to nethserver-base
- Status changed from NEW to TRIAGED
- Target version set to v6.7
- % Done changed from 0 to 20
#2
Updated by Giacomo Sanchietti over 5 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
See pull request: https://github.com/NethServer/nethserver-base/pull/14
#3
Updated by Giacomo Sanchietti over 5 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
Pull request merged.
#4
Updated by Giacomo Sanchietti over 5 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 60 to 70
Packages in nethserver-testing:
- nethserver-base-2.10.1-1.2.g911d666.ns6.noarch.rpm
- Check the bug is not reproducible
#5
Updated by Giacomo Sanchietti over 5 years ago
- Assignee set to Giacomo Sanchietti
#6
Updated by Giacomo Sanchietti over 5 years ago
- Status changed from ON_QA to VERIFIED
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 70 to 90
After creation of 3 IP aliases:
[root@localhost ~]# db networks show
eth0=ethernet
bootproto=none
device=eth0
gateway=192.168.5.253
hwaddr=08:00:27:77:C3:22
ipaddr=192.168.5.246
netmask=255.255.255.0
onboot=yes
role=green
eth0:0=alias
ipaddr=10.0.0.246
netmask=255.255.255.0
role=alias
eth0:1=alias
ipaddr=10.0.1.246
netmask=255.255.255.0
role=alias
eth0:2=alias
ipaddr=10.0.2.246
netmask=255.255.255.0
role=alias
ppp0=xdsl-disabled
AuthType=auto
Password=
name=PPPoE
provider=xDSL provider
role=red
user=
After deleting:
[root@localhost ~]# db networks show
eth0=ethernet
bootproto=none
device=eth0
gateway=192.168.5.253
hwaddr=08:00:27:77:C3:22
ipaddr=192.168.5.246
netmask=255.255.255.0
onboot=yes
role=green
eth0:0=alias
ipaddr=10.0.0.246
netmask=255.255.255.0
role=alias
eth0:2=alias
ipaddr=10.0.2.246
netmask=255.255.255.0
role=alias
ppp0=xdsl-disabled
AuthType=auto
Password=
name=PPPoE
provider=xDSL provider
role=red
user=
After re-creating, the UI suggests eth0:1:
[root@localhost ~]# db networks show
eth0=ethernet
bootproto=none
device=eth0
gateway=192.168.5.253
hwaddr=08:00:27:77:C3:22
ipaddr=192.168.5.246
netmask=255.255.255.0
onboot=yes
role=green
eth0:0=alias
ipaddr=10.0.0.246
netmask=255.255.255.0
role=alias
eth0:1=alias
ipaddr=10.3.0.246
netmask=255.255.255.0
role=alias
eth0:2=alias
ipaddr=10.0.2.246
netmask=255.255.255.0
role=alias
ppp0=xdsl-disabled
AuthType=auto
Password=
name=PPPoE
provider=xDSL provider
role=red
user=
#7
Updated by Giacomo Sanchietti over 5 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
Released in
- 6.7/nethserver-updates: nethserver-base-2.10.2-1.ns6.noarch.rpm
*7.2/nethserver-testing: nethserver-base-2.10.2-1.93.gbe447b7.ns7.noarch.rpm