[systemd-devel] [networkd] Mixing DHCP & static IPs on 1 interface

Reindl Harald h.reindl at thelounge.net
Wed Feb 22 14:57:47 UTC 2017


please keep repsonses on the list

Am 22.02.2017 um 15:42 schrieb Ian Pilcher:
> On 02/21/2017 08:28 PM, Reindl Harald wrote:
>> since this should be all on the LAN side something is *very* unusual on
>> your setup - the firewall i setup at office is just a virtual machine
>> with a single NIC and is able to do NAT and filtering as well as
>> traffic-shaping (limit all workstations together to 80% of the WAN line)
>> with a single IP address - so i don't see any reason why your firewall
>> can't forward packages to your router independent of the WAN state on
>> the other side of the router
>
> It's not a matter for forwarding packets to a *router*.  I'm trying to
> get packets to go to the cable modem, which listens on that 192.168.X.X
> address - regardless of the actual public subnet

but i don't understand why it has a different IP address depending on 
the state of the WAN side - normally you talk to your modem over the LAN

"If I lose connectivity, however, my firewall doesn't have a default
route" - solve that

https://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/


More information about the systemd-devel mailing list