M
M
Mika Slepinin2016-10-18 21:58:05
linux
Mika Slepinin, 2016-10-18 21:58:05

Why does a properly configured network interface only start after a system reboot?

Good evening!
On CentOS 7 I set up an interface with a static ip-address, I set it up absolutely correctly and I'm sure of it. After that I do:
# ifup enp0s3 down
# ifup enp0s3 up
But the interface does not get an ip address. After reboot everything works. What else needs to be done, in addition to the above commands, so that the interface rises without rebooting the entire system?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Daemon23RUS, 2016-10-18
@Daemon23RUS

Попробуй service network restart

Сергей, 2016-10-18
@edinorog

Рискну предположить. Дело не в сетевой. Дело в времени ожидании аренды. По какой-то причине оно различается. Либо, если это кабель сетевой или от провайдера, аренда повторно выдаётся только при "отрубании" сетевого коннекта.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question