2 IPs on one nic

Manuel Aróstegui manuel at todo-linux.com
Fri Apr 18 19:01:43 UTC 2008


El vie, 18-04-2008 a las 20:48 +0200, Patrick Derwael escribió:
> Hi list
> 
>  
> 
> Can someone tell me how to add a 2nd IP adress to a nic and ensure
> that 2nd IP is kept after a reboot
> 
> Tried ifconfig eth0 add aaa.bbb.ccc.ddd, but the IP is dropped after
> reboot
> 
>  
> 
> Any idea ??


You'd have to create 
ifcfg-eth0:1 file to add a virtual ip to your eth0

Create that file and copy the same things you have in ifcfg-eth0 just
change the IP and put whatever IP you want.

Hope this helps
Manuel.

-- 
Manuel Arostegui Ramirez.

Electronic Mail is not secure, might not be read every day, and should not
be used for urgent or sensitive issues.




More information about the users mailing list