LinuxForum.Fans
Тема

Проблема с таблицей маршрутизации (Suse 9)

Автор: bambam 1 сообщений 2313 просмотров
#303529

Доброго времени суток! Есть проблема с таблицей маршрутизации. При перезапуске она очищается по дефолту. Плюс порт ETH2 административно блокируется. Приходится вручную прописывать маршруты:

route add -net 129.9.0.0 netmask 255.255.0.0 bond1
route add -net 0.0.0.0 netmask 0.0.0.0 gw 129.9.20.254 bond1

Поднимать интерфейс ETH2 :

ifconfig eth2 up

ifconfig eth2 192.168.1.1 netmask 255.255.255.0

В нужном виде таблица выглядит следующим образом:

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3
129.9.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bond1
80.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 vlan1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 129.9.20.254 0.0.0.0 UG 0 0 0 bond1

После перезагрузки она очищается до следующего вида:

192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3
80.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 vlan1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo


Ниже указываю лог загрузки ОС с проблемными местами.

text

INIT: Entering runlevel: 3

Boot logging started on /dev/tty1(/dev/console) at Thu Feb 14 16:09:34 2013

Master Resource Control: previous runlevel: N, switching to runlevel: 3 <notice>start services (random IPMISTARTDEAMOND.sh Initializing random number generatordone isdn fusion.mptctl coldplug ECCSTARTDEAMOND.sh)Starting MPT Fusion (ctl) drivers: done insmod ECC driver successfully coldplug scanning input: *done scanning pci: ***********************.*****Wdone scanning usb: done . . . . . . . . . . . . . . . . . . . . . . . .done <notice>exit status of (random isdn fusion.mptctl coldplug IPMISTARTDEAMOND.sh ECCSTARTDEAMOND.sh) is (0 0 0 0 0 0) <notice>start services (network) Waiting for network module up ................ Setting up network interfaces: lo lo IP address: 127.0.0.1/8 done eth0 device: Intel Corporation Enterprise Southbridge DPT LAN SERDES (rev 01) eth0 No configuration found for eth0 unused eth1 device: Intel Corporation Enterprise Southbridge DPT LAN SERDES (rev 01) eth1 No configuration found for eth1 unused eth2 device: Broadcom Corporation: Unknown device 1678 (rev a3) eth2 No configuration found for eth2 unused eth3 device: Broadcom Corporation: Unknown device 1678 (rev a3) eth3 configuration: eth-id-00:18:82:98:9d:3b eth3 IP address: 192.168.10.121/24 done eth4 device: Broadcom Corporation: Unknown device 1678 (rev a3) eth4 No configuration found for eth4 unused eth5 device: Broadcom Corporation: Unknown device 1678 (rev a3) eth5 No configuration found for eth5 unused

Waiting for mandatory devices: bond1.bak eth-id-00:18:82:98:9d:3b.bak eth-id-00:18:82:9f:ed:7a __NSC__ 5 4 3 2 1 0 eth-id-00:18:82:98:9d:3b.bak No interface found failed eth-id-00:18:82:9f:ed:7a No interface found failed bond1.bak interface could not be set up failed bond0 bond0 enslaving interfaces: eth0 eth1 bond0 IP address: 0.0.0.0/24 as bonding master done bond1 bond1 enslaving interfaces: eth4 eth5 bond1 IP address: 129.9.20.51/16 as bonding master done vlan1 vlan1 IP address: 80.168.3.50/8 doneSetting up service network . . . . . . . . . . . . . . . .failed <notice>exit status of (network) is (7) <notice>start services (syslog) Starting syslog services<notice>startproc: execve (/sbin/syslogd) [ /sbin/syslogd -a /var/lib/ntp/dev/log ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=27 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=80 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUNLEVEL=3 resume=/dev/sda5 PWD=/ PREVLEVEL=N LINES=25 HOME=/ SHLVL=2 splash=silent sscripts=46 _=/sbin/startproc DAEMON=/sbin/syslogd ] <notice>startproc: execve (/sbin/klogd) [ /sbin/klogd -c 1 -2 -x ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=27 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=80 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUNLEVEL=3 resume=/dev/sda5 PWD=/ PREVLEVEL=N LINES=25 HOME=/ SHLVL=2 splash=silent sscripts=46 _=/sbin/startproc DAEMON=/sbin/klogd ] done <notice>exit status of (syslog) is (0) <notice>start services (omud) Starting mbsc daemondone <notice>exit status of (omud) is (0) <notice>start services (splash_early resmgr portmap) <notice>startproc: execve (/sbin/resmgrd) [ /sbin/resmgrd ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=29 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=80 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUNLEVEL=3 resume=/dev/sda5 PWD=/ PREVLEVEL=N LINES=25 HOME=/ SHLVL=2 splash=silent sscripts=46 _=/sbin/startproc DAEMON=/sbin/resmgrd ] <notice>startproc: execve (/sbin/portmap) [ /sbin/portmap ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=29 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=80 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUNLEVEL=3 resume=/dev/sda5 PWD=/ PREVLEVEL=N LINES=25 HOME=/ SHLVL=2 splash=silent sscripts=46 _=/sbin/startproc DAEMON=/sbin/portmap ] Starting RPC portmap daemondone Starting resource managerdone <notice>exit status of (splash_early resmgr portmap) is (0 0 0) <notice>start services (nfslock) Starting NFS file locking daemon done <notice>exit status of (nfslock) is (0) <notice>start services (nfsboot nfs) Importing Net File System (NFS)unused Starting nfsboot (sm-notify) done <notice>exit status of (nfsboot nfs) is (0 6) <notice>start services (sshd running-kernel powersaved microcode fbset) <notice>startproc: execve (/usr/sbin/sshd) [ /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=35 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=80 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUNLEVEL=3 resume=/dev/sda5 PWD=/ PREVLEVEL=N LINES=25 HOME=/ SHLVL=2 splash=silent sscripts=46 _=/sbin/startproc DAEMON=/usr/sbin/sshd ] Starting SSH daemondone Checking/updating CPU microcodedone loading ACPI modules (ac battery button fan processor thermal ) Starting powersaved <notice>startproc: execve (/usr/sbin/powersaved) [ /usr/sbin/powersaved -d -e /etc/powersave.conf -a resmgr -v 3 ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=35 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=80 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUNLEVEL=3 resume=/dev/sda5 PWD=/ PREVLEVEL=N LINES=25 HOME=/ SHLVL=2 splash=silent sscripts=46 _=/sbin/startproc DAEMON=/usr/sbin/powersaved ] done <notice>exit status of (sshd running-kernel powersaved microcode fbset) is (0 0 0 0 0) <notice>start services (smb nfsserver kbd) <notice>startproc: execve (/usr/sbin/smbd) [ /usr/sbin/smbd -D -s /etc/samba/smb.conf ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh TMPDIR=/var/tmp progress=40 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=80 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUNLEVEL=3 resume=/dev/sda5 PWD=/ PREVLEVEL=N LINES=25 HOME=/ SHLVL=2 splash=silent sscripts=46 _=/sbin/startproc DAEMON=/usr/sbin/smbd ] Starting Samba SMB daemon done <notice>startproc: execve (/usr/sbin/rpc.mountd) [ /usr/sbin/rpc.mountd ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=40 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=80 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUNLEVEL=3 resume=/dev/sda5 PWD=/ PREVLEVEL=N LINES=25 HOME=/ SHLVL=2 splash=silent sscripts=46 _=/sbin/startproc DAEMON=/usr/sbin/rpc.mountd ] Starting kernel based NFS serverdone Loading keymap qwerty/us.map.gz doneLoading compose table winkeys shiftctrl latin1.adddone Start Unicode mode doneLoading console font lat9w-16.psfu -m trivial (K done<notice>exit status of (smb nfsserver kbd) is (0 0 0) <notice>start services (smbfs nscd cron) <notice><notice>startproc: execve (/usr/sbin/cron) [ /usr/sbin/cron ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=43 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=80 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUNLEVEL=3 resume=/dev/sda5 PWD=/ PREVLEVEL=N LINES=25 HOME=/ SHLVL=2 splash=silent sscripts=46 _=/sbin/startproc DAEMON=/usr/sbin/cron ] startproc: execve (/usr/sbin/nscd) [ /usr/sbin/nscd ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=43 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=80 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin RUNLEVEL=3 resume=/dev/sda5 PWD=/ PREVLEVEL=N LINES=25 HOME=/ SHLVL=2 splash=silent sscripts=46 _=/sbin/startproc DAEMON=/usr/sbin/nscd ] Starting Name Service Cache Daemondone Starting CRON daemondone Mount SMB/ CIFS File Systems unused <notice>exit status of (smbfs nscd cron) is (6 0 0) <notice>start services (splash_late) <notice>exit status of (splash_late) is (0) Master Resource Control: runlevel 3 has been reached Failed services in runlevel 3: network Skipped services in runlevel 3: nfs smbfs <notice>killproc: kill(2991,3)

Войдите или зарегистрируйтесь, чтобы ответить.