[ previous ] [ next ] [ threads ]
 
 From:  "Barry Murphy" <barry at unix dot co dot nz>
 To:  "'m0n0wall Mailing List'" <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Adding alias ip to an interface
 Date:  Thu, 29 Apr 2004 23:21:05 +1200
Please correct me if I'm wrong ...

<interfaces>
 <lan>
 <if>dc0</if> 
 <ipaddr>10.23.15.2</ipaddr> 
 <subnet>24</subnet> 
 </lan>
 <lan>
 <if>dc0</if>
 <ipaddr>alias 10.23.14.2</ipaddr>
 </lan>
</interfaces>

Wanting to add a second IP address to the lan interface.

Which would be done in exec.php with:
ipconfig dc0 inet alias 10.23.14.2 255.255.255.0

Thanks
Barry