Adding temporary ip to a network card on Linux

In Linux you can achive it by using the following command

ip address add (your_ip) 192.168.168.22/24 dev eth0 (dev – device)

to make it permanent use /etc/networks/interfaces

 

 

Advertisements