Re: set secondary IP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux