Solved

How do I assign a static IP to a linux box suse 2.6

Posted on 2011-02-21
4
792 Views
Last Modified: 2013-12-15
I am trying to assign a static IP to a Linux box Suse v 2.6.  Any help would be greatly appreciated
0
Comment
Question by:BDManagedServices
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
bmsjeff earned 500 total points
ID: 34946953
ifconfig eth0 x.x.x.x netmask x.x.x.x up
where x = your IP and subnet address
0
 
LVL 5

Expert Comment

by:rysic
ID: 34947387
But it is only temporary sollution. After reboot you loose your IP.
In Suse you can use Yast or you can set data in directory /etc/sysconfig/network/ files (ifcfg-eth0) by editing them.
0
 

Author Comment

by:BDManagedServices
ID: 34947482
I only need it to retain this address long enough to get POP3/IMAP clients to download their data then the box can go away.  
0
 

Author Comment

by:BDManagedServices
ID: 34947596
how about setting a gateway and DNS address?
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to rebuild XFS volume from LV 19 90
LogmeIn using Linux Ubuntu 16.04 6 63
Syslog-ng works. Now what? How to filter and manage? 8 64
Linux MD5 Hash 7 42
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question