Solved

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

Posted on 2011-02-21
4
800 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

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…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

617 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