Solved

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

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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
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…

760 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

19 Experts available now in Live!

Get 1:1 Help Now