multiple dummy interfaces?

Alexander Dalloz ad+lists at uni-x.org
Fri Mar 25 17:46:20 UTC 2005


Am Fr, den 25.03.2005 schrieb Jon August um 18:04:

> Thanks for the info.  I figured I was doing something the old way...

The dummy kernel module is still there ...

> Is there a difference between the method Alexander describes with ip
> and the method Paul describes with ifconfig?  Or is it two ways of
> doing the same thing?

>      -Jon

Yes, it is different what Paul and me described. While aliased devices
(Paul) are widely spread, this is the older route. Using ip from
iproute2 (me) is the modern way and already used to add the IPv6
information to the devices. Unfortunately the init scripts and mainly
the configuration options do not support to add IPv4 IPs to an interface
this way. The aliased devices can simply be added by creating
/etc/sysconfig/network-scripts/ifcfg-ethX:Y configuration files. You
could just copy an existing ifcfg-eth0 to ifcfg-eth0:0 and then changing
the relevant data in there. A "service network restart" will bring you
up the new eth0:0 device. (Attention: be careful if the machine is
remote and you edit these things and restart [stop/start] the network.)

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.770_FC2smp 
Serendipity 18:45:14 up 8 days, 16:41, load average: 0.77, 0.72, 0.56 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050325/4de6d04e/attachment-0001.sig>


More information about the fedora-list mailing list