Page 1 of 1

Need Help Setting Up Second IP Address on ETH0

Posted: Mon Mar 04, 2019 3:18 am
by dozment
Trying to create a virtual interface so that I can assign a second IP to eth0 on a Pi B+ running Raspbian Stretch. I've seen references to setting it up in dhcpcd.conf and interfaces, but nothing I've tried seems to be working. Basically, I need:

eth0 = 10.0.0.2/24 with a gateway of 10.0.0.1 and
eth0:1 = 172.16.0.20/24 with no default gateway

Can anyone help me with config files or documentation? I've spent the day searching and reading.

Re: Need Help Setting Up Second IP Address on ETH0

Posted: Sun Mar 24, 2019 4:11 am
by montybrock
Hi,

I also want to do the configuration using the same IP address. Does anyone solve the problem? 10-0-0-0-1.com