From: Evgenii Terechkov <evg@krastel.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] dhcp �
Date: Mon, 16 Jan 2006 17:16:37 +0700
Message-ID: <43CB7285.5090703@krastel.ru> (raw)
In-Reply-To: <1137404316.5987.13.camel@localhost>
Peter Volkov писал:
>>1) #route add default gw xx.xx.xx.xx
>>- добавляет второй (?) маршрут по умолчанию. Не работает. Трафик идёт по
>> первому маршруту (?).
> Это правильно
route -n показывает два маршрута по умолчанию, пинг наруже не идет:
0.0.0.0 10.0.0.1 0.0.0.0 ...eth0
0.0.0.0 xx.xx.xx.xx 0.0.0.0 ...ppp0
>>2) #route del default&&route add default gw xx.xx.xx.xx
>>- сразу после удаления маршрута vpn падает. Соответственно, добавление
>> нового не проходит.
> Хм. А вот это странно. Почему vpn падает? Покажите вывод ip route show
> или route -n. Вроде вы пишете, что vpn сервер находится в вашем же
> локальном сегменте, но тогда почему падает?...
Типа того:
#ifconfig
#есть ppp0 (vpn)
#route -n
10.0.0.0 0.0.0.0 255.255.255.0 ... eth0
0.0.0.0 10.0.0.1 0.0.0.0 ...eth0
#route del default
#ifconfig
# здесь нет ppp0 :-(, некуда прописывать маршрут по умолчанию.
>>Решил пока вопрос так: в /e/s/n/ifcfg-eth0 добавил "DHCP_DEFAULTROUTE=no",
>>defaultroute в /e/p/peers/prov записал и патчик такой написал для ifup:
> То есть просто запретили dhcp выставлять шлюз по умолчанию... Ну а что
> вам не нравиться в этом решении?
Патч пришлось писать :-) Вообще, это наверно была бессознательно
спланированная операция по оказанию давления на майнтайнера net-scripts
(aka pilot@), с целью включения патча в дистр (в т.ч. и для простоты
обновления).
P.S.: когда net-scripts будут полностью obsolete ? Надеюсь в etcnet это
проще делается. Или это там хотя бы документированно. А то как надо
настройть какую не совсем обычную сетевую конфигурацию в мастере - так
или патч пишу (сейчас), либо пакет новый собираю (мост поднимал; по
крайней мере одному человеку кроме меня пакет пригодился). Хочется из
коробки и для всех пользователей моего дистра :-), не только себе.
next prev parent reply other threads:[~2006-01-16 10:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-15 15:57 [Comm] dhcp и vpn Терешков Евгений
2006-01-16 9:38 ` Peter Volkov
2006-01-16 10:16 ` Evgenii Terechkov [this message]
2006-01-16 10:35 ` [Comm] dhcp � Olvin
2006-01-16 10:49 ` Evgenii Terechkov
2006-01-17 12:16 ` [Comm] dhcp и vpn ABATAPA
2006-01-17 16:39 ` Терешков Евгений
2006-01-18 10:38 ` ABATAPA
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=43CB7285.5090703@krastel.ru \
--to=evg@krastel.ru \
--cc=community@lists.altlinux.org \
/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 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