LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-11-2003, 04:35 PM   #1
ChineseElite
Member
 
Registered: Jun 2002
Posts: 31

Rep: Reputation: 15
Static IP Config in SuSE


Hi...

I am having trouble configuring my SuSE box to have a static IP... it can ping others on the network but cannot get past the firewall... The IP is not filtered, and DHCP doesnt work...

Any ideas?
 
Old 01-11-2003, 06:43 PM   #2
ChineseElite
Member
 
Registered: Jun 2002
Posts: 31

Original Poster
Rep: Reputation: 15
bump
 
Old 01-11-2003, 08:52 PM   #3
eallen
LQ Newbie
 
Registered: Jan 2002
Distribution: Suse Linux 7.3 - 8.1
Posts: 22

Rep: Reputation: 15
Which version of SuSE are you running? Can you describe your problem a little more? This sounds like it might be a gateway issue. Post the results of the command "ifconfig" (you have to be root to do it) I have a lot of experience w/ SuSE and IP, Firewall, Gateway issues.
 
Old 01-11-2003, 09:22 PM   #4
ktaylo58
LQ Newbie
 
Registered: Nov 2002
Location: Detroit, MI USA
Distribution: SuSE 8.2
Posts: 27

Rep: Reputation: 15
if, say, you have only 1 ethernet card, and it's eth0,

in /etc/sysconfig/network/ifcfg-eth0
set the lines
IPADDR=the ip address you want
BOOTPROTO=static
STARTMODE=onboot

then run SuSEconfig
 
Old 01-12-2003, 01:54 AM   #5
ChineseElite
Member
 
Registered: Jun 2002
Posts: 31

Original Poster
Rep: Reputation: 15
Hmm

I found the problem, same thing would happen if the web DNS servers went down... Anyway. I can browse the internet via IP address, and it is because SuSE doesnt want to let me put the DNS search IP's in. How could I do this?

Last edited by ChineseElite; 01-12-2003 at 01:58 AM.
 
Old 01-12-2003, 08:43 AM   #6
eallen
LQ Newbie
 
Registered: Jan 2002
Distribution: Suse Linux 7.3 - 8.1
Posts: 22

Rep: Reputation: 15
If you are running a newer version of SuSE then you can go into YAST2 and click on "Network/Basic" and then on "Network Card Configuration" Click on "Change" under "Already configured devices" and then select your network card and click "edit" You will then be able to click on "Host name and Name server" You may have to unclick the option that says "Update name servers and search list via dhcp" to allow you to type in your DNS servers. These instructions are for SuSE 8.1 but any version from 7.3 on shoud be similar.
 
Old 01-12-2003, 10:40 PM   #7
ChineseElite
Member
 
Registered: Jun 2002
Posts: 31

Original Poster
Rep: Reputation: 15
Nope, I tried that, however I fixed it...

/etc/resolv.conf

Added the nameservers and it works fine
 
  


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 config static routes? mikezang Linux - Networking 4 10-31-2005 10:29 AM
how to config. network settings for having a static ip with a router kkeith Linux - Newbie 2 10-19-2005 05:00 AM
eth0 static config for Sarge net install Peff Linux - Networking 1 07-04-2005 07:30 AM
eth0 can't get IP with DHCP, static config. attempts can't ping pdt677 Linux - Networking 6 03-06-2005 09:53 PM
Static Network config for PCMCIA NIC in RH 7.2 jboo Linux - Networking 1 01-29-2002 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:25 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