Helmut Drodofsky
2015-Feb-27 13:22 UTC
[CentOS] CentOS 7 hand-edit the network configuration files
Helo,
on
http://wiki.centos.org/FAQ/CentOS7
in
3. And what if I want the old naming back?
is written:
/etc/udev/rules.d/60-net.rules seems necessary to override
/usr/lib/udev/rules.d/60-net.rules
According to my experience, the text should be changed to:
/etc/udev/rules.d/70-persistent-net.rules has to describe the naming
rule according to this example:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:00:00:00:00:00", ATTR{type}=="1",
KERNEL=="eth0",
NAME="eth0"
where ATTR{adress} is the HWADDR of the network interface.
Static assignment: GATEWAY has to be configured in /etc/sysconfig/network
--
Viele Gr??e
Helmut Drodofsky
Internet XS Service GmbH
He?br?hlstra?e 15
70565 Stuttgart
Gesch?ftsf?hrung
Dr.-Ing. Roswitha Hahn-Drodofsky
HRB 21091 Stuttgart
USt.ID: DE190582774
Tel. 0711 781941 0
Fax: 0711 781941 79
Mail: info at internet-xs.de
www.internet-xs.de
