FG
💻 Software

How to determine gateway address when going from DHCP to static IP address with Ubuntu

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

Problem

What's the proper way to determine the computer's gateway when going from DHCP to a static IP. Operating system is Mythbunutu with Ububtu desktop installed. I had previously been editing /etc/network/interfaces, but eventually the computer would stop being able to connect to the Internet (although …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to determine gateway address when going from DHCP to static IP address with Ubuntu

Low Risk

To get your gateway's IP address, use the command with the flag to translate hostnames into IP addresses (or rather, disable DNS lookups on the IP address). The default gateway is the one where the destination is , in this case, . Though I'm wonderi…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment