Wireless Access

 View Only
  • 1.  netmasks file

    Posted Aug 03, 2005 07:17 AM
    I am writing a script to work with my netmasks file. I want to know if it is valid to have two entries for the same network with a different subnet mask?

    Can anyone tell me if there a reason why I might see this situation?

    For example seeing the folling lines in the netmasks file:
    10.0.0.0 255.255.255.248
    10.0.0.0 255.255.255.224


  • 2.  RE: netmasks file

    Posted Aug 05, 2005 12:43 AM
    Hi,
    netmask declare a subnet. In your first line, 255.255.255.248 means 8 addresses subnetwork, while 255.255.255.240 means 16 addresses network.
    You can't use different netmask on your host. There are some reason for this and it very long to explain.
    Briefly:
    1) On every network, higher address is used for local broadcast. So you have 10.0.0.15 or 10.0.0.7 as broadcast address. Very confusion.
    2) Any host in 8 addresses subnetwork send socket of its network to gateway, not directly to host
    3) If your gateway is in 8 address network, can't accept outer 8 addresses.

    Antonio Vigliotti


  • 3.  RE: netmasks file

    Posted Aug 08, 2005 11:41 PM
    Hi Kerilyn,
    did you help?

    Antonio Vigliotti