Re: Trunking connections

2006-04-24 Thread Michael Landin Hostbaek
Bill Moran (wmoran) writes:
 On Fri, 21 Apr 2006 11:19:36 +0200
 Michael Landin Hostbaek [EMAIL PROTECTED] wrote:
 
  
  I've got a FreeBSD firewall/gateway with three interfaces.. 
 
 The canonical way to do this is with bgp.  There are bgp implementations
 available for FreeBSD.  The hard part will be getting the two ISPs to
 agree to set up BGP on their end.

Heh. Yeah I doubt that'll fly.. 

I think I'll settle on piping specific traffic through each interface,
and in addition have a small shell script in cron, that will check that
the two interfaces are up and running.. if one should go down, route all
traffic through the working one.. Not pretty but it should do the trick.

/mich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Trunking connections

2006-04-21 Thread Michael Landin Hostbaek
List, 

In a branch office, I've got two ADSL lines setup (with two different
ISPs) - one of them are supposed to work as backup line, but since it is
a ADSL flat fee line, I was wondering if there's a way of setting up
some sort of a trunk with FreeBSD, so I can make use of the extra
bandwith.

Obviously, the line should be unaffected if one of the lines go down.

I've got a FreeBSD firewall/gateway with three interfaces.. 

Any ideas ?

/mich

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trunking connections

2006-04-21 Thread Greg Barniskis

Michael Landin Hostbaek wrote:
List, 


In a branch office, I've got two ADSL lines setup (with two different
ISPs) - one of them are supposed to work as backup line, but since it is
a ADSL flat fee line, I was wondering if there's a way of setting up
some sort of a trunk with FreeBSD, so I can make use of the extra
bandwith.


This has been discussed quite extensively on the list in the past, 
and if I recall correctly the answer is basically no, unless the 
lines go to the same ISP and they also configure the lines this way 
on their end.


There may be various ways to dynamically dink your own routing table 
to try to balance your outbound traffic, but by the very nature of 
IP the inbound traffic cannot be regulated without full cooperation 
of the upstream routers.



--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trunking connections

2006-04-21 Thread Jonathan Horne
you should check out the fbsd/firewall pfSense.  it has exactly what your
talking about built in, and easy to configure.  i could go on and on all
day about how great that firewall is... but you should check it out
yourself.

www.pfsense.org

its built on 6.0.

jonathan

 List,

 In a branch office, I've got two ADSL lines setup (with two different
 ISPs) - one of them are supposed to work as backup line, but since it is
 a ADSL flat fee line, I was wondering if there's a way of setting up
 some sort of a trunk with FreeBSD, so I can make use of the extra
 bandwith.

 Obviously, the line should be unaffected if one of the lines go down.

 I've got a FreeBSD firewall/gateway with three interfaces..

 Any ideas ?

 /mich

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trunking connections

2006-04-21 Thread Bill Moran
On Fri, 21 Apr 2006 11:19:36 +0200
Michael Landin Hostbaek [EMAIL PROTECTED] wrote:

 List, 
 
 In a branch office, I've got two ADSL lines setup (with two different
 ISPs) - one of them are supposed to work as backup line, but since it is
 a ADSL flat fee line, I was wondering if there's a way of setting up
 some sort of a trunk with FreeBSD, so I can make use of the extra
 bandwith.
 
 Obviously, the line should be unaffected if one of the lines go down.
 
 I've got a FreeBSD firewall/gateway with three interfaces.. 

The canonical way to do this is with bgp.  There are bgp implementations
available for FreeBSD.  The hard part will be getting the two ISPs to
agree to set up BGP on their end.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trunking connections

2006-04-21 Thread wc_fbsd

At 05:19 AM 4/21/2006, Michael Landin Hostbaek wrote:
In a branch office, I've got two ADSL lines setup (with two 
different ISPs) - one of them are supposed to work as backup line, 
but since it is a ADSL flat fee line, I was wondering if there's a 
way of setting up some sort of a trunk with FreeBSD, so I can make 
use of the extra bandwith.


I came up with a hack that has worked well for us.  We have a frac-T1 
line (12/24 ths) that is very reliable, but costs ~$600/month and 
only gets about 70KB/sec.  We also have a connection from the local 
cable company;  it's not terribly reliable, but it's only $40/month, 
and gets 460KB/sec.


I setup squid proxy with the option tcp outgoing address 12.x.x.x 
where the address is that of the cable NIC.  Then configured ipfw to 
forward any packets with the 12' address to the cable gateway.  We 
get very fast proxied speed for web browsing, ftp, and other bulk 
transfers.  But the regular traffic still goes over the T1 line.


Sorta kludgy, but since I'm no routing expert, I was pleased with the 
results  :)


  -Wayne
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]