|
|
#1 (permalink) Top |
|
Geek Geek Geek!
![]() Join Date: Nov 2005
Age: 24 Male
Posts: 3,467
Times Helpful: 352
My Mood: Fine
Status: Offline
|
Hey guys, I am trying to add a static route (not persistant) using Ubuntu. I am connecting to another network via PPTP that uses the same IP address range as my network. When I connect to a computer that is located on the other network, I need the traffic to go through the VPN gateway, obviously.
In Windows I could just do: route add <destination computer ip> mask 255.255.255.255 <ppp ip address> How would that command translate into UNIX speak? Ta
__________________
"A computer is like air conditioning: it becomes useless when you open windows". ~Linus Torvalds |
|
|
|
|
#2 (permalink) Top |
|
The King
![]() ![]() Join Date: Jan 2004
Age: 18 Male
Posts: 5,255
Times Helpful: 403
My Mood: Drunk
Status: Offline
|
Don't know if this is what you're looking for, but there's a route program in linux anyway. Wtih similar syntax to your example, take a look at that if you haven't already.
__________________
Never trust a program you don't have the source code for. ![]() My website | Powerful Desktop Linux | Linux for human beings | Linux for power users | Linux for ricers |
|
|
|
|
#3 (permalink) Top |
|
Nonconformist Geek
![]() |
To list routes:
Code:
route -n Code:
route add -net 192.168.240.0 netmask 255.255.255.0 gw 192.168.2.1
__________________
See My Desktop | Try Linux | Install Linux | Visit My Server | Support Hardware Forums | Easily rip DVDs in Linux | Remember Everything |
|
|
|
|
#4 (permalink) Top | |
|
Geek Geek Geek!
![]() Join Date: Nov 2005
Age: 24 Male
Posts: 3,467
Times Helpful: 352
My Mood: Fine
Status: Offline
|
Quote:
__________________
"A computer is like air conditioning: it becomes useless when you open windows". ~Linus Torvalds |
|
|
|
|
|
#5 (permalink) Top | |
|
Nonconformist Geek
![]() |
Off Topic:
Quote:
__________________
See My Desktop | Try Linux | Install Linux | Visit My Server | Support Hardware Forums | Easily rip DVDs in Linux | Remember Everything |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| use of static.... | Dambuster | General Hardware | 6 | 17-02-2007 12:24 AM |
| Anti Static ??? | thhancock3 | General Hardware | 8 | 21-09-2006 05:47 PM |
| What is the better route SLI or ATI Crossfire? | efx2003 | Video Cards, Displays and TV Tuners | 7 | 03-05-2006 07:31 PM |
| static ip address | bulldoggibbo1970 | General Software | 1 | 11-05-2005 05:57 PM |