Re: IP aliasing

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

 



On Wednesday 13 December 2006 21:51, Terry Polzin wrote:
> Does anyone still use this?
Yes, not alias interfaces (eth0:1 style) but secondary addresses, that can be 
controlled by ip-command or /etc/sysconfig/network-scripts/eth0-foobar 
scripts, example:
DEVICE=eth0
BOOTPROTO=none
IPADDR=192.168.0.5
NETMASK=255.255.255.0
ONBOOT=yes

/etc/sysconfig/network-scripts/eth0 can have the same device definition, 
example:

DEVICE=eth0
BOOTPROTO=none
IPADDR=192.168.0.4
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet

Beware that ifconfig is able to show only old style alias interfaces. For 
secondary addresses, use command 
#ip a s

> Is it compiled into the default kernel?
Yes

Best Regards
Kimmo Koivisto


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

  Powered by Linux