ifconfig
command to display system IP address has become obsolete. Currenlty to display an IP address on your RHEL 7 system enter a followng command:
# ip addr show 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 10.1.1.110/8 brd 10.255.255.255 scope global enp0s3 valid_lft forever preferred_lft forever inet6 fe80::a00:27ff:fe15:38b7/64 scope link valid_lft forever preferred_lft foreverFrom the above output we can see that the network interface name is
enp0s3
and the configured IP address for this interface is10.1.1.110
with mask 255.0.0.0
and broadcast IP address is 10.255.255.255
.