Ask Your Question

Revision history [back]

You could use IP aliasing in that case (eth0:0 , eth0:1 , eth0:2 ), although all traffic will pass through the same NIC.

If you are working in a proof-of-concept or test case it will be reasonable.

In Ubuntu edit /etc/network/interfaces

auto eth0:1

iface eth0:1 inet static

address x.x.x.x

netmask y.y.y.y