Problem with static ip address ?
I have installed Suse 12.1 64 bit.
The network is configured with a DHCP so receive an address from my local router. Network seems to work fine in this config – i.e Firefox works.
When I change to configure a static address, using Yast > Network Card Setup with following parameters:
Statically assign IP : say 192.168.2.210 Mask: 255.255.255.0 Host Name: come up automatically with linux-kz53.site And under Routing eneter the local router default i.e 192.168.2.200
This seems to be accepted. i.e with ifconfig see new address / However no actual working internet connection can be obtained ? i.e ping to pc from other pc works, showing new (static) address.
I have seen various loose remarks, that possibly some issue exists with Ver 12.1.
Can anyone please kindly advise how to set a static IP address ? - in a simple step 1,2, ,n fashion please ?
I don’t see where you specified DNS servers; without them pinging by
anything other than IP address will work because an IP address is not
resolved from a DNS name of some sort. Those settings are also under
the Hostname/DNS.
Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
ab mentions one good point… You didn’t specify exactly whether you ping’d by name or IP address, if by name then DNS (and all other name resolution systems including the client machine resolver cache) would be an issue.
Also, if you’re using Network Manager, you might try configuring your static address that way (frankly I haven’t tried it personally but see it as an option now).
You might also try pinging both directions to verify whether the problem is specific to the change you just made or a more basic networking issue.
Thanks for your comment. Yes, I have just entered so DNS entries, for example I have been reading about 8.8.8.8, 8.8.4.4. Well, now it seems to work ! – Obviously, I am not a network engineer.
I have also just looked under my Linksys router status and copied the results into the Yast Network Settings which also work as alternatives to the google indentfiers.
OK – So I have learnt something (1,5 days spent on this issue) and hopefully this information may help others.
Note that this solution (configuring remote DNS eg Google’s) means that although you can resolve Public Internet names, you won’t be able to access any other machines/network resources in your network by name (if it’s not important to you, fine).