| Summary: | ifup no longer can bring up aliases | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Kelsey Cummings <kgc> |
| Component: | initscripts | Assignee: | Lukáš Nykrýn <lnykryn> |
| Status: | CLOSED WORKSFORME | QA Contact: | qe-baseos-daemons |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0 | CC: | lnykryn, notting |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-14 14:33:20 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Kelsey Cummings
2011-04-28 17:49:17 UTC
What version of initscripts? initscripts-9.03.17-1.el6 I can't reproduce this here:
[root@localhost network-scripts]# rpm -q initscripts
initscripts-9.03.17-1.el6.x86_64
[root@localhost network-scripts]# cat ifcfg-lo:2
DEVICE=lo:2
IPADDR=172.31.4.0
NETMASK=255.255.255.0
ONBOOT=yes
NAME=loopback
After 'service network restart':
[root@localhost network-scripts]# ip addr ls dev lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet 172.31.4.0/24 brd 172.31.4.255 scope global lo:2
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
It functions correctly after a reboot and/or "service network restart" - a service impacting event - presumably because the aliases are brought up at the same time as the parent interface. However, "ifup lo:2" does not bring up the alias. "ifup lo" will correctly bring up it and any other configured aliases. But consider: # cat /etc/sysconfig/network-scripts/ifcfg-lo:1 DEVICE=lo:1 IPADDR=1.1.1.1 NETMASK=255.255.255.248 ONPARENT=no NAME=lo:1 This alias shouldn't be brought up automatically but explicitly with "ifup lo:1". Since RHEL 6.1 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.
Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.
Can you please check this behavior in current initscripts? I have tried your configuration and it seems to work fine:
[root@localhost ~]# rpm -q initscripts
initscripts-9.03.31-2.el6.x86_64
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-lo:1
DEVICE=lo:1
IPADDR=1.1.1.1
NETMASK=255.255.255.248
ONPARENT=no
NAME=lo:1
[root@localhost ~]# ip addr ls dev lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
[root@localhost ~]# ifup lo:1
[root@localhost ~]# ip addr ls dev lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet 1.1.1.1/29 brd 1.1.1.7 scope global lo:1
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
|