I've been using manual aliased IPs for a while now, but I'm trying to configure the init script to do it for me now. I've configured /etc/conf.d/net with my IPs, and restart via '/etc/init.d/net.eth0 restart' and it looks ok, but ifconfig shows nothing. Reproducible: Always Steps to Reproduce: 1. Use this config in /etc/conf.d/net (replace xx's of course) ----- config_eth0=( "xx.xx.197.106/29" "xx.xx.197.107/29" "xx.xx.197.108/29" "xx.xx.197.109/29" "xx.xx.197.110/29" ) routes_eth0=( "default via xx.xx.197.105" ) -------- 2. /etc/init.d/net.eth0 restart 3. try to use aliased IPs Actual Results: It looks ok, but ifconfig shows no aliased interfaces: -------- * Stopping eth0 * Bringing down eth0 * Shutting down eth0:4 ... [ ok ] * Shutting down eth0:3 ... [ ok ] * Shutting down eth0:2 ... [ ok ] * Shutting down eth0:1 ... [ ok ] * Shutting down eth0 ... [ ok ] * Starting eth0 * Bringing up eth0 * xx.xx.197.106/29 [ ok ] * xx.xx.197.107/29 [ ok ] * xx.xx.197.108/29 [ ok ] * xx.xx.197.109/29 [ ok ] * xx.xx.197.110/29 [ ok ] * Adding routes * default via xx.xx.197.105 ... [ ok ] ----------- # ifconfig eth0 Link encap:Ethernet HWaddr 00:02:55:57:d9:03 inet addr:xx.xx.197.106 Bcast:xx.xx.197.111 Mask:255.255.255.248 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:13237 errors:0 dropped:0 overruns:0 frame:0 TX packets:11215 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2148910 (2.0 MiB) TX bytes:2021652 (1.9 MiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2803 errors:0 dropped:0 overruns:0 frame:0 TX packets:2803 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:812549 (793.5 KiB) TX bytes:812549 (793.5 KiB) -------- Expected Results: After doing it manually it looks like this: # ifconfig eth0 Link encap:Ethernet HWaddr 00:02:55:57:d9:03 inet addr:xx.xx.197.106 Bcast:xx.xx.197.111 Mask:255.255.255.248 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:14756 errors:0 dropped:0 overruns:0 frame:0 TX packets:12521 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2463809 (2.3 MiB) TX bytes:2182720 (2.0 MiB) eth0:1 Link encap:Ethernet HWaddr 00:02:55:57:d9:03 inet addr:xx.xx.197.107 Bcast:xx.xx.197.111 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 eth0:2 Link encap:Ethernet HWaddr 00:02:55:57:d9:03 inet addr:xx.xx.197.108 Bcast:xx.xx.197.111 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 eth0:3 Link encap:Ethernet HWaddr 00:02:55:57:d9:03 inet addr:xx.xx.197.109 Bcast:xx.xx.197.111 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 eth0:4 Link encap:Ethernet HWaddr 00:02:55:57:d9:03 inet addr:xx.xx.197.110 Bcast:xx.xx.197.111 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:3211 errors:0 dropped:0 overruns:0 frame:0 TX packets:3211 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:957154 (934.7 KiB) TX bytes:957154 (934.7 KiB) eth0 is using the e100 driver, compiled into the kernel Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.24-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.24-gentoo-r4-i686-Intel-R-_Pentium-R-_4_CPU_1.80GHz-with-glibc2.0 Timestamp of tree: Mon, 29 Jun 2009 08:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.4.4-r9, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl apache2 bash-completion berkdb bzip2 cli cracklib crypt dri fortran gd gdbm gpm iconv ipv6 isdnlog ldap midi mudflap mysql ncurses nptl nptlonly openmp pam pam_chroot pam_timestamp pcre perl postgres pppd python readline reflection session spl ssl sysfs tcpd unicode vhosts x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
baselayout probably uses iproute which adds ip address properly, but doesnt use classic "aliases". review the output of `ip addr show` to see all the addresses that were bound to your interface.