default gateway in unix? | Unix Linux Forums | IP Networking

  Go Back    


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

default gateway in unix?

IP Networking


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-03-2005
smcg smcg is offline
Registered User
 
Join Date: May 2005
Last Activity: 4 May 2005, 8:12 AM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
default gateway in unix?

i'm a real unix newbie, setting up a network, with a router to router vpn connection with a remote site, all the win stuff is talking and pinging and all the stuff it should be doing (yeah and crashing too, lol) but no communication with the unix box, i think the problem is with my default gateway on the unix system. i need to know how i can check this, and how i can set it if necessary. any help would be greatly appreciated.
Sponsored Links
    #2  
Old 05-03-2005
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
 
Join Date: Dec 2003
Last Activity: 13 May 2013, 9:02 AM EDT
Location: Melbourne, Australia
Posts: 2,185
Thanks: 3
Thanked 24 Times in 23 Posts
You can check the default gateway by using the netstat -r command - have a look for a route with destination "default" or "0.0.0.0". You can then add the route if necessary using the route command (man route for info).

Please let us know which OS you're using, as different OS's require different files to be edited to make routing tables persistent across reboots, etc

Cheers
ZB
Sponsored Links
    #3  
Old 05-03-2005
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
 
Join Date: Mar 2005
Last Activity: 20 September 2013, 10:59 AM EDT
Location: Philadelphia metro
Posts: 958
Thanks: 3
Thanked 67 Times in 60 Posts
check the default gateway that's configured on your talking windows box and put that value into whichever file you need to edit (i.e., /etc/defaultrouter for solaris) or however else you get to set the default route on your unix box ...
    #4  
Old 05-04-2005
smcg smcg is offline
Registered User
 
Join Date: May 2005
Last Activity: 4 May 2005, 8:12 AM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
much thanks.

the machine in question is actually running svr4 unix, with galaxy on top of it. when i run the netstat the default gateway is the host name of this machine.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
GNUGK-How to setup static gateway to gateway routing mfondoum Linux 0 08-12-2010 06:54 AM
Help with Default Gateway bbbngowc AIX 7 02-20-2009 01:00 AM
Unix Gateway Config projectit UNIX for Dummies Questions & Answers 6 06-17-2005 03:36 PM
How to add another default gateway salhoub HP-UX 3 03-28-2004 11:55 AM
Modifying IP Address/Gateway/Subnet in SCO Unix PBNOSGT UNIX for Dummies Questions & Answers 12 01-07-2002 11:31 AM



All times are GMT -4. The time now is 12:26 AM.