Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 810
  • Last Modified:

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

I am trying to assign a static IP to a Linux box Suse v 2.6.  Any help would be greatly appreciated
0
BDManagedServices
Asked:
BDManagedServices
  • 2
1 Solution
 
bmsjeffCommented:
ifconfig eth0 x.x.x.x netmask x.x.x.x up
where x = your IP and subnet address
0
 
rysicCommented:
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
 
BDManagedServicesAuthor Commented:
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
 
BDManagedServicesAuthor Commented:
how about setting a gateway and DNS address?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now