LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-12-2006, 04:16 PM   #1
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Rep: Reputation: 30
How to set static IP in Suse 10


I need to set a static IP in Suse 10 and am having a bit of trouble. I set the IP in Yast but I then lose that abiltity to go online. I go to Yast > Network devices > network card. I edit the card and give it a static IP and that works fine. I then go to 'Host Name and Name Server' and add the DNS info (151.196.0.38, AND .39) that I get from the router and add it to 'Name Server' 1 and 2. What should I put in the 'Name Search' 1 and 2 boxes?

Whatever I am doing I am doing wrong as I can not go online once I am done. I know that the info is right as I have a WinXP machine set up with a static IP and that one works fine. Thanks.

Todd
 
Old 02-12-2006, 11:26 PM   #2
leandean
Member
 
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon, Debian
Posts: 278

Rep: Reputation: Disabled
Name search is the name of the domain your nameservers are on: xxxxxxxx.com. If, and I assume you are by what you've supplied, you are going to the internet through a router, you give the 'route' the router uses to connect to the outside world: 192.168.3.1 or some such.
 
Old 02-12-2006, 11:53 PM   #3
blahpony
Member
 
Registered: Dec 2005
Location: Rockville MD USA
Distribution: Suse
Posts: 38

Rep: Reputation: 15
Under the router settings in YaST, put in your default gateway. This will be the internal IP of your router. Most likely 192.168.x.x or similiar.
 
Old 02-13-2006, 10:28 PM   #4
Agentvenom
Member
 
Registered: Sep 2005
Distribution: PCLinuxOS 2007 / Suse 10.3
Posts: 228

Rep: Reputation: 30
You can always add your DNS the old fashioned way:

Code:
route add default gw 192.168.0.1
Of course to execute the command you need to be logged in as root. Just substitute whatever gateway you want to add for the 192.168.0.1 (I chose it because it's my router)
 
Old 02-19-2006, 09:50 PM   #5
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Original Poster
Rep: Reputation: 30
So under 'Name Server 1' and 'Name Server 2' I would put 151.196.0.38 and 151.196.0.39 which I got from the router (primary and secondary DNS).

As far as 'Domain Search 1' and 'Domain Search 2' I need the name of the domain that my nameservers are on, this part has me a bit lost. I am using Verizon DSL and you use the form xxxxxxxxxx.com. Can I assume that that would be verizon.net? I am not sure how to handle that part.

Thanks.

Todd
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I set static ip for vpn client firehawk256 Linux - Networking 3 08-09-2005 01:03 AM
How to set a static IP address? dx0r515t Slackware 12 04-17-2005 01:33 PM
FC2 Overriding static if in favor of dhcp system set for static pkraus109 Linux - Networking 8 09-21-2004 11:13 AM
How to set a static IP and DNS server phil1076 Linux - Networking 1 08-19-2003 06:20 PM
How do i set a static ip in Linux SSBN Linux - Networking 1 04-29-2003 09:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration