I want to set static IP.
Yast2 -> network setting -> edit connection -> static IP with mask
It work, but I don’t have dns connection.
ping: opensuse.org: Name or service not known
ping 220.127.116.11 is OK
Then I set dhcp, it’s all OK
What should I do for static connection?
Did you define your DNS server(s) with YaST? It is one of the tabs on the same page where you define IP address.
Often your router does provide DNS service also, so try that one. Or the ones given you by your ISP.
Or a more general available one like Googles 18.104.22.168.
I have something like that:
Also I have:
search (MY ISP)
if eth0 is your card
Please post the complete commandline and use Code-Tags:
If you are using an private IP 192.168.x.y please do not mask them, they will not be routed to the bad Internet…
Here is my:
linux64:/home/stephan # cat /etc/sysconfig/network/ifcfg-eth0
And it still does not work?
When not, post
You may need to delete previous connections in your router. When replacing a main board ipv6 worked as before but ipv4 DNS failed. Deleting the information on the client stored on the router fixed the problem: service.avm.de/help/de/FRITZ-Box-Fon-WLAN-7360-avm/014/hilfe_clients
I’m connected to switch and I have public IP. I don’t have access to industrial router .