FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

12677 questions

15063 answers

24127 comments

47077 members

0 votes
94 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,