Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 155925

Summary: multiple routes fails on baselayout-1.13.0_alpha7-r1
Product: Gentoo Linux Reporter: Pavel <nikulinpi>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pavel 2006-11-22 03:04:45 UTC
emerge --info
Portage 2.1.2_pre3-r6 (default-linux/x86/2006.1, gcc-4.1.1/vanilla, glibc-2.5.20061005-r0, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 AMD Athlon(tm) XP 2700+
Gentoo Base System version 1.13.0_alpha7
Last Sync: Tue, 21 Nov 2006 01:47:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.0-r2, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.20_alpha2
sys-devel/autoconf:  2.13, 2.60
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
sys-devel/binutils:  2.17.50.0.6
sys-devel/gcc-config: 2.0.0_beta2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=both"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/pro-audio /usr/portage/local/layman/xeffects /home/fubar/CPAN"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acl acpi adns alsa amr ao ati audiofile avahi bash-completion beagle berkdb bidi bitmap-fonts bluetooth bonjour bonobo bz2 bzip2 cairo cdda cddb cdparanoia cdr cjk cli corba cracklib crypt cups daap dbus djvu dlloader dts dv dvd dvdr dvi eds elibc_glibc encode esd evo exif fbcon firefox flac foomaticdb fortran freetype gaim gcj gdbm gif glitz gmp gnet gnome gnutls gpm gs gstreamer gtk gtk2 gtkhtml hal hashstyle icecast iconv idn ieee1394 input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_wacom ipv6 isdnlog ithreads java javascript jbig jingle jpeg justify kernel_linux keyring latex lcms ldap libg++ libnotify linguas_ru lirc_devices_all live lzo mad matroska mbox mikmod mmx mng mod mono mp3 mpeg nautilus ncurses network newspr nls nntp no-old-linux nomotif nptl nptlonly nsplugin nvtv ogg openal opengl optimisememory pam pam_console pango pcre pdf perl png ppds pppd print python readline real reflection rle rtsp ruby samba sdl session shout slp sofia-sip speex spell spl sqlite sse ssl startup-notification stream svg syslog t1lib tar tcpd theora threads tiff truetype truetype-fonts tryetype type1-fonts udev unicode upnp usb userland_GNU userlocales video_cards_nvidia vorbis win32codecs wmf x264 xcomposite xinetd xml xorg xosd xrandr xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
,-(~)-----------------------------------------------------------(fubar@MONSTER)-
`--> cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
dns_servers=( 208.67.220.220 80.73.64.251 )
hotplug="yes"
rename_eth0="adsl"
routes_adsl=(
        "80.73.64.224/31 via 192.168.1.1"
        "default via 192.168.1.2"
)
,-(~)-----------------------------------------------------------(fubar@MONSTER)
`--> cat /etc/conf.d/net.adsl
config_adsl=( "192.168.1.3" )
modules=( "!ccwgroup !iwconfig !arping !tuntap macchanger macnet rename !dhcp ifplugd ifconfig system !essidnet !iproute2 ip6to4 !pppd !wpa_supplicant !apipa" )
,-(~)-----------------------------------------------------------(fubar@MONSTER)-
`--> sudo route
Password:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 adsl
loopback        MONSTER.MSHOME  255.0.0.0       UG    0      0        0 lo
default         192.168.1.2     0.0.0.0         UG    0      0        0 adsl
Comment 1 SpanKY gentoo-dev 2006-11-26 11:35:07 UTC
post the output of running route with the -n as resolved names are useless to us

also, what does the output from the net startup look like ?
Comment 2 Pavel 2006-12-02 03:04:51 UTC
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 adsl
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo
0.0.0.0         192.168.1.2     0.0.0.0         UG    0      0        0 adsl
Comment 3 Pavel 2006-12-02 03:05:41 UTC
 * Service net.adsl stopping 
 * WARNING: you are stopping a boot service. 
 *   Stopping adsl 
 *     Loading networking modules for adsl 
 *       modules: apipa arping tuntap ccwgroup macchanger macnet rename
 *       ifplugd iwconfig wpa_supplicant iptunnel ifconfig iproute2
 *       pppd system dhclient dhcpcd ip6to4 
 *     Bringing down adsl 
 *       Stopping ifplugd on adsl ...                                    [ ok ]
 * Service net.adsl stopped 
 * Service net.adsl starting 
 *   Starting adsl 
 *     Loading networking modules for adsl 
 *       modules: macchanger macnet rename ifplugd iptunnel ifconfig
 *       system ip6to4 
 *         ifplugd provides plug 
 *         ifconfig provides interface 
 *     Configuring adsl for MAC address 00:50:70:92:42:F9 ...            [ ok ]
 *     Starting ifplugd on adsl ...                                      [ ok ]
 *       Backgrounding ... 
 * WARNING:  net.adsl has started but is inactive
Comment 4 Roy Marples (RETIRED) gentoo-dev 2006-12-06 15:01:30 UTC
> config_adsl=( "192.168.1.3" )

You forgot to specify a CIDR or netmask. Try

config_adsl=( "192.168.1.3/24" )
or
config_adsl=( "192.168.1.3 netmask 255.255.255.0" )

(both do the same thing BTW)