help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I have a static IP on one NIC and DHCP on the other?


From: divoplade
Subject: Re: How can I have a static IP on one NIC and DHCP on the other?
Date: Tue, 05 Jan 2021 23:08:01 +0100
User-agent: Evolution 3.34.2

Hello Katherine,

Le mardi 05 janvier 2021 à 15:49 -0600, Katherine Cox-Buday a écrit :
> Is it possible to define an operating-system which runs DHCP on one
> NIC,
> and has a static address on the other?

For a slightly different problem (adding a static ipv6 on the same
interface, [1]), I ended up creating a service that just did "ip
address add dev <device> <address>" on startup, and it seems to work.
Maybe you can do something similar? The "ip" program is from the
iproute package, defined in (gnu packages linux).

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44571

Hoping that it helps.

divoplade

Attachment: static-ipv6.scm
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]