Hi David, Good thoughts, I don't see a reason you would want to do this except for legacy migration or such.
But your network understanding of this topic seems correct to me. > What about a request initiated from Astlinux to an internal LAN device... say > ping 192.168.168.99 from Astlinux... will that come from .1 or .254? Can it > be specified? And would I even care? I think you can define a route with a source address, but without that probably the first occurring in "ip a" would be used. Lonnie > On Jun 23, 2019, at 5:15 PM, David Kerr <[email protected]> wrote: > > How does this work? > > If my INTIF has both 192.168.168.1 and 192.168.168.254 then I assume that any > device on the local LAN could chose to connect to either of these IP > addresses and all would be well. So any device on the LAN could ping to > either .1 or .254 and get a reply. Am I correct in thinking that Astlinux > would "reply" from the address that was used... so if I go to the web > interface at 192.168.168.254 then Astlinux will reply from that and not from > 192.168.168.1, or if I ping .254 then the reply will come from .254. > > What about a request initiated from Astlinux to an internal LAN device... say > ping 192.168.168.99 from Astlinux... will that come from .1 or .254? Can it > be specified? And would I even care? > > Just wondering what the practical uses of this are. > > Thanks > David > > > On Sun, Jun 23, 2019 at 5:40 PM Lonnie Abelbeck <[email protected]> > wrote: > > Is this ok? > > Yes, that should work. > > Lonnie > > > > On Jun 23, 2019, at 4:36 PM, Michael Knill > > <[email protected]> wrote: > > > > 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" <[email protected]> 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 > >> <[email protected]> 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" <[email protected]> wrote: > >> > >> > >> > >>> On Jun 23, 2019, at 12:35 AM, Michael Knill > >>> <[email protected]> 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 > >> [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]. > > > > > > > > _______________________________________________ > > 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]. > > > > _______________________________________________ > 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]. _______________________________________________ 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].
