[ previous ] [ next ] [ threads ]
 
 From:  Michael Sierchio <kudzu at tenebras dot com>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] M0n0wall and public IPs
 Date:  Wed, 30 Jun 2004 14:22:11 -0700
Fred Wright wrote:
> On Wed, 30 Jun 2004, Vincent FLEURANCEAU wrote:

>>Go to http://m0n0-ip/exec.php and execute:
>>
>>/sbin/ifconfig sis0 x.x.x.A netmask 255.255.255.255 alias
>>/sbin/ifconfig sis0 x.x.x.B netmask 255.255.255.255 alias
> 
> You don't want 32-bit netmasks, you want the appropriate netmasks for the
> addresses.  In most cases this means the same as for the primary address.

Fred -- you should be better informed before "correcting" someone
else's posts.

 From the FreeBSD ifconfig man page:

      alias   Establish an additional network address for this interface.  This
              is sometimes useful when changing network numbers, and one wishes
              to accept packets addressed to the old interface.  If the address
              is on the same subnet as the first network address for this
              interface, a non-conflicting netmask must be given.  Usually
              0xffffffff is most appropriate.