Re: multiple dummy interfaces?

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

 



On Fri, 2005-03-25 at 10:53 -0500, Jon August wrote:
> I'm moving from an older redhat to FC3 and I had multiple IP addresses
> on the same ethernet interface. I could set up 2 or more dummy
> interfaces like this:
> 
> /sbin/insmod -o dummy0 /lib/modules/current/kernel/drivers/net/dummy.o 
> /sbin/insmod -o dummy1 /lib/modules/current/kernel/drivers/net/dummy.o 
> 
> /sbin/ifconfig dummy0 www.domain0.com up 
> /sbin/route add www.domain0.com dummy0 
> /sbin/arp -s www.domain0.com 00:AA:BB:AA:CC:DD pub 
> 
> /sbin/ifconfig dummy1 www.domain1.com up 
> /sbin/route add www.domain1.com dummy1 
> /sbin/arp -s www.domain1.com 00:AA:BB:AA:CC:DD pub 

Do you really need dummy interfaces, or could you use aliased interfaces
instead?

ifconfig eth0   1.2.3.4
ifconfig eth0:1 1.2.3.5

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


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

  Powered by Linux