[ previous ] [ next ] [ threads ]
 
 From:  Vincent FLEURANCEAU <vincent at bikost dot com>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] M0n0wall and public IPs
 Date:  Wed, 30 Jun 2004 13:49:03 +0200
-------- Message original --------

>  
> Does anyone know how many public IP addresses on the WAN m0n0wall can use @
> once?
> 

I guess your ISP give an IP block, so the limit would be the number of 
available IP addresses in that block.

To get it up and running, you need to set up IP aliases.

Step 1 - configure the 'main' IP address via the WAN WebGUI pannel.

Step 2 - Configure other IP addresses (aliases) for the WAN interface:

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

and so on...


Notice: the changes won't be active after a reboot. If you need to makes 
these settings persistent:

1 - Download your the config.xml file

2 - Place custom commands between the <shellcmd> and </shellcmd> tags in
the <system> section

Example :

<shellcmd>/sbin/ifconfig sis0 x.x.x.A netmask 255.255.255.255 
alias</shellcmd>
<shellcmd>/sbin/ifconfig sis0 x.x.x.B netmask 255.255.255.255 
alias</shellcmd>

and so on...

3 - Upload the file back to your m0n0wall box.
4 - reboot and enjoy!


I hope this is what you needed ;-)

-- Vincent