Enhancement #2872
System initialization: change default ip addresses
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-base | |||
Target version: | v6.5 | |||
Resolution: | NEEDINFO: | No |
Description
After the first boot the system executes the
The event takes care to initialize the network configuration with the following criteria:
system-init
event.The event takes care to initialize the network configuration with the following criteria:
- the first network interface found is the green one
- if the green network interface has a static ip, just use it
- it he green network interface has a dynamic ip, configure the dynamic ip as static
- otherwise fallback to 192.168.1.100 as green static ip and 192.168.1.1 as green gateway
- green interface with no gateway
- static ip for green interface: 192.168.1.1
Related issues
History
#1 Updated by Giacomo Sanchietti almost 7 years ago
- Status changed from NEW to TRIAGED
- Target version set to v6.5
- % Done changed from 0 to 20
#2 Updated by Giacomo Sanchietti almost 7 years ago
- Description updated (diff)
#3 Updated by Giacomo Sanchietti almost 7 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
#4 Updated by Giacomo Sanchietti almost 7 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
Implementation on branch b2872.
#5 Updated by Giacomo Sanchietti almost 7 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 60 to 70
Package in nethserver-testing:
nethserver-base-2.3.0-3.0git5e4e7afe.ns6.noarch.rpm
nethserver-base-2.3.0-10.0git8f3b0d95.ns6.noarch.rpm
- Install a clean CentOS 6.5
- Temporary enable the network interface with ifconfig command
- Install NethServer:
yum localinstall -y http://pulp.nethserver.org/nethserver/nethserver-release.rpm rpm --import /etc/pki/rpm-gpg/* yum --disablerepo=* --enablerepo=nethserver-base,nethserver-updates,centos-base,centos-updates --releasever=6.5 install @nethserver-iso -y touch /var/spool/first-boot
- Update the nethserver-base package from nethserver-testing (make sure to disable yum plugins)
- Reboot the machine
- After the boot the machine must have a configured network interface with IP 192.168.1.1 and no gateway
- Execute test case 1 but before reboot, configure the network interface with a static ip address using configuration files
- After reboot the machine must have the previously configured IP
- Execute test case 1 but before reboot, configure the network interface with DHCP using configuration files
- After reboot the machine must have an IP from the DHCP server
#6 Updated by Davide Principi almost 7 years ago
- Assignee set to Davide Principi
#7 Updated by Davide Principi almost 7 years ago
- Related to Enhancement #2873: Handle nethserver-firewall-base uninstallation added
#8 Updated by Davide Principi almost 7 years ago
- Status changed from ON_QA to VERIFIED
- Assignee deleted (
Davide Principi) - % Done changed from 70 to 90
#9 Updated by Davide Principi almost 7 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
In nethserver-updates:
nethserver-base-2.4.0-1.ns6.noarch.rpm