Wondering if i can get netmask in decimal in ifconig -a

From: Himanshu Khona (himanshu.khona_at_patni.com)
Date: 05/14/03

  • Next message: Sanjay Kumar: "How to 80 Gb HDD in Sun Ultra 10 with solaris 8"
    To: <sunmanagers@sunmanagers.org>
    Date: Wed, 14 May 2003 11:56:09 +0530
    
    

    Hey,

    IS there any way whereby i can get ifconfig -a to give me netmask in decimal
    instead of hex.

    TIA, will summarize.
    Himanshu
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Sanjay Kumar: "How to 80 Gb HDD in Sun Ultra 10 with solaris 8"

    Relevant Pages

    • ifconfig.c && netmask
      ... How come that ifconfig prints netmask in hex? ... "inet 127.0.0.1 netmask 0xff000000" ... why 'route get x.x.x.x' gives mask in decimal? ... I'm ok with hex, just want to know.. ...
      (freebsd-net)
    • TCP /IP packet Size
      ... I will summarize. ... TIA ... Systems Adminstrator ... Lucent Technlogies ...
      (SunManagers)
    • Multiple Interfaces
      ... I have two interfaces and the following info in rc.conf. ... ifconfig_fxp1="inet a.c.c.187 netmask 255.255.255.192" ... TIA, ... To unsubscribe, ...
      (freebsd-net)
    • vi question
      ... how do you insert the hex 09 ... character. ... The escape key doesn't do it. ... TIA ...
      (comp.unix.sco.misc)
    • using binary data in variable in an INSERT/UPDATE statement
      ... Or do I need to convert it to hex and then $dbh->quotethe hex ... If I do need to make it hex first do I need to "unhex" it, ... to get it into the original binary format? ... TIA ...
      (perl.dbi.users)