Sorry Lonnie
It would be another address in the same subnet as the address on the interface.
E.g. 192.168.168.254/24 and adding via ip a command 192.168.168.1/24.

Is this ok?

Regards
Michael Knill

On 24/6/19, 7:30 am, "Lonnie Abelbeck" <li...@lonnie.abelbeck.com> wrote:

    > No it would be another address in the /24 range on the interface.
    
    You might have firewall issues doing that.
    
    Best practice is to have only one subnet off an interface.
    
    If a /24 won't do possibly a /22 will.  The 'netcalc' command in AstLinux 
can be helpful.
    
    Lonnie
    
    
    
    > On Jun 23, 2019, at 3:54 PM, Michael Knill 
<michael.kn...@ipcsolutions.com.au> wrote:
    > 
    > Thanks Lonnie
    > No it would be another address in the /24 range on the interface.
    > 
    > Regards
    > Michael Knill
    > 
    > On 23/6/19, 11:49 pm, "Lonnie Abelbeck" <li...@lonnie.abelbeck.com> wrote:
    > 
    > 
    > 
    >> On Jun 23, 2019, at 12:35 AM, Michael Knill 
<michael.kn...@ipcsolutions.com.au> wrote:
    >> 
    >> Hi Group
    >> 
    >> I know there is EXTIP_ALIAS for WAN interfaces but how would I put on a 
secondary IP Address for a LAN interface?
    >> Do I need to use ‘ip addr add’ in rc.elocal?
    > 
    >    Hi Michael,
    > 
    >    Yes, rc.elocal would be the way to do that.
    > 
    >    I assume you are talking about adding a /32 .
    > 
    >    Lonnie
    > 
    > 
    > 
    > 
    >    _______________________________________________
    >    Astlinux-users mailing list
    >    Astlinux-users@lists.sourceforge.net
    >    https://lists.sourceforge.net/lists/listinfo/astlinux-users
    > 
    >    Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.
    > 
    > 
    > _______________________________________________
    > Astlinux-users mailing list
    > Astlinux-users@lists.sourceforge.net
    > https://lists.sourceforge.net/lists/listinfo/astlinux-users
    > 
    > Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.
    
    
    
    _______________________________________________
    Astlinux-users mailing list
    Astlinux-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/astlinux-users
    
    Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to