From: some_x <some_x@pochta.ru> To: community@altlinux.ru Subject: Re: [Comm] запарил vpn(что делать с gateway`ем) Date: Tue, 08 Feb 2005 10:27:54 +0600 Message-ID: <42083FCA.6030507@pochta.ru> (raw) In-Reply-To: <20050208010504.486b4392.kirienko@mccme.ru> Denis Kirienko пишет: >Получил Tue, 08 Feb 2005 03:41:18 +0600 от some_x следующее письмо: > > > >>>>>Ну уж коли defaultroute в параметрах ppp не помогает, то можно >>>>>предложить костыль вроде: >>>>> >>>>>route del default >>>>>route add default gw 83.172.0.250 >>>>> >>>>> >>>>> >>>>> >>>>Команда выполнилась(хотя я думал что она вобще не выпонится), но >>>>ничего не заработало, что естественно, ведь с нетом я соединён >>>> >>>> >>>через> >>> >>> >>>>192.168.1.5(ADSL модем) и если я удалил ldefault gateway, то >>>> >>>> >>>откуда >теперь ядру знать куда направлять пакеты для 83.172.0.250 и >>>всего>прочего. >>> >>> >>>> >>>> >>>> >>>> >>>Почитать man на route, изучить вывод route и сделать до установки >>>default gw >>> >>>route -net 83.172.0.250 netmask 255.255.255.255 dev ppp0 >>> >>> >>> >>Всё сделал, если вы имели ввиду route add -net 83.172.0.250 netmask >>255.255.255.255 dev ppp0, то эта команда полностью повторяет то что >>делает pppd, таблица кстати после его запуска выглядит так: >>83.172.0.250 0.0.0.0 255.255.255.255 UH 0 0 >> 0 ppp0 >>192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 >> 0 eth0 >>192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 >> 0 eth1 >>127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 >> 0 lo >>0.0.0.0 192.168.1.5 0.0.0.0 UG 0 0 >> 0 eth1 >> >> > >Ну вот эта таблица неверна, ибо в качестве шлюза стоит 192.168.1.5. > >Нужно чтобы получилось что-то вроде >83.172.0.250 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 >192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 >192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 >127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo >default 83.172.0.250 0.0.0.0 UG 0 0 0 ppp0 > >Я все-таки не понял. Как выглядит таблица роутинга после запуска pppd >и исполнения команд > >route del default >route add default gw 83.172.0.250 > > Да именно так и выглядит, а толку-то: ping 83.172.0.250 connect: Network is unreachable >? > >А после исполнения команд >route del default >route -net 83.172.0.250 netmask 255.255.255.255 dev ppp0 > > А таким макаром вобще не выполняется(вы же имели ввиду add -net): route add -net 83.172.0.250 netmask 255.255.255.255 dev ppp0 SIOCADDRT: No such device >route add default gw 83.172.0.250 >? > >-- >Денис > >_______________________________________________ >Community mailing list >Community@altlinux.ru >https://lists.altlinux.ru/mailman/listinfo/community > >
next prev parent reply other threads:[~2005-02-08 4:27 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-02-07 17:39 some_x 2005-02-07 18:59 ` Denis Kirienko 2005-02-07 19:19 ` some_x 2005-02-07 19:47 ` Denis Kirienko 2005-02-07 21:41 ` some_x 2005-02-07 22:05 ` Denis Kirienko 2005-02-08 4:27 ` some_x [this message] 2005-02-08 6:26 ` [Comm] Re: запарил vpn( что делать с gateway`ем ) max 2005-02-08 14:53 ` some_x 2005-02-09 6:21 ` max 2005-02-08 5:06 ` [Comm] запарил vpn(что делать с gateway`ем) Gleb Kulikov 2005-02-08 15:54 ` some_x 2005-02-09 11:05 ` Gleb Kulikov 2005-02-08 17:17 ` some_x 2005-02-11 6:45 ` Afanasov Dmitry 2005-02-11 6:55 ` Albert R. Valiev 2005-02-11 8:00 ` небольшие баги стартовых скриптов (was: [Comm] запарил vpn(что делать с gateway`ем)) Afanasov Dmitry 2005-02-15 22:31 ` Afanasov Dmitry 2005-02-13 7:33 ` [Comm] запарил vpn(что делать с gateway`ем) some_x 2005-02-13 8:20 ` Gleb Kulikov 2005-02-13 9:57 ` Alexei Takaseev 2005-02-14 4:11 ` Albert R. Valiev 2005-02-13 18:42 ` Afanasov Dmitry 2005-02-16 15:19 ` some_x 2005-02-15 15:50 ` Afanasov Dmitry 2005-02-19 15:53 ` Igor V.Marenkov aka some_x
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=42083FCA.6030507@pochta.ru \ --to=some_x@pochta.ru \ --cc=community@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 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