Again two ADSL lines, routing problems

2007-07-12 Thread Andrea Venturoli
Hello. I have a setup where a FreeBSD box is connected to two ADSL routers: default gateway is set to the first and, in case of failure, is moved to the other one. This works perfectly for outgoing connections: in the event of the switch, I'll have to reconnect, but that's acceptable. The

Re: Again two ADSL lines, routing problems

2007-07-12 Thread Eric F Crist
On Jul 12, 2007, at 5:14 AMJul 12, 2007, Andrea Venturoli wrote: Hello. I have a setup where a FreeBSD box is connected to two ADSL routers: default gateway is set to the first and, in case of failure, is moved to the other one. This works perfectly for outgoing connections: in the event

Re: Again two ADSL lines, routing problems

2007-07-12 Thread Artyom Viklenko
Andrea Venturoli wrote: Hello. I have a setup where a FreeBSD box is connected to two ADSL routers: default gateway is set to the first and, in case of failure, is moved to the other one. This works perfectly for outgoing connections: in the event of the switch, I'll have to reconnect, but

Re: Again two ADSL lines, routing problems

2007-07-12 Thread Andrea Venturoli
Artyom Viklenko ha scritto: You have to enforce simmetrical routing on your FreeBSD box. You can use, for example, PF firewall Using such options and features as labels and route-to/reply-to statemens. Also it is possible with ipfw, but I prefer PF. :) Thanks, this is interesting. However I

Re: Again two ADSL lines, routing problems

2007-07-12 Thread Andrea Venturoli
Eric F Crist ha scritto: The biggest problem one would have with this sort of setup, is the upstream provider support. I don't know of any ISP's that are going to be willing or even able to propagate routes for your static IPs through their DSL systems. If you want that sort of redundancy

Re: Again two ADSL lines, routing problems

2007-07-12 Thread Josh Paetzel
On Thursday 12 July 2007, Andrea Venturoli wrote: Artyom Viklenko ha scritto: You have to enforce simmetrical routing on your FreeBSD box. You can use, for example, PF firewall Using such options and features as labels and route-to/reply-to statemens. Also it is possible with ipfw, but

Re: Again two ADSL lines, routing problems

2007-07-12 Thread Julian Elischer
Andrea Venturoli wrote: Hello. I have a setup where a FreeBSD box is connected to two ADSL routers: default gateway is set to the first and, in case of failure, is moved to the other one. This works perfectly for outgoing connections: in the event of the switch, I'll have to reconnect, but

Re: Again two ADSL lines, routing problems

2007-07-12 Thread Andrea Venturoli
Artyom Viklenko ha scritto: Very brief example (just to show main idea). Assume you have thre interfaces in router fxp0 - lan, fxp1 - adsl1, fxp2 - adsl2. fxp0 - 192.168.0.1, fxp1 - 192.168.1.2, fxp2 - 192.168.2.2 adsl1 - 192.168.1.1, adsl2 - 192.168.2.1 $server=192.168.0.2

Re: Again two ADSL lines, routing problems

2007-07-12 Thread Artyom Viklenko
On Thu, 12 Jul 2007, Andrea Venturoli wrote: Artyom Viklenko ha scritto: Very brief example (just to show main idea). Assume you have thre interfaces in router fxp0 - lan, fxp1 - adsl1, fxp2 - adsl2. fxp0 - 192.168.0.1, fxp1 - 192.168.1.2, fxp2 - 192.168.2.2 adsl1 - 192.168.1.1, adsl2 -