How do I display all configured IPv4 interfaces in solaris 10?



  • # /usr/sbin/ifconfig -a4
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    vmxnet0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet 192.168.1.76 netmask ffffff00 broadcast 192.168.1.255
            ether 0:c:29:58:7e:ba
    

    If your system is IPv6 enabled, "ifconfig -a6" should display information on IPv6 configured interfaces only.



© Lightnetics 2024