LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Static IP Config in SuSE (https://www.linuxquestions.org/questions/linux-networking-3/static-ip-config-in-suse-41124/)

ChineseElite 01-11-2003 04:35 PM

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?

ChineseElite 01-11-2003 06:43 PM

bump

eallen 01-11-2003 08:52 PM

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.

ktaylo58 01-11-2003 09:22 PM

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

ChineseElite 01-12-2003 01:54 AM

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?

eallen 01-12-2003 08:43 AM

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.

ChineseElite 01-12-2003 10:40 PM

Nope, I tried that, however I fixed it...

/etc/resolv.conf

Added the nameservers and it works fine


All times are GMT -5. The time now is 05:21 PM.