LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-02-2005, 02:46 PM   #1
Verbal Kint
Member
 
Registered: Apr 2004
Posts: 99

Rep: Reputation: 15
Static IP on Mandrake 9.1


Hello,

I am fairly new to Mandrake 9.1 and I was wondering if someone can tell me how to set a static IP rather than using DHCP? I have searched google but havn't been able to find an answer.

Thanks!
 
Old 05-03-2005, 08:39 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
if u want to use some tool

try

mandrake control center

else

try editing the file

/etc/sysconfig/network-scripts/ifcfg-eth0

regards
 
Old 05-13-2005, 12:21 AM   #3
Verbal Kint
Member
 
Registered: Apr 2004
Posts: 99

Original Poster
Rep: Reputation: 15
I went to edit that that file and this is what was in front of me:

DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes


What am I changing in here to set myself up statically?
 
Old 05-13-2005, 01:40 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
DEVICE=eth0
BOOTPROTO=STATIC
IPADDR=XXXXXXXXX
NETMASK=255.255.255.0
ONBOOT=yes

this wil make it static

u can add the gateway also

GATEWAY=XXXXXXX
 
Old 05-13-2005, 01:21 PM   #5
Verbal Kint
Member
 
Registered: Apr 2004
Posts: 99

Original Poster
Rep: Reputation: 15
Thanks for the tip, I will try it when I go home
 
  


Reply



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
mandrake static route information jeffxor Linux - Networking 1 03-26-2005 03:10 PM
Thunderbird plays static instead of sounds, Mandrake 10.1 saratrice Linux - Hardware 2 03-22-2005 08:44 PM
static-routes in Mandrake 10.0 tallthom Mandriva 1 09-27-2004 12:51 AM
Adding static route in Mandrake 9.2 bloke Linux - Networking 1 02-23-2004 07:38 AM
Rogers@Home How do i use DHCP in Mandrake instead of static Underworld135 Linux - Networking 1 10-17-2001 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:19 PM.

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