/etc/interfaces for logical interfaces
I read man interfaces but didn't understand completely.
I have a laptop with 1 interface eth0, and I want 2 setups: at work with inet
dhcp, at home (to exchange data with my PC) inet static with a certain IP. (If I
understand correctly that is what they call 'logical interfaces'.)
What must I write in /etc/interfaces so that I can do e. g.
ifup eth0-home (eth0=home ?)
to start eth0 with the desired settings?