[opensuse] hosts file and Yast
Hi, I have a stupid application that reads /etc/hosts and uses the IP-address where an alias is placed as the address to listen for requests. This is fine when there is only one IP-address on the machine. My server has two net-cards and thus two IP-addresses. One goes to the Internet, the other to the internal net. Unfortunately, everytime I change something in the network-card configuration the external IP-address gets the alias. That's not what I want. If I edit hosts to be like this : ... 192.168.0.1 box1.local.net box1 192.168.1.1 box1.local.net If I change something in the network-card configuration with Yast, hosts ends up like this : ... 192.168.0.1 box1.local.net 192.168.1.1 box1.local.net box1 Is there a way to tell Yast to give the alias to the internal address ? I use Suse 10.2 B.T.W. I hope this makes sense. Thanks for any help you could provide. -- Met vriendelijke groeten, Koenraad Lelong R&D Manager ACE electronics n.v. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Koenraad Lelong