I would like to setup multiple IP’s on the same interface.
i.e.
eth0 192.168.0.10
eth0:0 192.168.0.11
I searched, found and reviewed a thread for a similar question, but it did not address my issue.
In that thread they recommended:
set interfaces ethernet eth0 address 198.99.192.164/32
set interfaces ethernet eth0 vif 0 address 198.99.192.165/32
When I tried this I got an error on commit
[code][ interfaces ethernet eth0 vif 0 ]
RTNETLINK answers: Operation not permitted
Error creating VLAN device eth0.0
[[interfaces ethernet eth0 vif 0]] failed
Commit failed[/code]
When looking at the error message and command expansion options it seems that the example above was for defining a vlan interface instead of just a virtual network interface.
So, is there a way to create a virtual network interface?
Thanks