Re: Routing 4 network cards
Roland Wells [EMAIL PROTECTED] writes: I guess this is more a question (that could be a possible solution); Could you just Bridge all the seperate physical networks, and leave firewalling and NAT to be done by the router, or lets say, on another FreeBSD box connected to the dsl modem? In principle, yes. However, all of those networks are wireless, so my guess would be that they are in different places. Or there might be some gain from logical isolation. Or some combination of the two. -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password public ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Routing 4 network cards
Wireless USERS Wireless USERS W W W W W W W W W W W W |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| 192.168.3.2-254192.168.4.2-254 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ W 192.168.3.1 W 192.168.4.1 |-| || 8Mbit |--| WIRELESS | | || INTERNET ==| A |WW|FreeBSD1 |WW|FreeBSD2| |--| 192.168.0.1 | |192.168.2.1 || |192.168.0.138 |-| 192.168.2.2|| | | | | |192.168.1.1 |192.168.5.1 | | | | | | 192.168.0.150| | | |--| |--| |--| |HOME | |HOME 1| |HOME 2| |--| |--| |--| A = Router Acatel DSL W = Antene |-| |-| = Wireless User (20 Wireless users) I hoop the drawing is readable ! The Facts : OS FreeBSD 5.2 (is it stable for this problem or better to use 4.x) With 4 nic's inside RL0 = 192.168.0.1 RL1 = 192.168.1.1 RL2 = 192.168.2.1 RL4 = 192.168.3.1 I like to connect RL1/2/3 to RL0 (internet) HOME1 and HOME2 are the system administrators and need to manage the whole network include the users Everybody need access to the internet I like to have a start how to setup FreeBSD 1 I like to use dummynet(compiled and works very nice) to manage traffic let's say 192.168.3.1/26 100Kb/s 192.168.3.64/26 200Kb/s 192.168.3.128/26 300Kb/s 192.168.3.192/26 400Kb/s Count every user with ipfw count --- #!/usr/local/bin/bash for ((a=2; a=254; a++)) do IPCOUNT = 10$a0 add count tcp from 192.168.3.$a to any ipfw $IPCOUNT done And now the question about FreeBSD 1 (forget FreeBSD2). Give me a good hint how to set this up with ipfw and NAT I googled many but ther's not that much about information about 3 or more nic with freeBSD. I think I have to use NAT, but can i use it in combination with ipfw to dummynet out/ingoing traffic over the nic RL1/2/3 And how can i HOME1 go accross the whole network RL0/2/3 Sorry for my English and I hope I give anough explanation about my plan. Thanks anyway for looking at my problem. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Routing 4 network cards
Sjaak Nabuurs [EMAIL PROTECTED] writes: Wireless USERS Wireless USERS W W W W W W W W W W W W |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| 192.168.3.2-254192.168.4.2-254 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ W 192.168.3.1 W 192.168.4.1 |-| || 8Mbit |--| WIRELESS | | || INTERNET ==| A |WW|FreeBSD1 |WW|FreeBSD2| |--| 192.168.0.1 | |192.168.2.1 || |192.168.0.138 |-| 192.168.2.2|| | | | | |192.168.1.1 |192.168.5.1 | | | | | | 192.168.0.150| | | |--| |--| |--| |HOME | |HOME 1| |HOME 2| |--| |--| |--| A = Router Acatel DSL W = Antene |-| |-| = Wireless User (20 Wireless users) I hoop the drawing is readable ! Superb. And it's a *big* help in this situation. The Facts : OS FreeBSD 5.2 (is it stable for this problem or better to use 4.x) Try it and see. If 5.2 installs and seems to run nicely on *your* particular hardware, it's probably good for your purposes. With 4 nic's inside RL0 = 192.168.0.1 RL1 = 192.168.1.1 RL2 = 192.168.2.1 RL4 = 192.168.3.1 I like to connect RL1/2/3 to RL0 (internet) HOME1 and HOME2 are the system administrators and need to manage the whole network include the users Everybody need access to the internet I like to have a start how to setup FreeBSD 1 I like to use dummynet(compiled and works very nice) to manage traffic let's say 192.168.3.1/26 100Kb/s 192.168.3.64/26 200Kb/s 192.168.3.128/26 300Kb/s 192.168.3.192/26 400Kb/s Count every user with ipfw count --- #!/usr/local/bin/bash for ((a=2; a=254; a++)) do IPCOUNT = 10$a0 add count tcp from 192.168.3.$a to any ipfw $IPCOUNT done Okay... And now the question about FreeBSD 1 (forget FreeBSD2). Give me a good hint how to set this up with ipfw and NAT I googled many but ther's not that much about information about 3 or more nic with freeBSD. In this case, all of the interfaces on FreeBSD1 are handled the same way as the inside interface in the typical example where the FreeBSD box is the router to the outside world. I think I have to use NAT, but can i use it in combination with ipfw to dummynet out/ingoing traffic over the nic RL1/2/3 No, in this case NAT has to be done by the Internet router, machine A. FreeBSD1 doesn't need to worry about it. And how can i HOME1 go accross the whole network RL0/2/3 You need to give FreeBSD1 routes for the networks off the other routers. For example route add -net 192.168.5.1/24 192.168.2.2 to access HOME 2. Sorry for my English and I hope I give anough explanation about my plan. I hope you got enough explanation in return... -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password public ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Routing 4 network cards
Sjaak Nabuurs [EMAIL PROTECTED] writes: Wireless USERS Wireless USERS W W W W W W W W W W W W |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| |-| 192.168.3.2-254 192.168.4.2-254 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ W 192.168.3.1 W 192.168.4.1 |-| || 8Mbit |--| WIRELESS | | || INTERNET ==| A |WW|FreeBSD1 |WW|FreeBSD2| |--| 192.168.0.1 | |192.168.2.1 || |192.168.0.138 |-| 192.168.2.2|| | | | | |192.168.1.1 |192.168.5.1 | | | | | | 192.168.0.150| | | |--| |--| |--| |HOME | |HOME 1| |HOME 2| |--| |--| |--| A = Router Acatel DSL W = Antene |-| |-| = Wireless User (20 Wireless users) I hoop the drawing is readable ! Superb. And it's a *big* help in this situation. The Facts : OS FreeBSD 5.2 (is it stable for this problem or better to use 4.x) Try it and see. If 5.2 installs and seems to run nicely on *your* particular hardware, it's probably good for your purposes. With 4 nic's inside RL0 = 192.168.0.1 RL1 = 192.168.1.1 RL2 = 192.168.2.1 RL4 = 192.168.3.1 I like to connect RL1/2/3 to RL0 (internet) HOME1 and HOME2 are the system administrators and need to manage the whole network include the users Everybody need access to the internet I like to have a start how to setup FreeBSD 1 I like to use dummynet(compiled and works very nice) to manage traffic let's say 192.168.3.1/26 100Kb/s 192.168.3.64/26 200Kb/s 192.168.3.128/26 300Kb/s 192.168.3.192/26 400Kb/s Count every user with ipfw count --- #!/usr/local/bin/bash for ((a=2; a=254; a++)) do IPCOUNT = 10$a0 add count tcp from 192.168.3.$a to any ipfw $IPCOUNT done Okay... And now the question about FreeBSD 1 (forget FreeBSD2). Give me a good hint how to set this up with ipfw and NAT I googled many but ther's not that much about information about 3 or more nic with freeBSD. In this case, all of the interfaces on FreeBSD1 are handled the same way as the inside interface in the typical example where the FreeBSD box is the router to the outside world. I think I have to use NAT, but can i use it in combination with ipfw to dummynet out/ingoing traffic over the nic RL1/2/3 No, in this case NAT has to be done by the Internet router, machine A. FreeBSD1 doesn't need to worry about it. And how can i HOME1 go accross the whole network RL0/2/3 You need to give FreeBSD1 routes for the networks off the other routers. For example route add -net 192.168.5.1/24 192.168.2.2 to access HOME 2. Sorry for my English and I hope I give anough explanation about my plan. I hope you got enough explanation in return... -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password public Lowell, Sjaak and everyone ;}... I guess this is more a question (that could be a possible solution); Could you just Bridge all the seperate physical networks, and leave firewalling and NAT to be done by the router, or lets say, on another FreeBSD box connected to the dsl modem? Roland Wells ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]