ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Alexey Morsov <samurai@ricom.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] VE on two-eth HN
Date: Thu, 6 Mar 2008 14:57:04 +0300
Message-ID: <20080306115704.GA6016@ricom.ru> (raw)
In-Reply-To: <f7a739430803060334p1bd840f4ua0d890a93b1c0f82@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2557 bytes --]

On Thu, Mar 06, 2008 at 02:34:07PM +0300, Eugene Prokopiev wrote:
> > Эээ.. по-моему это не из той оперы
> 
> а вы попробуйте :)
Я может не догоняю вашу мысль, но 
root@new ~ # ifconfig
...
venet0    Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.1.3  P-t-P:192.168.1.3  Bcast:0.0.0.0
Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500
Metric:1

root@new ~ # ip a s
2: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
1: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue
    link/void
    inet 192.168.1.3/32 scope link venet0
4: inet: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:1a:92:b9:ee:ef brd ff:ff:ff:ff:ff:ff
    inet 85.21.184.194/28 brd 85.21.184.207 scope global inet
6: lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:01:02:2c:5a:73 brd ff:ff:ff:ff:ff:ff
    inet 192.168.130.6/24 brd 192.168.130.255 scope global lan

root@new ~ # ip r l
192.168.1.1 dev venet0  scope link
192.168.1.3 dev venet0  scope link
192.168.1.2 dev venet0  scope link
192.168.1.5 dev venet0  scope link
192.168.1.4 dev venet0  scope link
192.168.1.7 dev venet0  scope link
192.168.1.6 dev venet0  scope link
192.168.1.8 dev venet0  scope link
194.247.149.208/29 via 192.168.130.1 dev lan
85.21.184.192/28 dev inet  proto kernel  scope link  src 85.21.184.194
192.168.130.0/24 dev lan  proto kernel  scope link  src 192.168.130.6
default via 85.21.184.193 dev inet


Т.е. то что происходит сейчас (пакеты с HN попадают в VE как src 85.21.184.194) вполне логично
 (это ж другая сетка). Т.е. ровно так же было бы если бы это было не venet а еще одна 
сетевая карточка в свитч воткнутая.

и при service network start (т.е. при загрузке компа) venet0 поднимается.


-- 
С уважением,
Алексей Морсов
программист ЗАО "ИК "Риком-Траст"

Jabber: samurai@www.fondmarket.ru
ICQ: 196766290
www.ricom.ru
www.fondmarket.ru

ALT Linux Team Member
email: swi@altlinux.ru
web: www.altlinux.ru, www.sisyphus.ru

NP: BLACK HEAVEN / Kunstwerk: 1 - Schwarzes Loch


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

  reply	other threads:[~2008-03-06 11:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-05 21:20 Alexey Morsov
2008-03-06  6:59 ` Eugene Prokopiev
2008-03-06  9:13   ` Alexey Morsov
2008-03-06 11:34     ` Eugene Prokopiev
2008-03-06 11:57       ` Alexey Morsov [this message]
2008-03-06 12:01         ` Alexey Morsov
2008-03-06 12:13           ` Alexey Morsov
2008-03-06  9:59 ` Slava Dubrovskiy
2008-03-06 10:07   ` Alexey Morsov

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=20080306115704.GA6016@ricom.ru \
    --to=samurai@ricom.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