Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
SuSE 9.1 multiple IP woes (desperate!)
  • From: root@xxxxxxxxxxxxxxxxx
  • Date: Sat, 22 May 2004 10:11:20 -0400
  • Message-id: <20040522141120.GA16328@xxxxxxxxxxxxx>
Hi,

I'm at wit's end here. I've added a network config file for the
additional interface in /etc/sysconfig/network called ifcfg-eth1:0
and on the boot I get this error message:

etting up network interfaces:
lo
lo IP address: 127.0.0.1/8
done eth0 device: 3Com Corporation 3c905 100BaseTX [Boomerang]
eth0 configuration: eth-id-00:60:08:9a:8f:70
eth0 IP address: 69.55.227.107/24
done eth1 device: Intel Corp. 82801BD PRO/100 VE (LOM) Ethernet
Controller (rev 81)
eth1 configuration: eth-id-00:0c:f1:fa:71:d7
eth1 IP address: 69.55.227.101/24
doneWaiting for mandatory devices: eth1:0
19 18 17 16 15 14 13 11 10 9 8 7 6 5 4 3 2 1 0
eth1:0 interface could not be set up
failedSetting up service network . . . . . . . . . . . . .
. . .failed

My ifcfg-eth1:0 file looks like this:

PADDR='69.55.227.108'
NETMASK='255.255.255.0'
NETWORK='69.55.227.0'
STARTMODE=onboot


So I figured, okay I'll kludge it and I added a script to run ifconfig
to add the interfaces. I've tried running the script in run level 2 and
run level 3. I tried running the script out of boot.local. It didn't
work at any level. I get the following error message:

Adding network interfaces...<notice>startproc: execve (/sbin/ifconfig) [
/sbin/ifconfig eth0:0 69.55.227.102 netmask 255.255.255.0 broadcast
69.55.227.255 up ], [ CONSOLE=/dev/console SHELL=/bin/sh
TERM=linux progress=19 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1
COLUMNS=80 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin
DO_CONFIRM= vga=0x311 RUNLEVEL=S PWD=/ PREVLEVEL=N LINES=30 kscripts=45
SHLVL=3 sscripts=45 splash=silent _=/sbin/startproc
DAEMON=/sbin/ifconfig ]
SIOCSIFADDR: No such device
eth0:0: unknown interface: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth0:0: unknown interface: No such device
eth0:0: unknown interface: No such device
startproc: exit status of parent of /sbin/ifconfig: 255
<notice>startproc: execve (/sbin/ifconfig) [ /sbin/ifconfig eth0:1
69.55.227.103 netmask 255.255.255.0 broadcast 69.55.227.255 up ], [
CONSOLE=/dev/console SHELL=/bin/sh TERM=linux progress=19
INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=80
PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin DO_CONFIRM= vga=0x311
RUNLEVEL=S PWD=/ PREVLEVEL=N LINES=30 kscripts=45 SHLVL=3 sscripts=45
splash=silent _=/sbin/startproc DAEMON=/sbin/ifconfig ]
SIOCSIFADDR: No such device
eth0:1: unknown interface: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth0:1: unknown interface: No such device
eth0:1: unknown interface: No such device
startproc: exit status of parent of /sbin/ifconfig: 255

But here's the thing: If I log on right after the boot and run the
script, it works perfectly fine. So I know the script works, but it
doesn't work on the boot. What am I doing wrong????

TIA,
Jeff



< Previous Next >
Follow Ups