|
||||||||
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)? >> > yes > >> 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 212.149.148.0/24 and 212.149.156.0/24 and gatewys >> 212.149.148.254 and 212.149.156.254. Endusers in lan uses these ip:s, >> gateway 212.149.148.254 and a mask /20. >> > this can not be: > Address: 212.149.148.0 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: 212.149.144.0/20 11010100.10010101.1001 0000.00000000 > HostMin: 212.149.144.1 11010100.10010101.1001 0000.00000001 > HostMax: 212.149.159.254 11010100.10010101.1001 1111.11111110 > Broadcast: 212.149.159.255 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? >> Exsamples? >> > > you can route with a 486 maybe pentium 1 or 2 (how much traffic is on it) and > a floppy: > http://www.fli4l.de/ > > so long > > stefan > |