LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-21-2004, 11:19 AM   #1
jfranks214
Member
 
Registered: Feb 2004
Distribution: OpenBSD, FreeBSD
Posts: 70

Rep: Reputation: 15
probably simple, gateway issue?


SUSE server 8.

How do I add a gateway to the ifconfig info for eth0?

The box can ping it's own subnet, but is unable to reach any of the others. I assume I need to add a gateway, but I can't seem to figure out how.
 
Old 04-21-2004, 12:19 PM   #2
mandeltuete
Member
 
Registered: Mar 2003
Location: Switzerland
Distribution: Fedora 3
Posts: 75

Rep: Reputation: 15
You need route to do that:
# route add default gw <IP_of_the_gateway>

HTH
 
Old 04-21-2004, 12:26 PM   #3
jfranks214
Member
 
Registered: Feb 2004
Distribution: OpenBSD, FreeBSD
Posts: 70

Original Poster
Rep: Reputation: 15
thank you thank you

worked like a charm.

Jonathan
 
Old 05-11-2004, 10:51 AM   #4
jfranks214
Member
 
Registered: Feb 2004
Distribution: OpenBSD, FreeBSD
Posts: 70

Original Poster
Rep: Reputation: 15
hey,

we just rebooted and the route was lost. What file do I configure this in so that it's permanent?


thx...

Jonathan
 
  


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
Simple SMS/MMS/WAP Gateway gus2 Linux - Software 1 02-05-2006 11:42 AM
simple problem to a big issue avimd Linux - Laptop and Netbook 1 06-25-2005 06:33 AM
DHCP and gateway routing problems (simple noob problem) michaelsanford Linux - Networking 4 04-13-2005 02:17 PM
Simple Gateway Question caps_phisto Linux - Networking 7 02-28-2005 06:51 AM
Simple Samba issue cockblocker Linux - Software 3 07-06-2003 10:49 PM


All times are GMT -5. The time now is 09:39 PM.

Main Menu
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