I am newbie to ubuntu plus kerberos , trying to configure kerberos in my vm ubuntu by i am not able to pass the step 2 in configuring hosts .below are the files. i am in the process of learning so please help .
my problem is when ping localhost i am getting response but when i ping monarch or krb1 i am getting error .
hguna@ubuntu:~$ ping -c1 localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.034 ms
--- localhost ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.034/0.034/0.034/0.000 ms
hguna@ubuntu:~$ ping -c1 monarch
PING ubuntu.spinlock.hr (192.168.7.12) 56(84) bytes of data.
--- ubuntu.spinlock.hr ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
my etc/hosts looks like below
127.0.0.1 localhost
192.168.7.12 ubuntu.spinlock.hr ubuntu krb1.spinlock.hr krb1 monarch.spinlock.hr monarch
my etc/hostname look like below
ubuntu
please helpe me as to where i am doing wrong
note - Both the kerberos server and the client will be installed on the same machine. However, to differentiate between client and server roles, the client will be referred to as monarch.spinlock.hr and the server as krb1.spinlock.hr. in the etc/hosts file