General user support mailing list

4 3

[alpine-user] Additional loopback adapter

Matt Schwartz
Details
Message ID
<CAFx7Uz3f0_KGfFepJtMizdC15dWVVO4TGn-08MmB7Sfoe9j2JQ@mail.gmail.com>
Sender timestamp
1561654725
DKIM signature
missing
Download raw message
Is it possible to define an additional loopback adapter in Alpine?
Matt Schwartz
Details
Message ID
<CAFx7Uz2OYd91EF5TWua98c0pJYqwG92wKCZMATHXPaG22cEUzA@mail.gmail.com>
In-Reply-To
<DB8PR03MB61726D6033CB5DC7C0EC608DEEFD0@DB8PR03MB6172.eurprd03.prod.outlook.com> (view parent)
Sender timestamp
1561661475
DKIM signature
missing
Download raw message
Yes, like Free- and OpenBSD. So I am guessing that you cannot do routing
domains and VRFs with Alpine then?

On Thu, Jun 27, 2019 at 2:46 PM Adam Růžička <a.ruzicka@outlook.com> wrote:

> Do you mean like on freebsd where you can have lo0, lo1 and so on? In this
> sense I guess no. But you can create additional network namespaces and each
> of those namespaces gets its own loopback interface. You could probably
> also create a bridge interface, set it up, add an address to it and use
> that as a loopback, but ymmv.
>
> -- Adam
>
> On Thu, Jun 27, 2019 at 6:58 PM Matt Schwartz <matt.schwartz01@gmail.com>
> wrote:
>
>> Is it possible to define an additional loopback adapter in Alpine?
>>
>
Adam Růžička
Details
Message ID
<DB8PR03MB61726D6033CB5DC7C0EC608DEEFD0@DB8PR03MB6172.eurprd03.prod.outlook.com>
In-Reply-To
<CAFx7Uz3f0_KGfFepJtMizdC15dWVVO4TGn-08MmB7Sfoe9j2JQ@mail.gmail.com> (view parent)
Sender timestamp
1561661184
DKIM signature
missing
Download raw message
Do you mean like on freebsd where you can have lo0, lo1 and so on? In this sense I guess no. But you can create additional network namespaces and each of those namespaces gets its own loopback interface. You could probably also create a bridge interface, set it up, add an address to it and use that as a loopback, but ymmv.

-- Adam

On Thu, Jun 27, 2019 at 6:58 PM Matt Schwartz <matt.schwartz01@gmail.com<mailto:matt.schwartz01@gmail.com>> wrote:
Is it possible to define an additional loopback adapter in Alpine?
Adam Růžička
Details
Message ID
<DB8PR03MB6172316DAF980DD605372957EEFD0@DB8PR03MB6172.eurprd03.prod.outlook.com>
In-Reply-To
<CAFx7Uz2OYd91EF5TWua98c0pJYqwG92wKCZMATHXPaG22cEUzA@mail.gmail.com> (view parent)
Sender timestamp
1561664553
DKIM signature
missing
Download raw message
I wouldn't dismiss it so quickly, I'm pretty sure it could be done with network namespaces and veth interfaces. But maybe someone else on the list has more experience.

-- Adam

On Thu, Jun 27, 2019 at 8:51 PM Matt Schwartz <matt.schwartz01@gmail.com<mailto:matt.schwartz01@gmail.com>> wrote:
Yes, like Free- and OpenBSD. So I am guessing that you cannot do routing domains and VRFs with Alpine then?

On Thu, Jun 27, 2019 at 2:46 PM Adam Růžička <a.ruzicka@outlook.com<mailto:a.ruzicka@outlook.com>> wrote:
Do you mean like on freebsd where you can have lo0, lo1 and so on? In this sense I guess no. But you can create additional network namespaces and each of those namespaces gets its own loopback interface. You could probably also create a bridge interface, set it up, add an address to it and use that as a loopback, but ymmv.

-- Adam

On Thu, Jun 27, 2019 at 6:58 PM Matt Schwartz <matt.schwartz01@gmail.com<mailto:matt.schwartz01@gmail.com>> wrote:
Is it possible to define an additional loopback adapter in Alpine?
Marco Dickert
Details
Message ID
<20190628055704.GB775@marco.themis.pinknet.de>
In-Reply-To
<CAFx7Uz3f0_KGfFepJtMizdC15dWVVO4TGn-08MmB7Sfoe9j2JQ@mail.gmail.com> (view parent)
Sender timestamp
1561701424
DKIM signature
missing
Download raw message
On 2019-06-27 12:58:45, Matt Schwartz wrote:
> Is it possible to define an additional loopback adapter in Alpine?

AFAIK, you can't. This is not related to alpine but to the kernel. But why would
you need an additional loopback interface? You could either use multiple IPs on
the existing loopback interface, or alternatively add some dummy or bridge
interfaces.

-- 
Marco Dickert
marco@misterunknown.de
https://misterunknown.de