0

How can I switch between IP addresses on Ubuntu 18.4. My network card has several IP addresses. How can I, for example, change my IP address automatically every 10 seconds?

2
  • You may not have to do anything. You can see the valid_lft and preferred_lft count down in the output of ip address list, setting up reasonable values is the job of the mechanism that assigned the IP addresses (your router, probably).
    – anx
    Sep 15, 2021 at 13:32
  • Valid lifetime and preferred lifetime of each is forever Sep 15, 2021 at 15:24

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.