Solved

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

Posted on 2011-02-21
4
783 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

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

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

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now