dozment
Posts: 2
Joined: Mon May 25, 2015 8:49 pm

Need Help Setting Up Second IP Address on ETH0

Mon Mar 04, 2019 3:18 am

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.

montybrock
Posts: 1
Joined: Sun Mar 24, 2019 4:08 am

Re: Need Help Setting Up Second IP Address on ETH0

Sun Mar 24, 2019 4:11 am

Hi,

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

Return to “Beginners”