Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87268 - Route add when using iface_ethx instead of ifconfig_ethx
Summary: Route add when using iface_ethx instead of ifconfig_ethx
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-30 06:38 UTC by Franc SERRES
Modified: 2005-04-19 02:29 UTC (History)
0 users

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


Attachments
add support of bonding, plus correction of alias bug than create bad route (net.eth0,9.96 KB, patch)
2005-04-19 02:29 UTC, Franc SERRES
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Franc SERRES 2005-03-30 06:38:03 UTC
with 2 interfaces networks and more when declare iface_eth0 and iface_eth1
the script ? /etc/init.d/net.ethx add route class A of interface.
But with ifconfig_eth0 and ifconfig_eth1 is working well.

Reproducible: Always
Steps to Reproduce:
1.vi /etc/conf.d/net
2.iface_eth0="..."
3.iface_eth1="..."
4.gateway="..."

Actual Results:  
>route
...
Destination             Passerelle           Genmask      .....
xxx.xxx.xxx.0                *            255.255.254.0   .....
xxx.0.0.0                    *            255.0.0.0       .....
...
default               xxx.xxx.xxx.xxx     0.0.0.0         .....


Wan connection is broken :(
When using ifconfig_ethx instead iface_ethx is ok ;)
Comment 1 SpanKY gentoo-dev 2005-03-30 07:27:28 UTC
what version of baselayout ?  you neglected to provide `emerge info` like you were supposed to ...
Comment 2 SpanKY gentoo-dev 2005-04-02 00:11:32 UTC
get back to us
Comment 3 Franc SERRES 2005-04-19 02:29:13 UTC
Created attachment 56644 [details, diff]
add support of bonding, plus correction of alias bug than create bad route

Sorry, I'm new user.

emerge info =

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
Python: 	     dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 28 2005,
11:57:04)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/fax /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control
/var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 aalib acl apache2 audiofile avi berkdb bitmap-fonts bzlib caps cpdflib
crypt cscope cups curl dba dbase dbx doc emboss encode ethereal exif fam
fastcgi fftw flac flash foomaticdb fortran freetds ftp gcj gd gif gignac gpm
gstreamer guile ifc imagemagick imap imlib innodb ipv6 jabber java jikes jpeg
junit kerberos krb4 ladcca lcms ldap libg++ libwww mad maildir mailwrapper mbox
mcal mcve memlimit mhash mikmod milter mime ming mmap mmx mng motif mp3 mpeg
mpi msession mssql mysql mysqli ncurses netcdf nhc98 nls nocardbus nptl odbc
offensive oggvorbis openal opengl oscar oss pam pcntl pcre pdflib perl pfpro
php plotutils png postgres prelude python quicktime readline recode samba sasl
scanner session shared simplexml slp snmp soap sockets socks5 speex spell spl
sqlite sse ssl svg svga sysvpic szip tcpd tetex theora tidy tiff tokenizer
truetype truetype-fonts type1-fonts unicode usb userlocales vhosts videos wmf
xface xml xml2 xmlrpc xmms xpm xsl xv yaz zlib linguas_fr"
Unset:	ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY