News: This forum is now permanently frozen.
Pages: [1]
Topic: more IP addresses on LAN  (Read 1492 times)
« on: February 05, 2008, 07:59:57 »
grief *
Posts: 3

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?
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines