How can I configure multiple ethernet ports system to have multiple IP addresses on each ports in same network?

In a system with multiple Ethernet ports, I’d like to assign different IPs on each ports, but want them to be in a same subnet. The system is QNX7 but, I’d like to know for linux(debian,ubuntu,…) also. How can I do this settings/configurations? F.Y.I. This system will be a node in ethercat network and/or ethernet…

Details

Puppet Package class can’t detect installed package when multiple versions are present

I am trying to install the kernel-devel package matching the running kernel version. My guess was: package { ‘kernel-devel’: ensure => “${facts[‘kernelrelease’]}”, } but it doesn’t work if more than one kernel-devel package are already installed. This is the error I get: Error: Could not update: Failed to update to version 3.10.0-957.21.3.el7.x86_64, got version 3.10.0-957.21.3.el7;…

Details