LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-17-2008, 12:09 PM   #1
Fournier
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
Cannot setup static IP with openSUSE


Hey all. I'm new to Linux on the desktop. I've set it up on a web server so I'm quite familiar with the command line.

With that aside, I'm having difficulty setting up a static IP address with openSUSE. DHCP is not an option, so I can't connect to the network (and therefore no internet) without setting up the IP address.

In Windows, all I had to do was go into the ethernet card's properties and set the following:

IP Address: 172.20.12.4
Subnet Mask: 255.255.0.0
Default Gateway: 172.18.5.1

Preferred DNS: 172.18.5.1
Secondary DNS: 185.192.108.5

In YaST, under network card settings, I set the IP address, subnet mask and default gateway as above. In /etc/resolv.conf, I added the two DNS entries.

However, I still can't even ping the gateway (172.18.5.1). The way the network is setup, I need to access the gateway and login in order to access the internet.

Does anyone have any suggestions on what I can do to fix this? Any help would be appreciated. Thanks.
 
Old 03-17-2008, 12:15 PM   #2
jsurles
Member
 
Registered: Feb 2007
Location: Katy, TX
Distribution: gentoo, slackware, centos, ESX, gnu/linux
Posts: 34

Rep: Reputation: 15
Quote:
Originally Posted by Fournier View Post
In Windows, all I had to do was go into the ethernet card's properties and set the following:

IP Address: 172.20.12.4
Subnet Mask: 255.255.0.0
Default Gateway: 172.18.5.1

Preferred DNS: 172.18.5.1
Secondary DNS: 185.192.108.5
Okay, I'm sick today.. so maybe my watery feverish eyes and/or mind are tricking me. But isn't the 172.20.0.0/16 network a different network than your gateway of 172.18.5.1?

Could be the cough medicine getting to me.. so beware.
 
Old 03-18-2008, 06:58 AM   #3
Fournier
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Yeah, it's actually set that way. I'm out in the Middle East and this ISP is run entirely by locals and they have to physically see your laptop and adjust the TCP/IP settings in order to connect to the network. Of course, they're only experienced with adjusting it on Windows and will look at you funny if you ask them to adjust the IP settings on Mac or Linux.

Anyone else have any ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
openSUSE static IP does not work, but DHCP does reefa Linux - Hardware 7 12-16-2007 11:35 AM
openSUSE 10.3 static IP does not work, but DHCP does reefa Linux - Networking 5 12-16-2007 05:47 AM
Static mount points in opensuse 10.2 sgmeunier SUSE / openSUSE 5 02-14-2007 04:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:34 AM.

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