In /etc/conf.d/net, dhcp_eth0="release" is not releasing the IP address on /etc/init.d/net.eth0 stop. Manually doing dhcpcd --release works fine. It is not advised to do it in /etc/conf.d/local.stop as it disables network access before cleanly stopping network services on a reboot/poweroff. The objective is to maintain the same internal network IP address on a dual-boot machine. (originally posted on http://forums.gentoo.org/viewtopic-t-703433.html) Reproducible: Always Expected Results: I should see a DHCP RELEASE in the router's log when stopping net.eth0. # emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 i686) ================================================================= System uname: 2.6.24-gentoo-r3 i686 AMD Sempron(tm) 2500+ Timestamp of tree: Mon, 19 May 2008 13:36:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.3.6-r4, 2.5.1-r5 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="candy ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://cesium.di.uminho.pt/pub/gentoo/ ftp://ftp.rnl.ist.utl.pt/gentoo http://darkstar.ist.utl.pt/gentoo" LANG="en_US.UTF-8" LINGUAS="en pt es zh_CN ja" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=30" 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="/tmp/var" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-overlays/local /usr/local/portage-overlays/matsuu/secondlife" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aac acl acpi alsa ao arts audiofile avahi avi bash-completion berkdb bittorrent bzip2 caps cdparanoia cdr cjk cli cracklib crypt css cups cvs dbus divx4linux dri dv dvd dvdr dvdread encode fat ffmpeg fftw flac flash fortran ftp fuse gcc gcj gdbm ggi gif gpm hal hfs iconv ieee1394 imagemagick ipod ipv6 isdnlog jack java javascript jfs joystick jpeg jpeg2k kerberos ladspa lame latex ldap libclamav libsamplerate lirc logitech-mouse mad madwifi midi mikmod mmx mmx2 modplug moznopango mp3 mp4 mpeg mudflap musepack musicbrainz mysql mythtv nas ncurses netjack nls nptl nptlonly nsplugin ntfs nvidia oav ogg openal opengl openmp oss pam pam-mysql pcre pdf perl php png portaudio pppd python quicktime rdesktop readline real reflection reiser4 reiserfs ruby samba sdl sdl-sound session sid slp sndfile sox speex spl srvdir sse sse2 ssl subversion svg tcpd theora threads tiff truetype unicode usb v4l v4l2 vcd vim-syntax vorbis win32codecs wma x86 xfs xine xml xorg xv xvid xvmc zlib" ALSA_CARDS="emu10k1 via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics vmmouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt es zh_CN ja" LIRC_DEVICES="avermedia98" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa vmware vga v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
What version of dhcpcd do you have installed?
(In reply to comment #1) > What version of dhcpcd do you have installed? > net-misc/dhcpcd-3.2.3 USE="zerconf -vram"
I don't have a machine with baselayout-1 to test this on anymore, but this works fine for openrc-0.2.5 and dhcpcd-4.0.0_rc5, verified with wireshark.
Pedro, could you try to install openrc and report back if that works for you?