[Cialug] Raspbian (Debian) force eth port

Barry Von Ahsen vonahsen at gmail.com
Mon Feb 20 18:29:14 CST 2017


I did this in /etc/network/interfaces back in the day (not wanting to
figure out udev rules), it's still working in jessie.  IDK if it will
work with raspian



iface eth0 inet dhcp
	hwaddress 00:30:bd:1c:d2:22

iface eth1 inet static
	<snip>
	hwaddress 00:1c:c4:71:17:b6

iface eth2 inet static
	<snip>
	hwaddress 00:a0:cc:58:60:7c



-barry



On 02/20/2017 01:34 PM, L. V. Lammert wrote:
> Have two USB NICs on a Pi (Jessie), .. and it seems like there are no udev
> rules to force that USB to a specific eth port.
> 
> Has anyone dealt with this? How do I force the specific HW to a specific
> eth port so it configs correctly?
> 
> 	Thanks!
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
> 



More information about the Cialug mailing list