-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

In Backfire and Trunk without netifd use alias sections:

  config interface lan
    option ifname eth0
    ...

  config alias lan2
    option interface lan
    option ipaddr 1.1.1.1
    option netmask 255.255.255.255


In trunk with netifd you can simply declare multipe interfaces sharing
the same device:

  config interface lan
    option ifname eth0
    ...

  config interface lan2
    option ifname eth0
    option proto static
    option ipaddr 1.1.1.1
    option netmask 255.255.255.0


~ Jow
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+yZVwACgkQdputYINPTPMIewCgoGzS5sFcEgFjf6IUSpOiV7HM
aP0An0Zr5O0wRPrZKm1Vdg+p6n5IzdF2
=iVHN
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to