More then one IP Address

Hi,

do anyone have an Idea how I can add more (in total 4) local IP’s to the eth0 interface?
i need it for my TVH setup.

Regards,
Tom

Hello

You can add another IP address via the command line with

sudo -s
ip address add 192.168.1.2/24 dev eth0
ip address add 192.168.1.3/24 dev eth0
ip address add 192.168.1.4/24 dev eth0

This is only temporary. If you wish for this to be permanent, you could copy the IP commands in to /etc/rc.local, assuming that your Ethernet link does not frequently go down / you don’t change networks often.

Sam

I already have try it, but iproute is not installed. So I get only the error

bash: ip: command not found

Can I install iproute without problems?

Yes, iproute is just a program which by itself doesn’t harm anything
sudo apt-get install iproute2