set secondary IP
Manuel Arostegui Ramirez
manuel at todo-linux.com
Mon Nov 13 22:12:31 UTC 2006
El Lunes, 13 de Noviembre de 2006 22:02, eng.waleed escribió:
> hi
> how can i set secondary ip for interface without need restart the server?
> BR
You can use an alias for your interface.
Your new interface with the new IP will be called like:
eth0:1 for example.
You can set up an alias using "ifconfig" using it like this way
ifconfig eth0:1 192.168.1.45 netmask 255.255.255.0 broadcast 192.168.1.255 up
And then if you makes /sbin/ifconfig you will see your "new" interface.
Hope this helps
Cheers
--
Manuel Arostegui Ramirez.
Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.
More information about the users
mailing list