Author Topic: add alternate netmask to static address config?  (Read 2198 times)

EricBaenen

  • Zen Apprentice
  • *
  • Posts: 15
  • Karma: +2/-0
    • View Profile
add alternate netmask to static address config?
« on: February 25, 2008, 10:11:59 pm »
In eBox Network -> Interfaces... when setting a host interface to a static address, the Netmask is a pull down menu.  If the netmask needed is not in the selection list (in this case 255.255.248.0) - what is the best way of adding it?

Thanks,

Eric

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: add alternate netmask to static address config?
« Reply #1 on: February 26, 2008, 09:44:55 am »
You must edit /usr/share/ebox/templates/network/ifaces.mas and add your desired netmask as follows after line 116:

Code: [Select]
<option value='255.255.248.0'>255.255.248.0</option>

Best regards,
My secret is my silence...