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 192.168.1.0 netmask 255.255.255.0 gateway
192.168.1.254 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? |