ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Pavel S. Khmelinsky" <hmepas@yauza.ru>
To: Gerasimov Dmitry <matrix@podlipki.ru>, sisyphus@altlinux.ru
Subject: Re: [sisyphus] Передача таблицы маршутизации в винду.
Date: Sun, 26 Oct 2003 23:02:45 +0300
Message-ID: <3F9C2865.5050007@yauza.ru> (raw)
In-Reply-To: <20031008053711.GA25577@gate.polarcup.ru>

Gerasimov Dmitry wrote:
> On Tue, Oct 07, 2003 at 11:40:46PM +0400, Pavel S. Khmelinsky wrote:
> 
>>Предположим в сети часто меняется маршрутизация. Клиентские 
>>машины сети -- винды. Все рутеры -- линукс. Нужен какой-то способ 
>>передачи виндам таблицы маршрутизации.
>>
>>1.
>>Глянул в сторону dhcp. Вроде в dhcpd есть options routers, вот 
>>только вопрос в том поймет ли это дело виндовс? Если бы работало, 
>>то это был бы идеальный вариант, но что-то с трудом верится.
> 
> ваш выбор.
Неа не мой ;(
man dhcp-options
        option static-routes ip-address ip-address
                          [, ip-address ip-address...];

           This option specifies a list of static routes that the 
client should
           install in its routing cache.  If multiple routes to 
the same desti-
           nation are specified, they are listed in descending 
order of  prior-
           ity.

           The routes consist of a list of IP address pairs.  The 
first address
           is the destination address, and the second address is 
the router for
           the destination.

           The  default  route (0.0.0.0) is an illegal 
destination for a static
           route.  To specify  the  default  route,  use  the 
routers  option.
           Also,  please note that this option is not intended 
for classless IP
           routing - it does not include a subnet mask.    Since 
  classless  IP
           routing  is  now  the  most  widely  deployed routing 
standard, this
           option is virtually useless, and is not implemented by 
  any  of  the
           popular DHCP clients, for example the Microsoft DHCP 
client.

Т.е. мало того что не во всех вындах пашет ( хотя в Вин2к ) 
работает. Но самое главное что нельзя маску сети передать....

пока справляюсь тем что прописываю несколько default gw а винда 
сама их по очереди опрашивает. Вроде работает.
> 
>>2.
>>Можно как-нибудь решить проблему управляя icmp-redirect но для 
>>этого нужно иметь возможность гибко настраивать кого, когда, при 
>>каких условиях и куда перенаправлять. В линуксе я таких средств 
>>не нашел.
>>
>>3.
>>Можно поступить проще и выдать пользователям батничек с таблицей 
>>маршрутизации и заставить этот батничек переодически 
>>откуда-нибудь обнавлять. Но это как-то не прозрачно.
>>
>>Есть идеи более красивого решения этой проблемы? Повторюсь 
>>клиенты сети -- вынды, причем физ. доступа я к ним не имею 
>>поэтому решение должно стандартно этой самой виндой поддерживаться.
>>
>>_______________________________________________
>>Sisyphus mailing list
>>Sisyphus@altlinux.ru
>>http://altlinux.ru/mailman/listinfo/sisyphus
> 
> --
>     =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>     Gerasimov Dmitry
>     e-mail:	dima AT polarcup DOT ru
>     icq:	26277841
>     =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
>         
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@altlinux.ru
> http://altlinux.ru/mailman/listinfo/sisyphus



  reply	other threads:[~2003-10-26 20:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-07 19:40 Pavel S. Khmelinsky
2003-10-07 19:44 ` Dmitry V. Levin
2003-10-08  5:37 ` Gerasimov Dmitry
2003-10-26 20:02   ` Pavel S. Khmelinsky [this message]
2003-10-26 20:09     ` Pavel S. Khmelinsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F9C2865.5050007@yauza.ru \
    --to=hmepas@yauza.ru \
    --cc=matrix@podlipki.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git