You are viewing the article How to Add or Change Default Gateway on Linux at Tnhelearning.edu.vn you can quickly access the necessary information in the table of contents of the article below.
wikiHow is a “wiki” site, which means that many of the articles here are written by multiple authors. To create this article, 10 people, some of whom are anonymous, have edited and improved the article over time.
This article has been viewed 4,487 times.
The default gateway is the router’s IP address. Normally, the connection port will be automatically found by the operating system during the installation process, but you may need to change it, especially if the computer has many adapters or routers on the network. .
Steps
Using Terminal
- Enter the command sudo route delete default gw IP Address Adapter . For example, to delete the default gateway 10.0.2.2 on the eth0 router, type sudo route delete default gw 10.0.2.2 eth0 .
Edit config file
wikiHow is a “wiki” site, which means that many of the articles here are written by multiple authors. To create this article, 10 people, some of whom are anonymous, have edited and improved the article over time.
This article has been viewed 4,487 times.
The default gateway is the router’s IP address. Normally, the connection port will be automatically found by the operating system during the installation process, but you may need to change it, especially if the computer has many adapters or routers on the network. .
Thank you for reading this post How to Add or Change Default Gateway on Linux at Tnhelearning.edu.vn You can comment, see more related articles below and hope to help you with interesting information.
Related Search: