add several aliases to different IP addresses so I will be able to ping them by this aliases
But I face with strange behavior that I didn’t see on any other distro that I used to work with before : /etc/hosts file erased after each restart so usual for me way don’t work here . No problem , I tried to use opensuse specific ways (Yast) . But any actions within Network Services -> Hostnames also live only until restart . Changes within Network Devices -> Network Settings persists , but hostname resolution to 127.0.0.2 work also only till restart
Could anyone please advise me how I can solve my two goals ?
while trying to “beat” this issue I change a lot of stuff within Yast->System-> /etc/sysconfig Editor
among them enable/disable Network Manager . So answer is - problem persists for both cases
Remember,
You when you make changes to the Hosts file (using YAST preferably), you also need to make corresponding changes in the Network Device settings… Not only, but most important to disable the option for DHCP to change your machine’s hostname on the network.