Re: Multiple DHCP'd addresses on one NIC

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

 



On Sat, 2005-12-03 at 00:43 +0100, Alexander Dalloz wrote:
> Am Sa, den 12.03.2005 schrieb Aaron O'Hara um 0:07:
> Ok :) Then you won't make them angry if they detect what you do.
> Untested, but you may try to use aliased devices, by multiplying the
> existing eth0 device: copy the existing ifcfg-eth0 configuration file
> for each aliased device, like
> 
> cp -a /etc/sysconfig/network-scripts/ifcfg-eth0
> /etc/sysconfig/network-scripts/ifcfg-eth0:0
> 
> Do so for ifcfg-eth0:1 and ifcfg-eth0:2. Edit the content of these files
> as far as unique information is stored in there. Keep the HWADDR. Then a
> 
> service network restart eth0
> 
> should bring the devices up - if all goes well. Be aware that iptables
> can not handle aliased device names (like eth0:0).
> 
> Alexander

I'm going to try what you've suggested this weekend.

Is there any way to provide firewall services on aliased devices?

-- Aaron


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

  Powered by Linux