On Redhat Linux system's the ifconfig command to display system IP address has become obsolete. Currently, to view an IP address on your RHEL 7 system enter the following command:
# ip addr show
# ip a s
2: enp0s3:  mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 08:00:27:15:38:b7 brd ff:ff:ff:ff:ff:ff
    inet brd scope global enp0s3
       valid_lft forever preferred_lft forever
    inet6 fe80::a00:27ff:fe15:38b7/64 scope link 
       valid_lft forever preferred_lft forever
From the above output we can see that the network interface name is enp0s3 and the configured IP address for this interface is with mask and broadcast IP address is Alternatively, follow this link to check your Local and Public IP address directly using your web browser.