[ previous ] [ next ] [ threads ]
 From:  "hercovanbrug at gmail dot com" <hercovanbrug at gmail dot com>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Secondary IP address on LAN interface
 Date:  Sun, 12 Mar 2006 00:22:22 +0100
i have a setup that uses multiple IP segments on the LAN interface. to 
have both segments work i added 1 IP the regular way and one in the 
<shellcmd> section of the <system> section of the config.xml
    <shellcmd>ifconfig vxn0 netmask gateway alias</shellcmd>
and after adding a static route on the LAN pointing towards itself as 
gateway, it works like a charm.

but when something happens to the network stack, like a vpn connection 
or pptp or whatever, the secondary IP address is lost..

anybody know how to get this done to keep this working?