LinuxQuestions.org
Help answer threads with 0 replies.
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 11-21-2003, 04:56 PM   #1
..:eMa:..
Member
 
Registered: Sep 2003
Location: Italy - Milan
Posts: 61

Rep: Reputation: 15
How_Set_Gateway


Hi'

How to sets gateway's address?

Thk!
 
Old 11-21-2003, 05:06 PM   #2
subekk0
Member
 
Registered: Sep 2003
Location: Dallas, TX.
Distribution: Slacking since '94
Posts: 153

Rep: Reputation: 32
pico /etc/rc.d/rc.inet1 or rc.inet1.conf and scroll to the bottom there is a line GATEWAY = ""
 
Old 11-21-2003, 05:28 PM   #3
h3pc4t
Member
 
Registered: Nov 2003
Location: Ithaca, NY
Distribution: Mac OS X, FreeBSD, Slackware
Posts: 52

Rep: Reputation: 15
If you have DHCP, you can just set:

USE_DHCP[interface number]="1"
 
Old 11-21-2003, 05:36 PM   #4
..:eMa:..
Member
 
Registered: Sep 2003
Location: Italy - Milan
Posts: 61

Original Poster
Rep: Reputation: 15
Yeh!
But when I reboot mylinuxbox the route table change.

Mygateway for the 0.0.0.0 is always 0.0.0.0

Why?
 
Old 11-21-2003, 05:45 PM   #5
h3pc4t
Member
 
Registered: Nov 2003
Location: Ithaca, NY
Distribution: Mac OS X, FreeBSD, Slackware
Posts: 52

Rep: Reputation: 15
I'm not sure what you're asking. What's the output of 'netstat --route'?
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:54 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
Open Source Consulting | Domain Registration