Article View: bit.listserv.openbsd-pf
Article #246Re: route-to round-robin using single interface?
From: Stuart Henderson
Date: Tue, 15 Jan 2013 07:32
Date: Tue, 15 Jan 2013 07:32
24 lines
1796 bytes
1796 bytes
On 2013/01/14 15:30, Johan Helsingius wrote:
> Hi!
>
> I have a small network, connected by 2 ADSL connections, and
> want to load-share the connections. All examples of route-to
> round-robin that I have seen have used 2 separate interfaces,
> but as both my ADSL modems are on the same "no-mans-land"
> network, I have been (so far unsuccessfully) trying to do
> something like this:
>
> pass in on $int_if from $int_net \
> route-to { ($ext_if $isp1_gw), ($ext_if $isp2_gw) } \
> round-robin sticky-address
>
> Is that supposed to work, or does route-to round-robin only
> work with 2 separate interfaces?
>
> Appreciate any input...
>
> Julf
I haven't checked, but that *should* be okay. Are you certain your
packets are hitting this rule? You can check the 'state creation'
counter in pfctl -sr -vv.
Technical Details
Message-ID:
<20130114211314.GK3791@symphytum.spacehopper.org>Path:
arc1-ca.pugleaf.net!s9ni107246pbb.0!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrnReferences:
<50F4167D.1080403@Julf.com>Show Full Headers
Complete Article Headers
X-Google-Thread: ff4ef,3bf4827c7d36c008
X-Google-NewGroupId: yes
X-Google-Attributes: gidbffa70e3,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.66.82.137 with SMTP id i9mr13875905pay.41.1358235124383;
Mon, 14 Jan 2013 23:32:04 -0800 (PST)
Path: arc1-ca.pugleaf.net!s9ni107246pbb.0!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn
From: stu@spacehopper.org (Stuart Henderson)
Newsgroups: bit.listserv.openbsd-pf
Subject: Re: route-to round-robin using single interface?
Date: 14 Jan 2013 23:32:03 -0800
Organization: None
Lines: 24
Message-ID: <20130114211314.GK3791@symphytum.spacehopper.org>
References: <50F4167D.1080403@Julf.com>
NNTP-Posting-Host: localhost.newsguy.com
Mime-Version: 1.0
NNTP-Posting-Date: 15 Jan 2013 07:32:03 GMT
X-Received-Bytes: 1424
Content-Type: text/plain; charset=us-ascii