IP aliasing
Kimmo Koivisto
koippa at gmail.com
Wed Dec 13 20:56:46 UTC 2006
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
More information about the fedora-list
mailing list