Hi... I want to set more IP addresses on LAN interface. Can I use VLANs?
I tried this:
<interfaces> <lan> <if>em0</if> <ipaddr>128.20.2.2</ipaddr> <subnet>23</subnet> <media/> <mediaopt/> </lan>
<wan> <if>fxp0</if> <mtu/> <media/> <mediaopt/> <spoofmac/> <ipaddr>xx.xx.xx.xx</ipaddr> <subnet>29</subnet> <gateway>yy.yy.yy.yy</gateway> </wan>
<opt1> <descr>OPT1</descr> <if>fxp1</if> <ipaddr>192.168.10.253</ipaddr> <subnet>24</subnet> <bridge/> <enable/> </opt1>
<opt2> <descr>OPT2</descr> <if>vlan0</if> <ipaddr>192.168.50.1</ipaddr> <subnet>24</subnet> <bridge/> <enable/> </opt2> </interfaces> . . . <vlans> <vlan> <if>em0</if> <tag>1</tag> <descr/> </vlan> </vlans>
but i cant ping opt2 interface... in firewall i allowed everything
<rule> <type>pass</type> <interface>opt2</interface> <source> <any/> </source> <destination> <any/> </destination> <descr/> </rule>
can u tell me whats wrong?
|