R&D/Hypervisor

Xen DomU의 네트워크 언터페이스 검색

sunshout 2011. 6. 8. 01:51

§ 예제

·    Domain name: OVM_xxx network 리스트확인

·    vif47.0 vif47.1 두개의 네트워크가 연결되어 있음

·    해당 네트워크는 brctl show 를 통해서 어느 bridge인지 확인가능

[root@cnode01-m OVM_OL5U6_X86_PVM_10GB]# xm network-list OVM_OL5U6_X86_PVM_10GB

Idx BE     MAC Addr.     handle state evt-ch tx-/rx-ring-ref BE-path

0   0  00:16:3e:52:e7:57    0     4      12    1280 /1281    /local/domain/0/backend/vif/47/0

1   0  00:16:3e:5c:17:f9    1     4      13    1282 /1283    /local/domain/0/backend/vif/47/1

[root@cnode01-m OVM_OL5U6_X86_PVM_10GB]# brctl show

bridge name     bridge id               STP enabled     interfaces

xapi1           8000.60eb698f659a       no              eth2.7

xenbr0          8000.60eb69a5ce74       no              vif47.0

                                                        vif25.0

                                                        vif22.0

                                                        eth0

xenbr1          8000.60eb69a5ce75       no              eth1

xenbr2          8000.60eb698f659a       no              vif47.1

                                                        eth2

xenbr3          8000.60eb698f659b       no              eth3