How would i create virtual interface in linux to configure more than one IP address for a physical interface?
any help wll be appreciated.
![]()
How would i create virtual interface in linux to configure more than one IP address for a physical interface?
any help wll be appreciated.
![]()
the "old" way is to do this:
ifconfig eth0:1 192.168.10.2 netmask 255.255.255.0
The "new" way is with the "rproute" toolset:
ip addr add 192.168.10.2/24 dev eth0
Got it?