FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

13222 questions

15709 answers

25355 comments

49778 members

0 votes
108 views 1 comments
by
Hi All

We have a case and we need to have multiple secondary IPv4 Address in our LAN Side interface.

Anyone tried this and worked ?
by

In pre v7 firmwares you could find this under IP alias in the LAN configuration.

But in the current v7 this seems to be missing, but

1 Answer

0 votes
by
Hello,

Add aliases in /etc/config/network like:

config alias                                                            
        option interface 'lan'                                          
        option proto 'static'                                           
        option ipaddr '172.16.1.1'                                      
        option netmask '255.255.255.0'                                   

and execute /etc/init.d/network restart.

Regards,