The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Route Add sudhir_shet SUN Solaris 3 04-24-2008 09:44 AM
Route add probleme waterboy IP Networking 5 08-17-2007 11:20 AM
Add Route on HP-UX v10.x, help. efrenba HP-UX 4 04-06-2007 08:26 AM
SOLARIS does not route bong02 SUN Solaris 4 06-21-2006 03:58 AM
route add cubicle^dweller AIX 6 10-05-2003 02:32 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-30-2005
agoodrich agoodrich is offline
Registered User
  
 

Join Date: Jun 2005
Location: Minnesota
Posts: 4
Do I need to add a route??

I have two networks connected by cisco routers. My first subnet is 192.168.0.0 and my second is 192.168.1.0.

My SCO unix machine is on the 192.168.1.0 subnet with an IP of 192.168.1.231. It can see the entire .1.0 subnet but nothing on the other network.

My cicso router(gateway) to the other network is 192.168.1.233.

My windows machines all see right over the gateway to the other side the the unix machine does not.. It said no route i believe.

Can anyone help me see the other network?

Thanks,
-Aaron
  #2 (permalink)  
Old 07-01-2005
agoodrich agoodrich is offline
Registered User
  
 

Join Date: Jun 2005
Location: Minnesota
Posts: 4
I got it...

route add 192.168.1.0 192.168.1.233

But how to I save that?? When I reboot its gone.

-Aaron
  #3 (permalink)  
Old 07-01-2005
agoodrich agoodrich is offline
Registered User
  
 

Join Date: Jun 2005
Location: Minnesota
Posts: 4
Woops... I meant to say

route add 192.168.0.0 192.168.1.233
  #4 (permalink)  
Old 07-01-2005
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
you could write it in one of your startscripts....

gP
  #5 (permalink)  
Old 07-01-2005
cleks cleks is offline
Registered User
  
 

Join Date: Jul 2005
Location: Surabaya, Indonesia
Posts: 7
In FreeBSD, you can add in /etc/default/rc.conf
  #6 (permalink)  
Old 07-01-2005
agoodrich agoodrich is offline
Registered User
  
 

Join Date: Jun 2005
Location: Minnesota
Posts: 4
Yeah.. I found that the routes I added are gone this morning after I restarted the machine. I'm using SCO 5... What would my startup files be called? How can I find out what files are being loaded on startup?

And also is there already a file with the default routes in it that I can add this route to?

Thanks,
-Aaron

Last edited by agoodrich; 07-01-2005 at 02:05 PM..
  #7 (permalink)  
Old 07-05-2005
cleks cleks is offline
Registered User
  
 

Join Date: Jul 2005
Location: Surabaya, Indonesia
Posts: 7
Im not familiar with SCO, but ussually the file being loaded in linux is in the /etc/rc.d/init.d, in FBSD in /etc/, /usr/local/etc/rc.d/, in that directory the script will automaticly read and execute the script. maybe you should read the manual of SCO.

As far as i know, if you create rc.local in /etc, that script will automatic execute after system booting.

CMIIW

Last edited by cleks; 07-05-2005 at 11:26 PM..
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:32 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0