Hi,
I'm trying to use an ALIX 2D0 (2ethernet, 2miniPCI) as a repeater. I have an ALIX 2D1 (3ethernet, 1miniPCI) as well which I've used for testing my configuration. In both cases, the access point is on OPT2 and is bridgesd with WAN. vr0 is LAN in both cases.
When I have it set-up on the 2D1 which uses vr1 as WAN, it works fine. When I put the same on the 2D0 which uses ath0 as WAN, it no longer works. In both cases, it works fine LAN (vr0).
What is going on here and how do I fix it?
Here's the configuration for the 2D1:
<?xml version="1.0"?> <m0n0wall> <version>1.8</version> <lastchange>1245281454</lastchange> <system> <hostname>heartnet</hostname> <domain>bonnecomm.net</domain> <dnsallowoverride/> <username>admin</username> <password></password> <timezone>America/Toronto</timezone> <time-update-interval>300</time-update-interval> <timeservers>time.nrc.ca</timeservers> <webgui> <protocol>http</protocol> <port/> </webgui> <dnsserver>192.168.102.1</dnsserver> </system> <interfaces> <lan> <if>vr0</if> <ipaddr>192.168.1.1</ipaddr> <subnet>24</subnet> <media/> <mediaopt/> </lan> <wan> <if>vr1</if> <media/> <mediaopt/> <ipaddr>192.168.102.9</ipaddr> <subnet>22</subnet> <gateway>192.168.102.1</gateway> <spoofmac/> </wan> <opt1> <if>vr2</if> <descr>OPT1-ETH</descr> <ipaddr/> <subnet>31</subnet> <bridge>lan</bridge> <enable/> </opt1> <opt2> <if>ath0</if> <wireless> <standard>11g</standard> <mode>hostap</mode> <ssid>HeartNet</ssid> <channel>11</channel> <wep/> <wpa> <mode>none</mode> <version>1</version> <cipher>tkip</cipher> <psk/> <radius> <server/> <authport/> <acctport/> <secret/> </radius> </wpa> </wireless> <descr>OPT2-AP</descr> <ipaddr/> <subnet>31</subnet> <bridge>wan</bridge> <enable/> </opt2> </interfaces> <staticroutes/> <pppoe/> <pptp/> <dyndns> <type>dyndns</type> <username/> <password/> <host/> <mx/> <server/> <port/> </dyndns> <dnsupdate/> <dhcpd> <lan> <enable/> <range> <from>192.168.1.100</from> <to>192.168.1.199</to> </range> </lan> </dhcpd> <pptpd> <mode/> <nunits>16</nunits> <redir/> <localip/> <remoteip/> </pptpd> <dnsmasq> <enable/> </dnsmasq> <snmpd> <syslocation/> <syscontact/> <rocommunity>public</rocommunity> </snmpd> <diag/> <bridge/> <syslog/> <nat/> <filter> <rule> <type>pass</type> <interface>opt2</interface> <source> <any/> </source> <destination> <any/> </destination> <descr>OPT2-PassThru</descr> </rule> <rule> <type>pass</type> <descr>Default LAN -> any</descr> <interface>lan</interface> <source> <network>lan</network> </source> <destination> <any/> </destination> </rule> <rule> <type>pass</type> <descr>Default IPsec VPN</descr> <interface>ipsec</interface> <source> <any/> </source> <destination> <any/> </destination> </rule> <rule> <type>pass</type> <interface>wan</interface> <source> <any/> </source> <destination> <any/> </destination> <descr>WAN-PassThru</descr> </rule> </filter> <shaper/> <ipsec/> <aliases/> <proxyarp/> <wol/> </m0n0wall>
Here's the configuration for the 2D0:
<?xml version="1.0"?> <m0n0wall> <version>1.8</version> <lastchange>1245282718</lastchange> <system> <hostname>heartnet</hostname> <domain>bonnecomm.net</domain> <dnsallowoverride/> <username>admin</username> <password>$1$2xGLA75j$W/jiJc00HYBZX7kFjxjQv0</password> <timezone>America/Toronto</timezone> <time-update-interval>300</time-update-interval> <timeservers>time.nrc.ca</timeservers> <webgui> <protocol>http</protocol> <port/> </webgui> <dnsserver>192.168.102.1</dnsserver> </system> <interfaces> <lan> <if>vr0</if> <ipaddr>192.168.1.1</ipaddr> <subnet>24</subnet> <media/> <mediaopt/> </lan> <wan> <if>ath0</if> <media/> <mediaopt/> <spoofmac/> <wireless> <standard>11g</standard> <mode>BSS</mode> <ssid>BonneComm2</ssid> <channel>0</channel> <wep/> <wpa> <mode>none</mode> <version>1</version> <cipher>tkip</cipher> <psk/> <radius> <server/> <authport/> <acctport/> <secret/> </radius> </wpa> </wireless> <ipaddr>192.168.102.9</ipaddr> <subnet>22</subnet> <gateway>192.168.102.1</gateway> </wan> <opt1> <if>vr1</if> <descr>OPT1-ETH</descr> <ipaddr/> <subnet>31</subnet> <bridge/> </opt1> <opt2> <if>ath1</if> <wireless> <standard>11g</standard> <mode>hostap</mode> <ssid>HeartNet</ssid> <channel>11</channel> <wep> </wep> <wpa> <mode>none</mode> <version>1</version> <cipher>tkip</cipher> <psk/> <radius> <server/> <authport/> <acctport/> <secret/> </radius> </wpa> </wireless> <descr>OPT2-AP</descr> <ipaddr/> <subnet>31</subnet> <bridge>wan</bridge> <enable/> </opt2> </interfaces> <staticroutes/> <pppoe/> <pptp/> <dyndns> <type>dyndns</type> <username/> <password/> <host/> <mx/> <server/> <port/> </dyndns> <dnsupdate/> <dhcpd> <lan> <enable/> <range> <from>192.168.1.100</from> <to>192.168.1.199</to> </range> </lan> </dhcpd> <pptpd> <mode/> <nunits>16</nunits> <redir/> <localip/> <remoteip/> </pptpd> <dnsmasq> <enable/> </dnsmasq> <snmpd> <syslocation/> <syscontact/> <rocommunity>public</rocommunity> </snmpd> <diag/> <bridge/> <syslog/> <nat/> <filter> <rule> <type>pass</type> <interface>opt2</interface> <source> <any/> </source> <destination> <any/> </destination> <descr>OPT2-PassThru</descr> </rule> <rule> <type>pass</type> <descr>Default LAN -> any</descr> <interface>lan</interface> <source> <network>lan</network> </source> <destination> <any/> </destination> </rule> <rule> <type>pass</type> <descr>Default IPsec VPN</descr> <interface>ipsec</interface> <source> <any/> </source> <destination> <any/> </destination> </rule> <rule> <type>pass</type> <interface>wan</interface> <source> <any/> </source> <destination> <any/> </destination> <descr>WAN-PassThru</descr> </rule> </filter> <shaper/> <ipsec/> <aliases/> <proxyarp/> <wol/> </m0n0wall>
|