Hardware list- 4 ethernet ports
- a dwa552 wireless adapter (OpenBSD recognizes this as athn0 and not ath0! This adapter is a/b/g/n)
- Using OpenBSD 5.0
- Installing non-free firmware files on first boot? [yes]
Goal- Have servers access the internet thru re1 on the openbsd machine.
- Have wired clients access the internet thru re0
- Have wireless clients access the internet and intranet thru athn0. {No bridge mode preferably}
- Different gateways in order to prioritize traffic
http://home.nuug.no/~peter/pf/en/altqintro.html
- Split DNS for both IPv4 and IPv6
- First split for internal access via re0,re1 and athn0
- Second split for external access via re2 and re3
- Split DHCP for both IPv4 and IPv6
- First split for wireless clients using athn0 as gateway.
- Second split for wired clients using re0 as gateway.
- Use this instruction for non-routable addresses
http://home.nuug.no/~peter/pf/en/unrouteables.html
What I am settling with
- 2 Wan ethernet ports to the internet ( load balancing)
- 2 Lan ethernet ports on the intranet.
- A wireless adapter for wireless intranet ( Host AP mode)
Before connecting the device directly to the internet; l have it place behind a commercial router.
I followed the instructions on
http://www.openbsd.org/faq/faq4.html#InstMedia
Available network interfaces are: re0 athn0 re1 re2 re3 vlan0.
Which one do you wish to configure? (or 'done') [re0] Enter
IPv4 address for re0? (or 'dhcp' or 'none') [dhcp] 10.97.1.254
{step followed}
IPv6 address for re0? (or 'rtsol' or 'none') [none] fc09::f256
{step followed}
Available network interfaces are: re0 athn0 re1 re2 re3 vlan0.
Which one do you wish to configure? (or 'done') [done] re1
re1: 10.81.0.254/8 & fc09::f625
re2: skiped
re3: dhcp
{re2 and re3 would be connected to the internet that's why l didn't configure re2 and set re3 as DHCP}
*No DHCPv6 with commercial router
My problem!!
Available network interfaces are: re0 athn0 re1 re2 re3 vlan0.
Which one do you wish to configure? (or 'done') [done] athn0
Here where l need guidance.
I want to set this router as an access point (host AP)
I need to use 802.11 a/b/g and n
set the channel to 8
ESSID: mangoroes
wpa : {lets say concorde9concorde9concorde}
I looked at
http://www.openbsd.org/cgi-bin/man.c...nfig&sektion=8 in vain
WRT to the split DNS and DHCP I know it can be achieved on linux but not sure if it can be achieved on Openbsd? Any one can confirm this?