With all this dhcpc craziness, how do I set 2 IPs? - Raspberry Pi Forums
taking account in stretch network interfaces not configured in /etc/network/interfaces anymore, rather should configured using configuration file bla bla bla (daemon service implementing client 1 of numerous tcp/ip protocols called dhcp), how set 2 static ip addresses physical interface?
i.e.
want able run dhcp client on wifi interface obtain dynamic wan address.
, want assign 192.168.0.1/24 eth0 dhcp server on (dnsmasq instance).
need logical network 10.0.0.1/8 on eth0 (without dhcp client/server sake of simplicity).
define eth0:1 , eth0:2 2 different static addresses. dhcpcd.conf should , therefor not understand such complex things. configures dhcp client. still able define eth0:1 in /etc/network/interfaces static ip, dhcpcd hate me , not work. if use denyinterfaces eth0, still fails surprisingly. need dhcp client working on wifi!
can add address manually "sudo ip addr add 10.0.0.1/8 dev eth0" want on boot. , don't want lame work-a-round ruining command using additional black magic.
there clear straightforward way in stretch set 2 static ip addresses used before?
side question: how make these interface on static address? /etc/network/interfaces able that, dhcpcd.conf not...
i.e.
want able run dhcp client on wifi interface obtain dynamic wan address.
, want assign 192.168.0.1/24 eth0 dhcp server on (dnsmasq instance).
need logical network 10.0.0.1/8 on eth0 (without dhcp client/server sake of simplicity).
define eth0:1 , eth0:2 2 different static addresses. dhcpcd.conf should , therefor not understand such complex things. configures dhcp client. still able define eth0:1 in /etc/network/interfaces static ip, dhcpcd hate me , not work. if use denyinterfaces eth0, still fails surprisingly. need dhcp client working on wifi!
can add address manually "sudo ip addr add 10.0.0.1/8 dev eth0" want on boot. , don't want lame work-a-round ruining command using additional black magic.
there clear straightforward way in stretch set 2 static ip addresses used before?
side question: how make these interface on static address? /etc/network/interfaces able that, dhcpcd.conf not...
ok, guess adding /etc/rc.local way.
great. moving interface settings related config 2 counterintuitive places... , i've wasted 3 days googling , trying this...
still: how make pigable when unplugged? please.
great. moving interface settings related config 2 counterintuitive places... , i've wasted 3 days googling , trying this...
still: how make pigable when unplugged? please.
raspberrypi
Comments
Post a Comment