ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Геннадий Ищенко" <anarhoret@mail.ru>
To: community@lists.altlinux.org
Subject: [Comm] модем ADSL
Date: Wed, 02 Apr 2008 19:26:50 +0400
Message-ID: <E1Jh4rS-000JAC-00.anarhoret-mail-ru@f7.mail.ru> (raw)




Matsyo Gennadi пишет:
 У меня так - модем 192.168.1.1, сетевая - 192.168.1.14:
cat /etc/resolv.conf
nameserver 192.168.1.1

cat /etc/net/ifaces/eth0/ipv4route
default via 192.168.1.1
К сожалению совсем не мои данные.
Wacheslav A.Brunev пишет:
Выполните такие команды: ifconfig и route -n, выводы их опубликуйте здесь.
Такое ощущение, что у Вас не прописан Gateway т.е.:
route add default gw 10.253.111.1
Поэтому ваш хост не знает куда ему слать пакеты из других сетей.
------
 
[root@localhost root]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:14:85:50:26:32
          inet addr:10.253.111.12  Bcast:10.253.111.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:222 errors:0 dropped:0 overruns:0 frame:0
          TX packets:833 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:69246 (67.6 KiB)  TX bytes:54788 (53.5 KiB)
          Interrupt:20 Base address:0xe000
 
[root@localhost root]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.253.111.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         10.253.111.1    0.0.0.0         UG    0      0        0 eth0
[root@localhost root]#             
У меня уже уши свернулись в трубочку от этих сетевых настроек. Если
ставлю флажок на DHCP, сервер DHCP меняет все настройки.
Вручную пытался ставить самые разные адреса для eth0 и никакого
положительного результата. С уважением    Ищенко Геннадий


             reply	other threads:[~2008-04-02 15:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-02 15:26 Геннадий Ищенко [this message]
2008-04-02 16:36 ` Motsyo Gennadi aka Drool
2008-04-03  5:49 ` Алексей Шенцев
2008-04-03  6:10 ` Vyacheslav A. Brunev

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=E1Jh4rS-000JAC-00.anarhoret-mail-ru@f7.mail.ru \
    --to=anarhoret@mail.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