Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-13-2004, 08:27 AM   #1
Registered: Dec 2001
Location: Layton, Utah
Distribution: Red Hat 8.0 and Mandrake 9.0
Posts: 85

Rep: Reputation: 15
Help with Route Add command?

We have a Solaris box that is on a separate subnet ( I just installed 2 new RH boxes on the same subnet. All 3 of these boxes are at my CO Location. Here at work we use In order for us to connect properly to the Solaris box, I have to use this route add command. route add

How do I accomplish this with Linux? I get an error when I do it this way. (SIOCADDRT: No such device)

Please help as I need to be able to get to these boxes using an oracle client and webmin.
Old 01-13-2004, 09:19 AM   #2
Senior Member
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
i think
#route add -net gw
will work..
Old 01-13-2004, 09:25 AM   #3
Senior Member
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
sorry.. i cannot understand your question..
if all box are in the same subnet.. routing is unnecessary.. if there are some network segments, what s your gateway?
#route -n
Old 01-13-2004, 10:38 AM   #4
Registered: Oct 2002
Location: At my desk...
Distribution: RedHat, Fedora, Ubuntu
Posts: 344

Rep: Reputation: 30
Ya, plz explain your network a little better. You have not painted a clear picture of your subnets, locations, and the gateways between them.
Old 01-13-2004, 04:12 PM   #5
LQ Newbie
Registered: Dec 2003
Location: Baltimore, MD
Distribution: Debian
Posts: 1

Rep: Reputation: 0
If you're receiving (SIOCADDRT: No such device) errors then the network hasn't been enabled yet. Please copy and paste the output of the command "ifconfig -a".


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do I add a route??? moonmoth Linux - Networking 3 09-04-2005 06:25 AM
I am not able to add a new route to my route table using route command prashanth s j Linux - Networking 2 09-03-2005 04:34 AM
route add powah Linux - Newbie 4 09-01-2005 02:24 PM
route add robf2301 Linux - Networking 6 03-11-2005 04:06 AM
ip route add ducati620 Linux - Networking 0 06-06-2004 06:11 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:41 AM.

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