Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114238 - Change iproute2_loopback_create to allow more IPs to loopback interface
Summary: Change iproute2_loopback_create to allow more IPs to loopback interface
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-02 01:20 UTC by hvjunk
Modified: 2005-12-02 05:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hvjunk 2005-12-02 01:20:17 UTC
HI there,

 All the modules appears to only allow a single IP (127.0.0.1) on the loopback
interface

 Yes, I agree that it's the "norm", however, just as the "norm" is a single IP
on eth0/eth1/etc., there are situations that makes the need for adding extra
IPs to the loopback interface usefull and needed. Ie. development of websites
where I can bind the IP to the lo interface while I'm coding under the trees
etc. and the eth0 and wlan0 interfaces are all down.

 This would mean that the lo interface is handled much the same way as the
normal interfaces in getting configuration information from /etc/conf.d/net.
Yes I'll agree that checking for the non-existance of _lo config information
would mean that the "Defaults" are accepted, are at least the defaults are
done in any case.

Reproducible: Always
Steps to Reproduce:
1. vi /etc/conf.d/net
2. add extra IPs for lo interface just like for eth0 interface
3. /etc/init.d/net.lo restart
4. ip addr 
Actual Results:  
extra IPs not added :(

Expected Results:  
extra IPs from /etc/conf.d/net added just like for eth0

Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r4 x86_64 Mobile AMD Athlon 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS=" ftp://ftp.is.co.za/linux/distributions/gentoo
ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://10.11.12.3/portage/"
USE="amd64 X a52 aac aalib acpi adns aim alsa amr apm applet arts
artswrappersuid auctex audiofile avi berkdb bitmap-fonts bluetooth bonobo
browserplugin bundled-libs buttons bzip2 cap cardbus cdda cddb cdio cdparanoia
cdr crypt cscope css cups curl dbus dbx dga dio divx4linux dmx dnd dts dv dvd
dvdr dvdread eds emboss emul-linux-x86 encode esd exif expat fam ffmpeg flac
font-server foomaticdb fortran fping freetype ftp gd gdbm gif glut gnome gpm
gstreamer gtk gtk2 gtkhtml high-ints httpd idn ieee1394 imagemagick imlib ipv6
java jpeg kde lcms libwww lm_sensors lzw lzw-tiff mhash mmap mng mozdevelop
mozilla mozsvg mp3 mpeg ncurses nls nptl ntfs ofx ogg oggvorbis on-the-fly-crypt
opengl openssl pam pam_chroot pam_console pcre pdf pdflib perl php png postgres
print python qt quicktime rar rdesktop readline real reiserfs rrdtool samba sdl
sensord session shorten skey sms sockets sox spell sse-filters ssl staticsocket
stroke subp subtitles svg symlink sysfs tcpd tetex theora threads tiff toolbar
transcode transparent-proxy truetype truetype-fonts type1 type1-fonts udev usb
userlocales vcd vcdimager vorbis wma123 wmf x11vnc xemacs xface xine xinerama
xml xml2 xmms xosd xpm xprint xscreensaver xv xvid xvmc zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Roy Marples (RETIRED) gentoo-dev 2005-12-02 05:39:24 UTC
You can do this with the entire baselayout-1.12 series in unstable.