bridged wlan/ether still the same

From: Randy Bush <randy_at_psg.com>
Date: Fri, 02 Apr 2010 12:35:24 +0900
i have a year old 8 soekris system i am about to upgrade.  it is pppoe
externally, and has a bridged natted wireless/ether internal net.

	       .----------------.
	       |                |
	       |       b --wlan0|
	       |       r        | 192.168.0.0/24
    ext iij    |       i --- vr1| LAN hosts,
    PPP/NAT ---|vr0--- d        | DHCP Clients
      WAN      |       g --- vr2| ...
	       |       e        |
	       |       0 --- vr3|
	       |                |
	       `----------------'

/etc/rc.conf

    ppp_enable=YES
    ppp_mode=dedicated
    ppp_nat=YES
    ppp_profile=iij
    hostapd_enable=YES
    wlans_ath0=wlan0
    create_args_wlan0="wlanmode ap mode 11g channel 11 up"
    cloned_interfaces=bridge0
    ifconfig_bridge0="192.168.0.1 addm vr1 addm vr2 addm vr3 addm wlan0 addm wlan1 up"
    ifconfig_vr1=up
    ifconfig_vr2=up
    ifconfig_vr3=up

/etc/hostap.conf

    interface=wlan0
    ctrl_interface=/var/run/hostapd
    logger_syslog=-1
    logger_syslog_level=0
    ssid=rgnet-crypt
    country_code=JP
    hw_mode=g
    wpa=2
    wpa_key_mgmt=WPA-PSK
    wpa_passphrase=notreally
    wpa_pairwise=CCMP TKIP

/etc/ppp/ppp.conf entry

    iij:
     set device PPPoE:vr0
     set MRU 1454   # NTT suggests this value
     set MTU 1454
     accept CHAP
     enable lqr
     add default HISADDR
     nat enable yes
     set authname nope
     set authkey peon

is this still gonna work?  is this a reasonable way to do this?  i ask
because, if it does not, i will not have usable connectivity to get help
fixing it :)

randy
Received on Fri Apr 02 2010 - 01:35:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC