ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Maxim Tyurin <mrkooll@bungarus.info>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] HVM Xen networking
Date: Tue, 12 Aug 2008 10:27:49 +0300
Message-ID: <m3bpzyu1ze.fsf@bungarus.tdr.pibhe.com> (raw)
In-Reply-To: <48A09903.5050006@kalina.in.ua> (Yura Kalinichenko's message of "Mon\, 11 Aug 2008 22\:54\:43 +0300")

Yura Kalinichenko writes:
\skip
>> Версия xen?
>>   
> xen-3.1.4-alt1.M40.1
>> Хотя у меня работает и на 3.0 и на 3.1
>>   
> Если не трудно, покажите плз
> uname -r
> route
> ifconfig

У меня в dom0 не ALTLinux
uname -r
2.6.18-4-xen-vserver-amd64

(это мой комп и на нем xen 3.0)

ip r
192.168.50.0/24 dev office  proto kernel  scope link  src 192.168.50.99 
default via 192.168.50.1 dev office 

ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:11769033 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11769033 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1359408884 (1.2 GiB)  TX bytes:1359408884 (1.2 GiB)

office    Link encap:Ethernet  HWaddr 00:E0:81:5F:D5:90  
          inet addr:192.168.50.99  Bcast:192.168.50.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:81ff:fe5f:d590/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2589365992 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1295925205 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2612998100392 (2.3 TiB)  TX bytes:2409706702593 (2.1 TiB)

poffice   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:2534967426 errors:295 dropped:0 overruns:0 frame:295
          TX packets:1249026594 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2583461391443 (2.3 TiB)  TX bytes:2401979133192 (2.1 TiB)
          Interrupt:17 Base address:0x6000 

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:1295925257 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2589365992 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2409706805699 (2.1 TiB)  TX bytes:2612998100392 (2.3 TiB)

vif25.0   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:4008046 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4178960 errors:0 dropped:1231 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2513496945 (2.3 GiB)  TX bytes:1966442249 (1.8 GiB)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:1884781 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:210116668 (200.3 MiB)  TX bytes:0 (0.0 b)


>
> после запуска
>> (правда 3.0 не умеет SMP в HVM).
>>   
> да мне пока не до SMP...
>> P.S. Использую бриджи.
>>
>> P.P.S. И что там может не работать? 
> Понятия не имею... Была мысль, что может модуль tun поломан, так нет:
> поставленный туда же VirtualBox работает без проблем.
>
>> Там настройки сети одна строка
>>
>> vif  = [ 'type=ioemu, bridge=xenbr0' ]
>>   
> Не одна. Еще в /etc/xen/xend-config.sxp кой-чего есть. Или ничего там
> руками не трогалось и заработало искаропки ?

А. Это трогалось.
(network-script 'network-bridge netdev=office')
(vif-script vif-bridge)
но оно не только к hvm относится

-- 

With Best Regards, Maxim Tyurin
JID:	MrKooll@jabber.pibhe.com
   ___                                 
  / _ )__ _____  ___ ____ _______ _____
 / _  / // / _ \/ _ `/ _ `/ __/ // (_-<
/____/\_,_/_//_/\_, /\_,_/_/  \_,_/___/
               /___/  


  reply	other threads:[~2008-08-12  7:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-31 11:29 Yura Kalinichenko
2008-08-11 18:17 ` Maxim Tyurin
2008-08-11 19:54   ` Yura Kalinichenko
2008-08-12  7:27     ` Maxim Tyurin [this message]
2008-08-12  9:28       ` Yura Kalinichenko

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=m3bpzyu1ze.fsf@bungarus.tdr.pibhe.com \
    --to=mrkooll@bungarus.info \
    --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