On 12/09/2015 09:51 AM, Cristian Sava wrote:
On Wed, 2015-12-09 at 10:41 +0200, Cristian Sava wrote:
I Installed F23 Server with static address but after updating that it
got an automatic one. Why that? I consider that extremely dangerous.
That was verified and happened on different hardware boxes.
Do I miss something? Does anyone else saw that?
This is what I have (eno1 wired, eth1 not connected):
[root@s217 network-scripts]# ls ifcfg-*
ifcfg-eno1 ifcfg-eth1 ifcfg-lo
[root@s217 network-scripts]# cat ifcfg-eno1
HWADDR=00:1E:67:8B:B9:31
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=eno1
UUID=8daf047d-e944-4305-b47f-6f2104edf9a2
ONBOOT=yes
IPADDR=111.222.333.217
PREFIX=27
GATEWAY=111.222.333.193
DNS1=111.222.333.254
DOMAIN=domain.me
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_PRIVACY=no
[root@s217 network-scripts]# cat ifcfg-eth1
cat: cat: No such file or directory
HWADDR=00:1E:67:8B:B9:30
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=eth1
UUID=0d9c850a-1545-481c-897f-84d4475e0377
ONBOOT=yes
[root@s217 network-scripts]# ip route
default via 172.18.0.1 dev eno1 proto static metric 100
172.18.0.0/16 dev eno1 proto kernel scope link src
172.18.172.146 metric 100
192.168.122.0/24 dev virbr0 proto kernel scope link src
192.168.122.1
111.222.333.193 via 172.18.0.1 dev eno1 proto dhcp metric 100
[root@s217 network-scripts]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel
state DOWN group default qlen 1000
link/ether 00:1e:67:8b:b9:31 brd ff:ff:ff:ff:ff:ff
3: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel
state UP group default qlen 1000
link/ether 00:1e:67:8b:b9:30 brd ff:ff:ff:ff:ff:ff
inet 172.18.172.146/16 brd 172.18.255.255 scope global dynamic
eno1
valid_lft 949sec preferred_lft 949sec
inet6 fe80::21e:67ff:fe8b:b930/64 scope link
valid_lft forever preferred_lft forever
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
state DOWN group default
link/ether 52:54:00:62:c8:4a brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master
virbr0 state DOWN group default qlen 500
link/ether 52:54:00:62:c8:4a brd ff:ff:ff:ff:ff:ff
[root@s217 network-scripts]#
C.S.
Sorry for this copy&paste error
cat: cat: No such file or directory
It is:
[root@s217 network-scripts]# cat ifcfg-eth1
HWADDR=00:1E:67:8B:B9:30
TYPE=Ethernet
...
Might
BOOTPROTO=static
help?
suomi
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org