* [Comm] routing
@ 2003-10-03 5:50 Sergey V. Golovin
2003-10-03 7:42 ` Gennadiy Redko
0 siblings, 1 reply; 12+ messages in thread
From: Sergey V. Golovin @ 2003-10-03 5:50 UTC (permalink / raw)
To: community
Добрый день!
Такая проблемка
#cat /etc/sysconfig/static-routes
any net 192.168.4.0 netmask 255.255.255.0 gw 192.168.2.20
#service network restart
Shutting down interface eth0: [ OK ]
Setting network parameters: [ OK ]
Bringing up interface lo: [ OK ]
Bringing up interface eth0: [ OK ]
SIOCADDRT: No such device
^^^^^^^^^^^^^^^^^^^^^^^^^
это мне не нравится, хотя
#route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.4.0 192.168.2.20 255.255.255.0 UG 0 0 0 eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0
В общем все работает, но смущает это сообщение.
Как избавиться без жертв?
--
Sergey V. Golovin
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] routing
2003-10-03 5:50 [Comm] routing Sergey V. Golovin
@ 2003-10-03 7:42 ` Gennadiy Redko
2003-10-03 7:50 ` [Comm] routing Vitaly Ostanin
0 siblings, 1 reply; 12+ messages in thread
From: Gennadiy Redko @ 2003-10-03 7:42 UTC (permalink / raw)
To: community
Sergey V. Golovin пишет:
> Добрый день!
>
> Такая проблемка
>
> #cat /etc/sysconfig/static-routes
> any net 192.168.4.0 netmask 255.255.255.0 gw 192.168.2.20
>
> #service network restart
> Shutting down interface eth0: [ OK ]
> Setting network parameters: [ OK ]
> Bringing up interface lo: [ OK ]
> Bringing up interface eth0: [ OK ]
^^^^^^^^^^^^^^^^^^^^^^^^^^
Вот же стартует Ваш эзернет.
> SIOCADDRT: No such device
> ^^^^^^^^^^^^^^^^^^^^^^^^^
А это, видимо, еще что-то, что не хочет стартовать.
Посмотрите в /etc/sysconfig... , что там описано, кроме lo и eth0
Нелишне заглянуть и в /var/log/messages на предмет сообщений об ошибках.
> это мне не нравится, хотя
>
> #route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.4.0 192.168.2.20 255.255.255.0 UG 0 0 0 eth0
> 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0
>
> В общем все работает,
И неудивительно, т. к. модуль эзернет стартовал...
но смущает это сообщение.
> Как избавиться без жертв?
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Comm] Re: routing
2003-10-03 7:42 ` Gennadiy Redko
@ 2003-10-03 7:50 ` Vitaly Ostanin
2003-10-03 8:48 ` Gennadiy Redko
2003-10-03 12:35 ` Sergey V. Golovin
0 siblings, 2 replies; 12+ messages in thread
From: Vitaly Ostanin @ 2003-10-03 7:50 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 350 bytes --]
On Fri, 03 Oct 2003 10:42:34 +0300
Gennadiy Redko <uit1@zaz.zp.ua> wrote:
<skipped/>
> > В общем все работает,
> И неудивительно, т. к. модуль эзернет стартовал...
> но смущает это сообщение.
Похоже на
http://bugzilla.altlinux.ru/show_bug.cgi?id=2753
<skipped/>
--
Regards, Vyt
mailto: vyt@vzljot.ru
JID: vyt@vzljot.ru
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Re: routing
2003-10-03 7:50 ` [Comm] routing Vitaly Ostanin
@ 2003-10-03 8:48 ` Gennadiy Redko
2003-10-03 9:12 ` Vitaly Ostanin
2003-10-03 12:35 ` Sergey V. Golovin
1 sibling, 1 reply; 12+ messages in thread
From: Gennadiy Redko @ 2003-10-03 8:48 UTC (permalink / raw)
To: community
Vitaly Ostanin пишет:
>
>
> Похоже на
> http://bugzilla.altlinux.ru/show_bug.cgi?id=2753
>
> <skipped/>
>
Тогда, чтобы убедиться:
# service arpwatch status
после рестарта сети.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Re: routing
2003-10-03 7:50 ` [Comm] routing Vitaly Ostanin
2003-10-03 8:48 ` Gennadiy Redko
@ 2003-10-03 12:35 ` Sergey V. Golovin
2003-10-03 12:39 ` Vitaly Ostanin
` (2 more replies)
1 sibling, 3 replies; 12+ messages in thread
From: Sergey V. Golovin @ 2003-10-03 12:35 UTC (permalink / raw)
To: community
* Vitaly Ostanin <vyt@vzljot.ru> [ 3 Oct Fri 11:50]
> Похоже на
> http://bugzilla.altlinux.ru/show_bug.cgi?id=2753
# service arpwatch status
arpwatch is stopped
#
Нет, зависит только от определения маршрута.
Вот что происходит без него (извиняюсь, что не дал
его в исходном письме)
# cat /etc/sysconfig/static-routes
#any net 192.168.4.0 netmask 255.255.255.0 gw 192.168.2.20
# service network restart
Shutting down interface eth0: [ OK ]
Setting network parameters: [ OK ]
Bringing up interface lo: [ OK ]
Bringing up interface eth0: [ OK ]
#
--
Sergey V. Golovin
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Comm] Re: routing
2003-10-03 12:35 ` Sergey V. Golovin
@ 2003-10-03 12:39 ` Vitaly Ostanin
2003-10-03 13:44 ` Gennadiy Redko
2003-10-03 14:09 ` Gennadiy Redko
2 siblings, 0 replies; 12+ messages in thread
From: Vitaly Ostanin @ 2003-10-03 12:39 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 653 bytes --]
On Fri, 3 Oct 2003 17:35:59 +0500
"Sergey V. Golovin" <svgol@samkon.ru> wrote:
> * Vitaly Ostanin <vyt@vzljot.ru> [ 3 Oct Fri 11:50]
> > Похоже на
> > http://bugzilla.altlinux.ru/show_bug.cgi?id=2753
>
> # service arpwatch status
> arpwatch is stopped
> #
>
> Нет, зависит только от определения маршрута.
> Вот что происходит без него (извиняюсь, что не дал
> его в исходном письме)
>
> # cat /etc/sysconfig/static-routes
> #any net 192.168.4.0 netmask 255.255.255.0 gw 192.168.2.20
А зачем решётка в начале? Может, initscripts на ней и глючат.
<skipped/>
--
Regards, Vyt
mailto: vyt@vzljot.ru
JID: vyt@vzljot.ru
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Re: routing
2003-10-03 12:35 ` Sergey V. Golovin
2003-10-03 12:39 ` Vitaly Ostanin
@ 2003-10-03 13:44 ` Gennadiy Redko
2003-10-03 14:27 ` Vitaly Ostanin
2003-10-03 14:09 ` Gennadiy Redko
2 siblings, 1 reply; 12+ messages in thread
From: Gennadiy Redko @ 2003-10-03 13:44 UTC (permalink / raw)
To: community
Sergey V. Golovin пишет:
> Нет, зависит только от определения маршрута.
> Вот что происходит без него (извиняюсь, что не дал
> его в исходном письме)
>
> # cat /etc/sysconfig/static-routes
> #any net 192.168.4.0 netmask 255.255.255.0 gw 192.168.2.20
^^^
Здесь должно стоять имя интерфейса.
В вашем случае --- eth0.
Оно же и ругается на несуществующее устройство.
> # service network restart
> Shutting down interface eth0: [ OK ]
> Setting network parameters: [ OK ]
> Bringing up interface lo: [ OK ]
> Bringing up interface eth0: [ OK ]
> #
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Comm] Re: routing
2003-10-03 13:44 ` Gennadiy Redko
@ 2003-10-03 14:27 ` Vitaly Ostanin
2003-10-03 14:58 ` Gennadiy Redko
0 siblings, 1 reply; 12+ messages in thread
From: Vitaly Ostanin @ 2003-10-03 14:27 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 550 bytes --]
On Fri, 03 Oct 2003 16:44:17 +0300
Gennadiy Redko <uit1@zaz.zp.ua> wrote:
> Sergey V. Golovin пишет:
>
> > Нет, зависит только от определения маршрута.
> > Вот что происходит без него (извиняюсь, что не дал
> > его в исходном письме)
> >
> > # cat /etc/sysconfig/static-routes
> > #any net 192.168.4.0 netmask 255.255.255.0 gw 192.168.2.20
> ^^^
> Здесь должно стоять имя интерфейса.
Не должно, строка правильная. За исключением решётки...
<skipped/>
--
Regards, Vyt
mailto: vyt@vzljot.ru
JID: vyt@vzljot.ru
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Re: routing
2003-10-03 14:27 ` Vitaly Ostanin
@ 2003-10-03 14:58 ` Gennadiy Redko
0 siblings, 0 replies; 12+ messages in thread
From: Gennadiy Redko @ 2003-10-03 14:58 UTC (permalink / raw)
To: community
Vitaly Ostanin пишет:
>
> Не должно, строка правильная. За исключением решётки...
>
На моей машине:
[root@henry sysconfig]# pwd
/etc/sysconfig
[root@henry sysconfig]# > static-routes
[root@henry sysconfig]# service network restart
Shutting down interface eth0:
[ OK ]
Setting network parameters:
[ OK ]
Bringing up interface lo:
[ OK ]
Bringing up interface eth0:
[ OK ]
[root@henry sysconfig]#
Т. е. при пустом static-routes -- не ругается, так что решетка ни при чем :)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Re: routing
2003-10-03 12:35 ` Sergey V. Golovin
2003-10-03 12:39 ` Vitaly Ostanin
2003-10-03 13:44 ` Gennadiy Redko
@ 2003-10-03 14:09 ` Gennadiy Redko
2 siblings, 0 replies; 12+ messages in thread
From: Gennadiy Redko @ 2003-10-03 14:09 UTC (permalink / raw)
To: community
Sergey V. Golovin пишет:
> #any net 192.168.4.0 netmask 255.255.255.0 gw 192.168.2.20
Извиняюсь.
Вместо "any" должно быть "eth0" .
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2003-10-03 14:58 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-03 5:50 [Comm] routing Sergey V. Golovin
2003-10-03 7:42 ` Gennadiy Redko
2003-10-03 7:50 ` [Comm] routing Vitaly Ostanin
2003-10-03 8:48 ` Gennadiy Redko
2003-10-03 9:12 ` Vitaly Ostanin
2003-10-03 9:22 ` Gennadiy Redko
2003-10-03 12:35 ` Sergey V. Golovin
2003-10-03 12:39 ` Vitaly Ostanin
2003-10-03 13:44 ` Gennadiy Redko
2003-10-03 14:27 ` Vitaly Ostanin
2003-10-03 14:58 ` Gennadiy Redko
2003-10-03 14:09 ` Gennadiy Redko
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git