build an openbsd router/modem

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

build an openbsd router/modem

mediomen27
I want build a router/modem with openbsd. My is that I don't want
anykind of linux code around. I don't have any problems to build a
router, my problem is to have a modem without any linux firmware.
Anyone know if there are any pure modem to use it ?
Or any chip I can connect on any "itx or what u want" motherboard ?
Thank u
Luigi

Reply | Threaded
Open this post in threaded view
|

Re: build an openbsd router/modem

Tati Chevron
On Tue, Dec 22, 2015 at 06:45:04PM +0000, Frank White wrote:
>I want build a router/modem with openbsd. My is that I don't want
>anykind of linux code around. I don't have any problems to build a
>router, my problem is to have a modem without any linux firmware.
>Anyone know if there are any pure modem to use it ?
>Or any chip I can connect on any "itx or what u want" motherboard ?

Can you be more specific about what you are trying to do?

Are you trying to build a small embedded system using OpenBSD, or
do you want to configure a normal desktop machine to route data
from a, (3g?  DSL?  Cable internet?), source to other machines
on the LAN?

--
Tati Chevron
Perl and FORTRAN specialist.
SWABSIT development and migration department.
http://www.swabsit.com

Reply | Threaded
Open this post in threaded view
|

Re: build an openbsd router/modem

mediomen27
Hi,
Yes I am sorry, I want build a small embedded system with openbsd to
connect a lan to an adsl line. I want all the devices with openbsd,
included the adsl modem. So the embedded system must have one or more
ethernet nic and a modem.




2015-12-22 19:08 GMT+00:00 Tati Chevron <[hidden email]>:

> On Tue, Dec 22, 2015 at 06:45:04PM +0000, Frank White wrote:
>>
>> I want build a router/modem with openbsd. My is that I don't want
>> anykind of linux code around. I don't have any problems to build a
>> router, my problem is to have a modem without any linux firmware.
>> Anyone know if there are any pure modem to use it ?
>> Or any chip I can connect on any "itx or what u want" motherboard ?
>
>
> Can you be more specific about what you are trying to do?
>
> Are you trying to build a small embedded system using OpenBSD, or
> do you want to configure a normal desktop machine to route data
> from a, (3g?  DSL?  Cable internet?), source to other machines
> on the LAN?
>
> --
> Tati Chevron
> Perl and FORTRAN specialist.
> SWABSIT development and migration department.
> http://www.swabsit.com

Reply | Threaded
Open this post in threaded view
|

Re: build an openbsd router/modem

Tati Chevron
On Tue, Dec 22, 2015 at 07:32:57PM +0000, Frank White wrote:
>Hi,
>Yes I am sorry, I want build a small embedded system with openbsd to
>connect a lan to an adsl line. I want all the devices with openbsd,
>included the adsl modem. So the embedded system must have one or more
>ethernet nic and a modem.

The easiest way to do this, although not quite what you want, is to
use a normal ADSL router in 'bridge' mode, so that it passes all data
from the ADSL line directly to a single OpenBSD machine without doing
any routing.  That OpenBSD machine can then act as a firewall, router,
packet-logger, or whatever you want.

--
Tati Chevron
Perl and FORTRAN specialist.
SWABSIT development and migration department.
http://www.swabsit.com

Reply | Threaded
Open this post in threaded view
|

Re: build an openbsd router/modem

Shady
In reply to this post by mediomen27
> On Dec 22, 2015, at 1:32 PM, Frank White <[hidden email]> wrote:
>
> Hi,
> Yes I am sorry, I want build a small embedded system with openbsd to
> connect a lan to an adsl line. I want all the devices with openbsd,
> included the adsl modem. So the embedded system must have one or more
> ethernet nic and a modem.
>
>
>
>
> 2015-12-22 19:08 GMT+00:00 Tati Chevron <[hidden email]>:
>> On Tue, Dec 22, 2015 at 06:45:04PM +0000, Frank White wrote:
>>>
>>> I want build a router/modem with openbsd. My is that I don't want
>>> anykind of linux code around. I don't have any problems to build a
>>> router, my problem is to have a modem without any linux firmware.
>>> Anyone know if there are any pure modem to use it ?
>>> Or any chip I can connect on any "itx or what u want" motherboard ?
>>
>>
>> Can you be more specific about what you are trying to do?
>>
>> Are you trying to build a small embedded system using OpenBSD, or
>> do you want to configure a normal desktop machine to route data
>> from a, (3g?  DSL?  Cable internet?), source to other machines
>> on the LAN?
>>
>> --
>> Tati Chevron
>> Perl and FORTRAN specialist.
>> SWABSIT development and migration department.
>> http://www.swabsit.com
>
I’m currently using a Soekris net6501 as a router. Works great with
OpenBSD, and comes with 4 ethernet ports.  As far as I’m aware they
don’t have any models that come with a modem, but if you can find a
supported MiniPCI or PCI modem, it should work fine.  Soekris officially
supports OpenBSD and has good documentation on installing it on their
hardware.  I’m not affiliated with Soekris in anyway other than being a
satisfied user.

Reply | Threaded
Open this post in threaded view
|

Re: build an openbsd router/modem

mediomen27
ok, well the only way to not use any linux based bridged adsl modem is
try to find a pci modem supported by opensbd ?
I connect the pci modem to the soekris device and that's all ?
so the problem is find a supported pci modem..



2015-12-22 19:55 GMT+00:00 Shady <[hidden email]>:

>
>> On Dec 22, 2015, at 1:32 PM, Frank White <[hidden email]> wrote:
>>
>> Hi,
>> Yes I am sorry, I want build a small embedded system with openbsd to
>> connect a lan to an adsl line. I want all the devices with openbsd,
>> included the adsl modem. So the embedded system must have one or more
>> ethernet nic and a modem.
>>
>>
>>
>>
>> 2015-12-22 19:08 GMT+00:00 Tati Chevron <[hidden email]>:
>>> On Tue, Dec 22, 2015 at 06:45:04PM +0000, Frank White wrote:
>>>>
>>>> I want build a router/modem with openbsd. My is that I don't want
>>>> anykind of linux code around. I don't have any problems to build a
>>>> router, my problem is to have a modem without any linux firmware.
>>>> Anyone know if there are any pure modem to use it ?
>>>> Or any chip I can connect on any "itx or what u want" motherboard ?
>>>
>>>
>>> Can you be more specific about what you are trying to do?
>>>
>>> Are you trying to build a small embedded system using OpenBSD, or
>>> do you want to configure a normal desktop machine to route data
>>> from a, (3g?  DSL?  Cable internet?), source to other machines
>>> on the LAN?
>>>
>>> --
>>> Tati Chevron
>>> Perl and FORTRAN specialist.
>>> SWABSIT development and migration department.
>>> http://www.swabsit.com
>>
> I’m currently using a Soekris net6501 as a router. Works great with
> OpenBSD, and comes with 4 ethernet ports.  As far as I’m aware they
> don’t have any models that come with a modem, but if you can find a
> supported MiniPCI or PCI modem, it should work fine.  Soekris officially
> supports OpenBSD and has good documentation on installing it on their
> hardware.  I’m not affiliated with Soekris in anyway other than being a
> satisfied user.

Reply | Threaded
Open this post in threaded view
|

Re: build an openbsd router/modem

Joost Runsink
In reply to this post by mediomen27
Some modem (Draytek comes to mind) allow you to set the modem in bridge
mode. At that point it is a atm to ethernet converter. Have a look at
Soekris and Alixboard, used a lot for this exact task.

On Tue, Dec 22, 2015 at 07:32:57PM +0000, Frank White wrote:

> Hi,
> Yes I am sorry, I want build a small embedded system with openbsd to
> connect a lan to an adsl line. I want all the devices with openbsd,
> included the adsl modem. So the embedded system must have one or more
> ethernet nic and a modem.
>
>
>
>
> 2015-12-22 19:08 GMT+00:00 Tati Chevron <[hidden email]>:
> > On Tue, Dec 22, 2015 at 06:45:04PM +0000, Frank White wrote:
> >>
> >> I want build a router/modem with openbsd. My is that I don't want
> >> anykind of linux code around. I don't have any problems to build a
> >> router, my problem is to have a modem without any linux firmware.
> >> Anyone know if there are any pure modem to use it ?
> >> Or any chip I can connect on any "itx or what u want" motherboard ?
> >
> >
> > Can you be more specific about what you are trying to do?
> >
> > Are you trying to build a small embedded system using OpenBSD, or
> > do you want to configure a normal desktop machine to route data
> > from a, (3g?  DSL?  Cable internet?), source to other machines
> > on the LAN?
> >
> > --
> > Tati Chevron
> > Perl and FORTRAN specialist.
> > SWABSIT development and migration department.
> > http://www.swabsit.com

Reply | Threaded
Open this post in threaded view
|

Re: build an openbsd router/modem

mediomen27
oh thank u very much, I think it's exactly what I am looking for.


2015-12-22 20:05 GMT+00:00 Joost Runsink <[hidden email]>:

> Some modem (Draytek comes to mind) allow you to set the modem in bridge
> mode. At that point it is a atm to ethernet converter. Have a look at
> Soekris and Alixboard, used a lot for this exact task.
>
> On Tue, Dec 22, 2015 at 07:32:57PM +0000, Frank White wrote:
>> Hi,
>> Yes I am sorry, I want build a small embedded system with openbsd to
>> connect a lan to an adsl line. I want all the devices with openbsd,
>> included the adsl modem. So the embedded system must have one or more
>> ethernet nic and a modem.
>>
>>
>>
>>
>> 2015-12-22 19:08 GMT+00:00 Tati Chevron <[hidden email]>:
>> > On Tue, Dec 22, 2015 at 06:45:04PM +0000, Frank White wrote:
>> >>
>> >> I want build a router/modem with openbsd. My is that I don't want
>> >> anykind of linux code around. I don't have any problems to build a
>> >> router, my problem is to have a modem without any linux firmware.
>> >> Anyone know if there are any pure modem to use it ?
>> >> Or any chip I can connect on any "itx or what u want" motherboard ?
>> >
>> >
>> > Can you be more specific about what you are trying to do?
>> >
>> > Are you trying to build a small embedded system using OpenBSD, or
>> > do you want to configure a normal desktop machine to route data
>> > from a, (3g?  DSL?  Cable internet?), source to other machines
>> > on the LAN?
>> >
>> > --
>> > Tati Chevron
>> > Perl and FORTRAN specialist.
>> > SWABSIT development and migration department.
>> > http://www.swabsit.com

Reply | Threaded
Open this post in threaded view
|

Re: build an openbsd router/modem

torsten
A quick question, how do these boards with Intel atom CPU's cope with gigabit
traffic and sslVPN. I love the look of them.
I use the Supermicro Intel i3/E3 midi boards with add-on NIC's at the moment


>oh thank u very much, I think it's exactly what I am looking for.


2015-12-22 20:05 GMT+00:00 Joost Runsink <[hidden email]>:

> Some modem (Draytek comes to mind) allow you to set the modem in
> bridge mode. At that point it is a atm to ethernet converter. Have a
> look at Soekris and Alixboard, used a lot for this exact task.
>
> On Tue, Dec 22, 2015 at 07:32:57PM +0000, Frank White wrote:
>> Hi,
>> Yes I am sorry, I want build a small embedded system with openbsd to
>> connect a lan to an adsl line. I want all the devices with openbsd,
>> included the adsl modem. So the embedded system must have one or more
>> ethernet nic and a modem.
>>
>>
>>
>>
>> 2015-12-22 19:08 GMT+00:00 Tati Chevron <[hidden email]>:
>> > On Tue, Dec 22, 2015 at 06:45:04PM +0000, Frank White wrote:
>> >>
>> >> I want build a router/modem with openbsd. My is that I don't want
>> >> anykind of linux code around. I don't have any problems to build a
>> >> router, my problem is to have a modem without any linux firmware.
>> >> Anyone know if there are any pure modem to use it ?
>> >> Or any chip I can connect on any "itx or what u want" motherboard ?
>> >
>> >
>> > Can you be more specific about what you are trying to do?
>> >
>> > Are you trying to build a small embedded system using OpenBSD, or
>> > do you want to configure a normal desktop machine to route data
>> > from a, (3g?  DSL?  Cable internet?), source to other machines on
>> > the LAN?
>> >
>> > --
>> > Tati Chevron
>> > Perl and FORTRAN specialist.
>> > SWABSIT development and migration department.
>> > http://www.swabsit.com

Reply | Threaded
Open this post in threaded view
|

Re: build an openbsd router/modem

mark hellewell
In reply to this post by mediomen27
On 23 December 2015 at 06:32, Frank White <[hidden email]> wrote:

> Hi,
> Yes I am sorry, I want build a small embedded system with openbsd to
> connect a lan to an adsl line. I want all the devices with openbsd,
> included the adsl modem. So the embedded system must have one or more
> ethernet nic and a modem.
>

I don't think such a thing exists any more.  You will be fine with an
external ADSL
modem in bridge mode and pppoe(4).  I'm still getting plenty of use out of
old
Cisco 800 series modems bought off eBay.

Reply | Threaded
Open this post in threaded view
|

Re: build an openbsd router/modem

Stuart Henderson
In reply to this post by Joost Runsink
On 2015-12-22, Joost Runsink <[hidden email]> wrote:
> Some modem (Draytek comes to mind) allow you to set the modem in bridge
> mode. At that point it is a atm to ethernet converter. Have a look at
> Soekris and Alixboard, used a lot for this exact task.

You can avoid Linux with this approach and careful selection, but then
you're probably running VxWorks instead. But at least this way your other
OS is little more than a media converter, only the OpenBSD box needs to
deal with externally sourced IP traffic..

Most ADSL "modems" can bridge ADSL to Ethernet which is fine for PPPoE
ISPs or those doing IP directly (fairly rare) but they won't usually
work with PPPoA-only ISPs, exception being the couple of Draytek
models that 'translate' PPPoA to PPPoE, and some old speedtouch boxes
do the same to PPTP. But for most ISPs that's not needed and a normal
bridge is enough.

> On Tue, Dec 22, 2015 at 07:32:57PM +0000, Frank White wrote:
>> Hi,
>> Yes I am sorry, I want build a small embedded system with openbsd to
>> connect a lan to an adsl line. I want all the devices with openbsd,
>> included the adsl modem. So the embedded system must have one or more
>> ethernet nic and a modem.

Doing this strictly OpenBSD-only is going to be a _lot_ of work unless
you find a ueagle(4) device from a museum and run an ancient OpenBSD
release from before the driver and subsystem was removed.

Reply | Threaded
Open this post in threaded view
|

Re: build an openbsd router/modem

Craig Skinner-3
In reply to this post by Tati Chevron
On 2015-12-22 Tue 19:52 PM |, Tati Chevron wrote:
>
> The easiest way to do this, although not quite what you want, is to
> use a normal ADSL router in 'bridge' mode, so that it passes all data
> from the ADSL line directly to a single OpenBSD machine without doing
> any routing.  That OpenBSD machine can then act as a firewall, router,
> packet-logger, or whatever you want.
>

A British ISP recommends using the DLINK DSL-320B in bridge mode only:
"... bridge mode for use with a PPPoE Router. Supports 1508 byte "baby
jumbo" frames for full 1500 byte MTU PPPoE operation. ..."
http://aa.net.uk/broadband-accessories.html

"DLINK 320B PPPoE Bridge Modem, ADSL
* Use with a your own PPPoE router/firewall
* Can do full 1500 byte MTU over PPPoE, which the ZyXEL can't in bridge
  mode
* Don't use it for anything but a bridge!
* Native IPv6: n/a (as used as a bridge)"
http://support.aa.net.uk/Help_Choosing_A_Router

How they deploy 2 (+ another spare) ADSL modems for failover.
You would be building the brick thing instead of what they supply:
http://www.aa.net.uk/broadband-office1.html

Their MTU explaination page:
http://aa.net.uk/kb-broadband-mtu.html

Their "How Broadband Works" page (British Telecom - usually PPPoA):
http://aa.net.uk/kb-broadband-how.html

Reply | Threaded
Open this post in threaded view
|

Re: build an openbsd router/modem

Bojan Nastic-3
> On 23 Dec 2015, at 11:33, Craig Skinner <[hidden email]> wrote:
>
> On 2015-12-22 Tue 19:52 PM |, Tati Chevron wrote:
>>
>> The easiest way to do this, although not quite what you want, is to
>> use a normal ADSL router in 'bridge' mode, so that it passes all data
>> from the ADSL line directly to a single OpenBSD machine without doing
>> any routing.  That OpenBSD machine can then act as a firewall, router,
>> packet-logger, or whatever you want.
>>
>
> A British ISP recommends using the DLINK DSL-320B in bridge mode only:
> "... bridge mode for use with a PPPoE Router. Supports 1508 byte "baby
> jumbo" frames for full 1500 byte MTU PPPoE operation. ..."
> http://aa.net.uk/broadband-accessories.html
>
> "DLINK 320B PPPoE Bridge Modem, ADSL
> * Use with a your own PPPoE router/firewall
> * Can do full 1500 byte MTU over PPPoE, which the ZyXEL can't in bridge
>  mode
> * Don't use it for anything but a bridge!
> * Native IPv6: n/a (as used as a bridge)"
> http://support.aa.net.uk/Help_Choosing_A_Router
>
> How they deploy 2 (+ another spare) ADSL modems for failover.
> You would be building the brick thing instead of what they supply:
> http://www.aa.net.uk/broadband-office1.html
>
> Their MTU explaination page:
> http://aa.net.uk/kb-broadband-mtu.html
>
> Their "How Broadband Works" page (British Telecom - usually PPPoA):
> http://aa.net.uk/kb-broadband-how.html
>

Can confirm - that D-Link modem is the best way to go (at least in our
neck of the woods). Very cheap and reliable. I have it running as a
PPPoE bridge into an Alix
router with OpenBSD. The whole rig has been up for more than a year,
zero issues.

Bojan

Reply | Threaded
Open this post in threaded view
|

Re: build an openbsd router/modem

Christopher Zimmermann-5
Hi,

I use GO-DSL-N151, a Zyxel based modem/router. The nice thing about the
Zyxel firmware is that it can do scheduling with four priority queues
in bridge mode.
I tag the packets with vlan prio tags and the modem, which is the
bottleneck does the traffic shaping. I can also use it as wlan bridge
on a separate vlan.

Christopher


--
http://gmerlin.de
OpenPGP: http://gmerlin.de/christopher.pub
F190 D013 8F01 AA53 E080  3F3C F17F B0A1 D44E 4FEE

Reply | Threaded
Open this post in threaded view
|

Re: build an openbsd router/modem

Stuart Henderson
In reply to this post by Bojan Nastic-3
On 2015-12-23, Bojan Nastic <[hidden email]> wrote:
>> A British ISP recommends using the DLINK DSL-320B in bridge mode only:
>> "... bridge mode for use with a PPPoE Router. Supports 1508 byte "baby
>> jumbo" frames for full 1500 byte MTU PPPoE operation. ..."
>> http://aa.net.uk/broadband-accessories.html

> Can confirm - that D-Link modem is the best way to go (at least in our
> neck of the woods). Very cheap and reliable. I have it running as a
> PPPoE bridge into an Alix
> router with OpenBSD. The whole rig has been up for more than a year,
> zero issues.

Don't under any circumstances use it as a router though, only a bridge.
Speeds with annex M support are also poor but it's fine for standard ADSL.