LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-01-2021, 12:49 AM   #1
pipobravo
LQ Newbie
 
Registered: Aug 2021
Posts: 1

Rep: Reputation: Disabled
Routing traffic command not working


Hello

I want to route traffic to 192.168.1.100, I have found the two commands below in an other post but non of them works, why ?

OS: Ubuntu 18.04.5

Code:
sudo route delete *
sudo route add 0.0.0.0 mask 0.0.0.0 192.168.1.100
 
Old 08-01-2021, 04:43 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,341

Rep: Reputation: Disabled
The syntax of the command is incorrect. See man route.

Also, please post the exact error message(s) you're getting. Even when a command is syntactically correct, a number of other factors relating to your particular setup could cause it to fail.
 
  


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
IP Routing policies for separating traffic based on ports - not working BhushanPathak Linux - Networking 6 09-17-2014 01:28 AM
Routing return traffic based on the NIC of the incoming traffic? adamk75 Linux - Networking 3 12-11-2011 04:27 AM
Traffic Shaping VoiP using TC (Traffic Control) is this working? Nemus Linux - Networking 0 05-16-2011 01:45 PM
Snort/Base reporting no traffic, Ntop not showing any TCP traffic. a2brute Linux - Security 1 08-10-2009 12:21 PM

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

All times are GMT -5. The time now is 03:54 AM.

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