[CentOS] Bind krb5kdc only to eth1 and not also to ppp0

Olaf Mueller

daily-planet at istari.de
Thu Jun 11 13:17:50 UTC 2009


Hello,

if starting /etc/init.d/krb5kdc, kerberos binds to eth1 and the
*current* ip of ppp0.

# netstat -nap | grep :750\\b
udp        0      0 91.9.220.166:750            0.0.0.0:*                              
3180/krb5kdc
udp        0      0 192.168.0.1:750             0.0.0.0:*                              
3180/krb5kdc

# netstat -nap | grep :88\\b
tcp        0      0 0.0.0.0:88                  0.0.0.0:*                  
LISTEN      3180/krb5kdc
udp        0      0 91.9.220.166:88             0.0.0.0:*                              
3180/krb5kdc
udp        0      0 192.168.0.1:88              0.0.0.0:*                              
3180/krb5kdc

Since my internet provider changes the address of ppp0 for every 24
hours and since the last start of /etc/init.d/krb5kdc was 10 days ago
(with the last reboot of my server), kerberos still binds to the old ip
of ppp0.

How can I force krb5kdc to bind *only* to my local address 192.168.0.1
(eth1) and not to bind also to the current ip of ppp0?

Thank you!


regards
Olaf




More information about the CentOS mailing list