FG
💻 Software

Unix: How to "refresh" network connections

Fresh5 days ago
Mar 15, 202627851 views
Confidence Score0%
0%

Problem

I have a VM running Ubuntu and I'm experimenting with the various networking options. The problem I have is that I don't know how to get Ubuntu to "refresh" the network connections after I have "unplugged a network cable" and "plugged in a different one". Only way I get it to work now is to reboot …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Unix: How to "refresh" network connections

Low Risk

You can restart networking as a whole or just the NIC (assuming eth0 - change to match your adaptor name) - as follows: General networking restart NIC restart (on the console - ie: not remotely):

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment