LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 12-26-2005, 05:29 PM   #1
elrose
LQ Newbie
 
Registered: Dec 2005
Location: Sonora, CA
Distribution: Slackware / SuSE
Posts: 12

Rep: Reputation: 0
howTo: add ip route


How do i do this =P route add doesn't work!

=[elRose]=
 
Old 12-26-2005, 11:02 PM   #2
Slum
Member
 
Registered: May 2005
Location: Rhode Island, USA
Distribution: Slackware w/ bleeding edge kernel.
Posts: 37

Rep: Reputation: 15
Depends on the route you're trying to achieve. If you're connecting to a VPN through a ppp adapter I suggest trying:

Code:
route add -net <internal network> dev ppp0
Where <internal network> would be something like 172.18.0.0/24

Please be more specific on your request.
 
Old 12-27-2005, 01:44 PM   #3
elrose
LQ Newbie
 
Registered: Dec 2005
Location: Sonora, CA
Distribution: Slackware / SuSE
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks

I got it to work i think. I did route add -net ip.add.ress.here netmask net.ma.sk.here gw gat.ewa.yh.ere and it seems to be working...

=[elRose]=
 
  


Reply


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 07: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 05:34 AM
route add powah Linux - Newbie 4 09-01-2005 03:24 PM
route add robf2301 Linux - Networking 6 03-11-2005 05:06 AM
ip route add ducati620 Linux - Networking 0 06-06-2004 07:11 AM


All times are GMT -5. The time now is 10:56 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration