<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Проблема с таблицей маршрутизации (Suse 9)]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=26784&amp;type=atom" />
	<updated>2013-02-19T01:30:13Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=26784</id>
		<entry>
			<title type="html"><![CDATA[Проблема с таблицей маршрутизации (Suse 9)]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=328215#p328215" />
			<content type="html"><![CDATA[<p>Доброго времени суток! Есть проблема с таблицей маршрутизации. При перезапуске она очищается по дефолту. Плюс порт ETH2 административно блокируется. Приходится вручную прописывать маршруты:</p><p>route add -net 129.9.0.0 netmask 255.255.0.0 bond1<br /> route add -net 0.0.0.0 netmask 0.0.0.0 gw 129.9.20.254 bond1</p><p>Поднимать интерфейс ETH2 :</p><p>ifconfig eth2 up</p><p>ifconfig eth2 192.168.1.1 netmask 255.255.255.0</p><p>В нужном виде таблица выглядит следующим образом:</p><p>Destination&nbsp; &nbsp; &nbsp;Gateway&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Genmask&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Flags Metric Ref&nbsp; &nbsp; Use Iface<br />192.168.1.0&nbsp; &nbsp; &nbsp;0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth2<br />192.168.10.0&nbsp; &nbsp; 0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth3<br />129.9.0.0&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.0.0&nbsp; &nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 bond1<br />80.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.0.0.0&nbsp; &nbsp; &nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 vlan1<br />127.0.0.0&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.0.0.0&nbsp; &nbsp; &nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 lo<br />0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;129.9.20.254&nbsp; &nbsp; 0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UG&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 bond1</p><p>После перезагрузки она очищается до следующего вида:</p><p>192.168.1.0&nbsp; &nbsp; &nbsp;0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth2<br />192.168.10.0&nbsp; &nbsp; 0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth3<br />80.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.0.0.0&nbsp; &nbsp; &nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 vlan1<br />127.0.0.0&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.0.0.0&nbsp; &nbsp; &nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 lo</p><br /><p>Ниже указываю лог загрузки ОС с проблемными местами.</p><div class="codebox"><pre><code>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
&lt;notice&gt;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
&lt;notice&gt;exit status of (random isdn fusion.mptctl coldplug IPMISTARTDEAMOND.sh ECCSTARTDEAMOND.sh) is (0 0 0 0 0 0)
&lt;notice&gt;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
&lt;notice&gt;exit status of (network) is (7)
&lt;notice&gt;start services (syslog)
Starting syslog services&lt;notice&gt;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 ]
&lt;notice&gt;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
&lt;notice&gt;exit status of (syslog) is (0)
&lt;notice&gt;start services (omud)
Starting mbsc daemondone
&lt;notice&gt;exit status of (omud) is (0)
&lt;notice&gt;start services (splash_early resmgr portmap)
&lt;notice&gt;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 ]
&lt;notice&gt;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
&lt;notice&gt;exit status of (splash_early resmgr portmap) is (0 0 0)
&lt;notice&gt;start services (nfslock)
Starting NFS file locking daemon done
&lt;notice&gt;exit status of (nfslock) is (0)
&lt;notice&gt;start services (nfsboot nfs)
Importing Net File System (NFS)unused
Starting nfsboot (sm-notify) done
&lt;notice&gt;exit status of (nfsboot nfs) is (0 6)
&lt;notice&gt;start services (sshd running-kernel powersaved microcode fbset)
&lt;notice&gt;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 &lt;notice&gt;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
&lt;notice&gt;exit status of (sshd running-kernel powersaved microcode fbset) is (0 0 0 0 0)
&lt;notice&gt;start services (smb nfsserver kbd)
&lt;notice&gt;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
&lt;notice&gt;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&lt;notice&gt;exit status of (smb nfsserver kbd) is (0 0 0)
&lt;notice&gt;start services (smbfs nscd cron)
&lt;notice&gt;&lt;notice&gt;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
&lt;notice&gt;exit status of (smbfs nscd cron) is (6 0 0)
&lt;notice&gt;start services (splash_late)
&lt;notice&gt;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
&lt;notice&gt;killproc: kill(2991,3)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[bambam]]></name>
				<uri>https://linuxforum.ru/profile.php?id=28503</uri>
			</author>
			<updated>2013-02-19T01:30:13Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=328215#p328215</id>
		</entry>
</feed>
