Xenã»DomU ãããããç¬ç«ãããããã¯ã¼ã¯ã«ç¹ãããã®ã§ãã¿ã°VLANï¼IEEE802.1Qï¼ã®æ©è½ã使ã£ã¦ Xen ã®ãããã¯ã¼ã¯è¨å®ãããæ¹æ³ãã¾ã¨ããã 以åã« bonding ã使ã£ãæ§æãã¾ã¨ãã¦ããããã¾ã㯠bonding ã使ã£ã¦ããªããããã¯ã¼ã¯æ§æä¸ã§ã®ã¿ã°VLAN è¨å®æ¹æ³ãã¾ã¨ããã ããã§ã¯ããã§ã« eth0ï¼peth0ï¼ã使ã£ã¦ãããã¯ã¼ã¯æ¥ç¶ãã§ãã¦ãããã®ã¨ããã æåã«ã/etc/sysconfig/network ã«ä»¥ä¸ã追è¨ããã VLAN=yes VLAN_NAME_TYPE=DEV_PLUS_VID ï¼ã¤ãã®ãã©ã¡ã¼ã¿ã®æå³ã«ã¤ãã¦ã¯ãä¸è¨åèãåç §ã VLANID ã 100 ã¨ããã¨ã/etc/sysconfig/network-scripts/ifcfg-eth0.0100 ã¨ãããã¡ã¤ã«ãä½æããé常ã®ãããã¯ã¼ã¯è¨å®ã¨åãããã«è¨è¿°
802.1qã¨ã¯ æ®éã®ãã±ããã«ãVLANã¿ã°ãã¤ãã¦ã«ãã»ã«åããããã®è¦æ ¼ãå½ç¶åãå´ã対å¿ãå¿ è¦ã1ã¤ã®ã¤ã³ã¿ãã§ã¼ã¹ã§è¤æ°ã®VLANã®ãã±ãããæµããã®ãç¾å³ããã æ§æ <<Network_A>>âââ[è³¢ãã¹ã¤ãã]âââ<<Network_B>> â <<Network_A,B両æ¹ã®è¶³ãæã£ããã¹ã>>縦ã®å¤ªãç·ã®é¨åãã802.1qã§ã«ãã»ã«åãããã±ãããéãã¨ãããå½ç¶1æ¬ãCat5eEtherã±ã¼ãã«ã ã¹ã¤ããå´ã®è¨å® è³¢ãã¹ã¤ããã«ã¯Catalyst 2924ã使ããã¨ã«ã ! interface FastEthernet0/1 switchport access vlan 3 ! interface FastEthernet0/2 switchport trunk encapsulation dot1q switchport trunk allowed vla
tagged VLAN ãä»®æ³ãã·ã³ã® NIC ã¾ã§å¼ãè¾¼ãè¨å®æ¹æ³ã è¦ã¯å¤ããå ¥ã£ã¦ãã tagged ãã±ãããããã®ã¾ã¾ä»®æ³ãã·ã³ã® NIC ã¾ã§æ¸¡ãããã¨ãããã¨ã (tagged packet) -> Host:eth -> VM:eth -> (tagged packet) çµè«ããæ¸ãã¨ãæ®éã« bridge ããã¨ããããªã VM ã¾ã§ tagged ãã±ãããä¸ãã£ãã ç°å¢ CentOS 6.2(64bit) + KVM + æ¨æºLinux bridgeã ãã¹ããä»®æ³ãã·ã³ã CentOS 6.2(64bit) ãã¹ããã·ã³ã® eth0 ã¯ç®¡çã¢ã¯ã»ã¹ç¨ãeth1 㯠tagged VLAN ãªãããã¯ã¼ã¯ã«ã¶ãä¸ããç¨ã ä»®æ³ãã·ã³ã®NICã®å¯¾å¿ãå eth0 ç³»ã¯è¨å®æ¸ãåæ ãã±ããã®æµãã¯ãããªæãã (tagged packet) -> Host:eth1
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}