iproute2

Patrick Boutilier boutilpj at ednet.ns.ca
Wed Dec 8 20:28:50 UTC 2004


Mezei Zoltan wrote:
> Hi!
> 
> I would like to use a network card with 2 IP addresses assigned like:
> ip addr add 10.0.2.1 dev eth0
> ip addr add 192.168.2.1 dev eth0
> How do I do it with the fedora network scripts in /etc/sysconfig/net*? 
> Or should I use a custom init script?


Create a file called /etc/sysconfig/network-scripts/ifcfg-eth0:0 and put 
the correct information in it for your second IP.




More information about the fedora-list mailing list