Re: multiple dummy interfaces?

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

 



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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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

  Powered by Linux