IP Aliasing (eth0:1)

IP aliasing like eth0:1 is a legacy mechanism for creating secondary IP address on an interface. Network Manager does not really support it. Alternatively, to add a second IP to an interface, add IPADDR2, PREFIX2 and NETMASK2 in ifcfg-eth0 file.

However, the second ip address is not displayed in "ifconfig". To show the ip address, use "ip addr show command":

# ip addr show
1: lo: mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:0c:29:3a:e6:7d brd ff:ff:ff:ff:ff:ff
inet 192.168.10.128/24 brd 192.168.10.255 scope global eth0
inet6 fe80::20c:29ff:fe3a:e67d/64 scope link
valid_lft forever preferred_lft forever
3: eth1: mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:0c:29:3a:e6:87 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.99/24 brd 192.168.1.255 scope global eth1
inet 10.4.44.128/24 brd 10.4.44.255 scope global eth1
inet6 fe80::20c:29ff:fe3a:e687/64 scope link
valid_lft forever preferred_lft forever