I'm trying to understand the relationship between:A networked Linux device; andThe physical NIC card located on that device (giving it the ability to be networked); andVarious Ethernet/Wi-fi network interfaces (eth0, eth1, wlan0, etc.); andIP addresses and portsFrom what I've collected, it appears that each interface (again, eth0, eth1, wlan0, etc.) are assigned their own unique IP. Meaning on my machine eth0 would have a different IP than, say, wlan1.But this contradicts my uderstanding that networked devices as a whole receive a single IP for the entire device.So which is it? Does a device get 1 IP used by all interfaces, or does each interface in fact get its own IP? If each gets its own, then what determines how many ports are available on that interface?
Device vs network interface IP addresses
networking;ip;ethernet