i use monowall to route sometimes too. just don't use WAN, just add an
optional interface and connect that to a physical nic. routing between
that nic and the LAN is then on by default. in case there's only 2
physical interfaces, i add a vlan, add that as optional interface,
backup the configuration, switch wan and opt1 in the configfile, upload
it again and there's your router :P. destroys any funcionality on the
WAN but makes a router nontheless.. i use this trick to add NAT on LAN
interfaces too. probably not supported but makes monowall a heck of a
lot of fun :)
> Am Donnerstag, 30. März 2006 19:55 schrieb Pasi Leinonen:
>> Can m0n0wall act as a router (not a NAT device)?
>> I have a problem setting up m0n0wall (and yes I have read the manual, faq,
>> googled hours and still dont get it work).
>> My isp gives two networks 220.127.116.11/24 and 18.104.22.168/24 and gatewys
>> 22.214.171.124 and 126.96.36.199. Endusers in lan uses these ip:s,
>> gateway 188.8.131.52 and a mask /20.
> this can not be:
> Address: 184.108.40.206 11010100.10010101.1001 0100.00000000
> Netmask: 255.255.240.0 = 20 11111111.11111111.1111 0000.00000000
> Wildcard: 0.0.15.255 00000000.00000000.0000 1111.11111111
> Network: 220.127.116.11/20 11010100.10010101.1001 0000.00000000
> HostMin: 18.104.22.168 11010100.10010101.1001 0000.00000001
> HostMax: 22.214.171.124 11010100.10010101.1001 1111.11111110
> Broadcast: 126.96.36.199 11010100.10010101.1001 1111.11111111
> Hosts/Net: 4094 Class C
> so, what you have? Two /24 or one /20?
> The two nets are in your /20 and what is with the other nets in it?
> And what is your transfer net to your ISP? You get a /24 as tansfernet????
>> What distro would you recoment to be used in a router? Are there any good
>> open-source ones that are speasialiced for (advanced) routing)? For testing
>> could exsample. Damm small linux live cd used to build a test router to
>> test this out? How would I set up routes in it. Using the ip command?
> you can route with a 486 maybe pentium 1 or 2 (how much traffic is on it) and
> a floppy:
> so long