Re: [CentOS] Configuring source-specific routing

2013-05-04 Thread Rob Townley
Somebody oughta try an external USB WiFi dongle on a laptop with internal WiFi. Does NetworkManager handle two WiFi devices? On Sat, May 4, 2013 at 6:48 AM, Rob Townley wrote: > Find some businesses that both have open wifi near each other. Bring an > old WiFi router and a Cat5 cable. Conne

Re: [CentOS] Configuring source-specific routing

2013-05-04 Thread Rob Townley
Find some businesses that both have open wifi near each other. Bring an old WiFi router and a Cat5 cable. Connect your laptop WiFi to one open hotspot. Connect the old WiFi router in client access mode to another open wifi. One "ISP" is to your local coffee shop. The other "ISP" is to the gro

Re: [CentOS] Configuring source-specific routing

2013-05-04 Thread Rob Townley
Any neighbors with Open WiFi? Connect Cat5 to laptop in your house and connect to neighbors open WiFi. Woila, two ISPs. If you have 3G, it will work better to connect it into a CradlePoint type 3G hardware gateway device and connect the laptop to the 3G Gateway. NetworkManager would only activate

Re: [CentOS] Configuring source-specific routing

2013-05-04 Thread Ljubomir Ljubojevic
On 05/04/2013 03:37 AM, Michael Mol wrote: > I think I know what I did wrong, but it's going to be a while before I > can test it. (Dang, I wish I had enough spare hardware at home to set > up a test lab.) You can set up VM's and create several virtual interfaces. So you use one virtualNIC (vNI

Re: [CentOS] Configuring source-specific routing

2013-05-03 Thread Michael Mol
On 05/03/2013 06:05 PM, Rob Townley wrote: > Michael, very frustrating that so much noise for a very simple request. I > set up multi source routing in 5.3 or so and was astounded at all the > negativity on this list and that it could not be done. It will take > forever to read the noise in this

Re: [CentOS] Configuring source-specific routing

2013-05-03 Thread Michael Mol
On 05/03/2013 05:06 PM, Ljubomir Ljubojevic wrote: > On 05/02/2013 08:48 PM, Michael Mol wrote: [snip] > > Alternate source routing, firewall and netfilter marking of packets: > > > iptables -t mangle -A PREROUTING -s 172.24.5.0/24 -j MARK --set-mark 100 # > iptables -t mangle -A PREROUTING -s

Re: [CentOS] Configuring source-specific routing

2013-05-03 Thread Rob Townley
Michael, very frustrating that so much noise for a very simple request. I set up multi source routing in 5.3 or so and was astounded at all the negativity on this list and that it could not be done. It will take forever to read the noise in this thread alone. Some said you have to use DHCP i

Re: [CentOS] Configuring source-specific routing

2013-05-03 Thread Michael Mol
On 05/03/2013 03:24 PM, Michael H. Warfield wrote: > On Wed, 2013-05-01 at 17:52 -0400, Michael Mol wrote: [snip] > >> Curiously, at least one guy has reported success: > >> http://sysadminsjourney.com/content/2009/04/15/doing-simple-source-policy-routing-centos/ > >> Now, the only thing diffe

Re: [CentOS] Configuring source-specific routing

2013-05-03 Thread Ljubomir Ljubojevic
On 05/02/2013 08:48 PM, Michael Mol wrote: > On 05/02/2013 02:02 PM, Les Mikesell wrote: >> On Thu, May 2, 2013 at 12:31 PM, Michael Mol wrote: > with its default gateway pointing toward the ISP handling it. DNS service is simple enough to have standalone servers for each instance

Re: [CentOS] Configuring source-specific routing

2013-05-03 Thread Michael H. Warfield
On Wed, 2013-05-01 at 17:52 -0400, Michael Mol wrote: > On 05/01/2013 05:15 PM, Michael H. Warfield wrote: > > On Wed, 2013-05-01 at 16:05 -0400, Michael Mol wrote: > >> I'm attempting to configure source-specific routing so that my servers > >> can exist on multiple subnets from multiple upstream

Re: [CentOS] Configuring source-specific routing

2013-05-02 Thread Michael Mol
On 05/02/2013 02:02 PM, Les Mikesell wrote: > On Thu, May 2, 2013 at 12:31 PM, Michael Mol wrote: with its default gateway pointing toward the ISP handling it. DNS >>> service is simple enough to have standalone servers for each instance >>> you need. >> >> This would also require either re

Re: [CentOS] Configuring source-specific routing

2013-05-02 Thread Les Mikesell
On Thu, May 2, 2013 at 12:31 PM, Michael Mol wrote: >>> with its default gateway pointing toward the ISP handling it. DNS >> service is simple enough to have standalone servers for each instance >> you need. > > This would also require either resources or underlying authorizations I > don't have

Re: [CentOS] Configuring source-specific routing

2013-05-02 Thread Michael Mol
On 05/02/2013 01:05 PM, Les Mikesell wrote: > On Thu, May 2, 2013 at 8:14 AM, Michael Mol > wrote: >> >> Ultimately, for this to work cleanly, anything which requires a >> public IP (be it a raw authoritative DNS server or a load balancer) >> will require an IP on both public subnets. > > No i

Re: [CentOS] Configuring source-specific routing

2013-05-02 Thread Les Mikesell
On Thu, May 2, 2013 at 8:14 AM, Michael Mol wrote: > > Ultimately, for this to work cleanly, anything which requires a public > IP (be it a raw authoritative DNS server or a load balancer) will > require an IP on both public subnets. No it doesn't, as long as you don't mind losing the source IP f

Re: [CentOS] Configuring source-specific routing

2013-05-02 Thread Michael Mol
On 05/02/2013 05:13 AM, James Hogarth wrote: >> >> Yeah, I've gone that deep. And a tad deeper. I had almost *everything* >> working by hand, and went to figure out how to convert it to idomatic >> CentOS network configuration scripts. And took my network down *three >> times* because of the script

Re: [CentOS] Configuring source-specific routing

2013-05-02 Thread Michael Mol
On 05/02/2013 01:01 AM, anax wrote: > On 2013-05-01 22:05, Michael Mol wrote: >> I'm attempting to configure source-specific routing so that my servers >> can exist on multiple subnets from multiple upstream providers. >> >> A rough diagram of the network layout: >> >> >> ISP1 router (blackbox, rou

Re: [CentOS] Configuring source-specific routing

2013-05-02 Thread Michael Mol
On 05/02/2013 08:57 AM, Les Mikesell wrote: > On Wed, May 1, 2013 at 4:52 PM, Michael Mol wrote: >> >> Intent is to maintain the old, slow (but has an SLA) connection as a >> fallback, and migrate services to the new connection piecemeal. >> Meanwhile, the same DNS server on the new connection can

Re: [CentOS] Configuring source-specific routing

2013-05-02 Thread Les Mikesell
On Wed, May 1, 2013 at 4:52 PM, Michael Mol wrote: > > Intent is to maintain the old, slow (but has an SLA) connection as a > fallback, and migrate services to the new connection piecemeal. > Meanwhile, the same DNS server on the new connection can be, e.g. "ns3". > The same mailserver can have a

Re: [CentOS] Configuring source-specific routing

2013-05-02 Thread James Hogarth
> > Yeah, I've gone that deep. And a tad deeper. I had almost *everything* > working by hand, and went to figure out how to convert it to idomatic > CentOS network configuration scripts. And took my network down *three > times* because of the script-processing stripping things out. > > The files to

Re: [CentOS] Configuring source-specific routing

2013-05-01 Thread anax
http://www.linuxjournal.com/article/7291 http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.multiple-links.html might probably help you suomi On 2013-05-01 22:05, Michael Mol wrote: > I'm attempting to configure source-specific routing so that my servers > can exist on multiple subnets from mult

Re: [CentOS] Configuring source-specific routing

2013-05-01 Thread Michael Mol
On 05/01/2013 05:15 PM, Michael H. Warfield wrote: > On Wed, 2013-05-01 at 16:05 -0400, Michael Mol wrote: >> I'm attempting to configure source-specific routing so that my servers >> can exist on multiple subnets from multiple upstream providers. > > Kinda curious why you are attempting this with

Re: [CentOS] Configuring source-specific routing

2013-05-01 Thread Michael H. Warfield
On Wed, 2013-05-01 at 16:05 -0400, Michael Mol wrote: > I'm attempting to configure source-specific routing so that my servers > can exist on multiple subnets from multiple upstream providers. Kinda curious why you are attempting this without getting involved in dynamic routing (BGP)... It's usua

[CentOS] Configuring source-specific routing

2013-05-01 Thread Michael Mol
I'm attempting to configure source-specific routing so that my servers can exist on multiple subnets from multiple upstream providers. A rough diagram of the network layout: ISP1 router (blackbox, routes subnet A, address on subnet A) \ ---eth0(firewall)eth1---((servers)) / ISP2 r