Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Regarding Permanent Routing in Linux servers...Need Help.


    I have observed that, some routers has /16 and some has /24and some has /32 .

    For exaple : via dev eth0 via dev eth0 via dev eth0

    What does these digits means ?

    Please share your knowledge.


  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    The /16, /24 and /32 here are examples for netmasks in classless inter-domain routing notation.
    An IPv4 address is a 32bit number, the familiar four segments (e.g. are just a more human readable representation.
    The netmask tells, how many bits of an IPv4 address shall be used for routing.
    You must always face the curtain with a bow.

  3. #3
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    This may help a little bit: Subnetwork - Wikipedia, the free encyclopedia

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  4. $spacer_open
  5. #4
    Thanks a Lot to all for replying to my question.

    It was a great Help.


  6. #5
    Linux User Krendoshazin's Avatar
    Join Date
    Feb 2005
    London, England
    The /24 and /16 suffixes tell you how many bits are used for the subnet. It's a little complicated to get into as a proper understanding requires you to deal with it on a binary level, but a suffix of /16 would give you a subnet mask of; if you apply this to the address, the router looks at this and then at the subnet mask and sees that anything starting with 192.168 belongs to this network -- thus if you try to send something to from with a subnet of, the router will look at the subnet and then attempt to route it internally on your network.

    This means that by borrowing bits from the network address you can increase the amount of hosts that are available on your network.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts