A question to Michael Knill, can you help us understand why you want to add an additional IP to a LAN ?
A comment, when adding network commands to rc.elocal, it is best to use 'ip' (iproute2) instead of 'ifconfig' (busybox). So, if for some reason you want to add 192.168.99.1/32 to eth1, simply: -- ip addr add 192.168.99.1/32 dev eth1 -- If for some reason you want it to look like an old-style ifconfig 'alias' with label 'eth1:1', add the label: -- ip addr add 192.168.99.1/32 dev eth1 label eth1:1 -- Lonnie > On Oct 13, 2020, at 3:03 AM, Michael Keuter <[email protected]> wrote: > > > >> Am 13.10.2020 um 06:16 schrieb Michael Knill >> <[email protected]>: >> >> Hi Group >> >> Is there a way to add a secondary LAN IP Address with Astlinux? >> I cant see an INTIP_ALIAS variable! >> >> Regards >> Michael Knill > > https://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/ > > You have to add this to rc.elocal to make it persistent. > > Michael > > http://www.mksolutions.info > > > > > > _______________________________________________ > Astlinux-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > [email protected]. > > _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [email protected].
