ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Alexei V. Mezin" <alexei-mezin@rambler.ru>
To: sysadmins@lists.altlinux.org
Subject: [Sysadmins] dhcpcd и default gw
Date: Sun, 06 Mar 2011 02:39:39 +0300
Message-ID: <ikuhjr$3s8$1@dough.gmane.org> (raw)


Провайдер начал выдавать интернет не через VPN, а напрямую. Для этого 
прикрутил раздачу параметров по DHCP. Все хорошо, но default gw не 
устанавливается. Под виндовз все работает.

[root@threebears ~]# dhcpcd -T 2com
2com: broadcasting for a lease
2com: offered 188.244.40.183 from 188.244.40.1
interface=2com
metric=0
pid=2983
reason=TEST
skip_hooks=lookup-hostname
new_broadcast_address=188.244.40.255
new_classless_static_routes='188.244.40.16/28 188.244.40.1 
188.244.40.32/27 188.244.40.1 188.244.40.64/32 188.244.40.1 
188.244.40.128/25 188.244.40.1'
new_dhcp_lease_time=900
new_dhcp_message_type=2
new_dhcp_server_identifier=188.244.40.1
new_domain_name_servers='195.98.160.26 195.98.161.26'
new_ip_address=188.244.40.183
new_ms_classless_static_routes='188.244.40.16/28 188.244.40.1 
188.244.40.32/27 188.244.40.1 188.244.40.64/32 188.244.40.1 
188.244.40.128/25 188.244.40.1'
new_network_number=188.244.40.0
new_routers=188.244.40.1
new_subnet_cidr=24
new_subnet_mask=255.255.255.0


Как видно, адрес шлюза (routers) исправно передается провайдером, но 
почему-то не устанавливается в системе. Есть мнение, что это поведение 
согласуется с http://www.faqs.org/rfcs/rfc3442.html (см. так же 
http://bugs.gentoo.org/175053), то есть при наличии classless_routes 
переданный шлюз игнорируется.

Эту проблему как-то можно решить не прибегая к перепрошивке мозгов 
провайдерских админов?



             reply	other threads:[~2011-03-05 23:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-05 23:39 Alexei V. Mezin [this message]
2011-03-06  0:19 ` Mikhail Efremov

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='ikuhjr$3s8$1@dough.gmane.org' \
    --to=alexei-mezin@rambler.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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