From: Peter Volkov <pvolkov@mics.msu.su> To: ALT Linux Community <community@lists.altlinux.org> Subject: Re: [Comm] dhcp и vpn Date: Mon, 16 Jan 2006 12:38:36 +0300 Message-ID: <1137404316.5987.13.camel@localhost> (raw) In-Reply-To: <m3wth1xz4u.fsf@evg.krasnoyarsk.ru> [-- Attachment #1: Type: text/plain, Size: 1601 bytes --] On Вск, 2006-01-15 at 22:57 +0700, Терешков Евгений wrote: > 1) #route add default gw xx.xx.xx.xx > > - добавляет второй (?) маршрут по умолчанию. Не работает. Трафик идёт по > первому маршруту (?). Это правильно > 2) #route del default&&route add default gw xx.xx.xx.xx > > - сразу после удаления маршрута vpn падает. Соответственно, добавление > нового не проходит. Хм. А вот это странно. Почему vpn падает? Покажите вывод ip route show или route -n. Вроде вы пишете, что vpn сервер находится в вашем же локальном сегменте, но тогда почему падает?... > Решил пока вопрос так: в /e/s/n/ifcfg-eth0 добавил "DHCP_DEFAULTROUTE=no", > defaultroute в /e/p/peers/prov записал и патчик такой написал для ifup: То есть просто запретили dhcp выставлять шлюз по умолчанию... Ну а что вам не нравиться в этом решении? > Вопрос: как надо было правильно? Чтоб работало :) Ваше решение вполне правильное. Просто может тоже самое, надо делать в другом конфиге, но здесь я вам не помогу, ибо нет ALM2.4... Peter. [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-01-16 9:38 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-01-15 15:57 Терешков Евгений 2006-01-16 9:38 ` Peter Volkov [this message] 2006-01-16 10:16 ` [Comm] dhcp � Evgenii Terechkov 2006-01-16 10:35 ` 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=1137404316.5987.13.camel@localhost \ --to=pvolkov@mics.msu.su \ --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