I have configured my network card eth0 to use 3 IPs, such as, and

enter image description here

After network restart, ifconfig is showing only one IP ie, But I can ping between those IPs.

How do I get all binded IPs on eth0?

  • From a terminal, try $ ip addr. What output does that give you? – Aaron Jun 22 '14 at 14:48
  • @BryceAtNetwork23 amazing!! Now I can see all my IPs. Thanks a lot. – Nitheesh Jun 22 '14 at 16:12
  • Excellent! Converting comment to answer... – Aaron Jun 22 '14 at 16:13

From a terminal session, try using ip with addr:

$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:e0:4d:89:99:87 brd ff:ff:ff:ff:ff:ff
    inet brd scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::2e0:4dff:fe89:9987/64 scope link 
       valid_lft forever preferred_lft forever

From the man ip page:

ip - show / manipulate routing, devices, policy routing and tunnels

              - protocol (IP or IPv6) address on a device.

              - label configuration for protocol address selection.
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.