RE: multiple ip's?

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

 



Try the following command to add an additional ip address to the same interface:

/sbin/ip addr add <ipaddr> broadcast <broadcast-address> scope global dev <interface>

For example to add 192.168.1.2 to eth0.

/sbin/ip addr add 192.168.1.2/24 broadcast 192.168.1.255 scope global dev eth0 

This isn't specific to fedora, it works on most linux distributions with iproute-2 installed.


-----Ursprüngliche Nachricht-----
Von: Michael [mailto:mogmios@xxxxxxxxxxxxxxxxx] 
Gesendet: Dienstag, 18. Mai 2004 08:00
An: For users of Fedora Core releases
Betreff: multiple ip's?

I'm running Core 1 on one of my servers and I need to run multiple IP addresses on the same interface. Is there a standard way to do that in Fedora?





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

  Powered by Linux