LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-05-2023, 02:42 AM   #16
Jason.nix
Member
 
Registered: Feb 2023
Posts: 567

Original Poster
Rep: Reputation: 10

Quote:
Originally Posted by JJJCR View Post
try:



then restart network service

and try: ip r | grep default

see how it goes

or try exploring "netplan" see if it works on your distro.

Link: https://www.techrepublic.com/article...en-deprecated/
Hello,
Thank you so much for your reply.
I got the following error:
Code:
# sudo ip route add default via 192.168.88.10 dev enp0s3
Error: Nexthop has invalid gateway.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to be figure out the total Usable IP Addresses using whatmask and adding multiple IP addresses in a text file with a script Shakespearr Linux - Newbie 7 11-02-2018 05:28 PM
multiple IP addresses, 1 NIC: debian woody mix_master_mike Linux - Networking 1 01-11-2004 03:19 AM
Binding multiple IP addresses to a nic card Natalie Linux - Networking 9 08-12-2003 08:27 PM
Multiple addresses for a single NIC grub Programming 1 08-04-2003 02:24 AM
Multiple IP addresses on one NIC hrr Linux - Networking 2 03-07-2003 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration