When you run gluster peer probe initially from a host, other peers see the host listed by the IP address of the first interface. A mechanism needs to be provided to allow a user to specify an alternative IP, shortname or FQDN.
It takes IP addresses and FQDN provided the DNS is set up properly. Example: 1) Just after the peer probe: pranith@pranith-VirtualBox:/etc/glusterd$ sudo gluster peer status [sudo] password for pranith: Number of Peers: 1 Hostname: 192.168.1.179 Uuid: 6a220d7d-dc5a-44cb-bee1-14a52dde9e16 State: Peer in Cluster (Connected) 2) Changed the IP to Hostname pranith@pranith-VirtualBox:/etc/glusterd$ sudo gluster peer probe pranith-laptop Probe successful pranith@pranith-VirtualBox:/etc/glusterd$ sudo gluster peer status Number of Peers: 1 Hostname: pranith-laptop Uuid: 6a220d7d-dc5a-44cb-bee1-14a52dde9e16 State: Peer in Cluster (Connected) 3) Changed the Hostname back to IP pranith@pranith-VirtualBox:/etc/glusterd$ sudo gluster peer probe 192.168.1.179 Probe successful pranith@pranith-VirtualBox:/etc/glusterd$ sudo gluster peer status Number of Peers: 1 Hostname: 192.168.1.179 Uuid: 6a220d7d-dc5a-44cb-bee1-14a52dde9e16 State: Peer in Cluster (Connected) pranith@pranith-VirtualBox:/etc/glusterd$