D
D
Dr. Robert Ford2017-10-02 17:14:46
linux
Dr. Robert Ford, 2017-10-02 17:14:46

What is the utility for managing server ip addresses?

Hello. There is a VPS with Ubuntu 16.04 on board. How can I quickly bind/unbind an IPv4/IPv6 address from a server's network interface without editing /etc/network/interfaces ?
Binding:
ipscript link 192.168.1.34 eth0
Binding:
ipscript unlink 192.168.1.34 eth0
Something like a python or bash utility. Is there such a thing?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2017-10-02
@Zarom

Perhaps nmcli will help you

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question