首页 > 代码库 > openstack I版的搭建八--

openstack I版的搭建八--

[root@linux-node1 ~]# ifconfig 

brq39513fa0-54 Link encap:Ethernet  HWaddr 00:0C:29:3B:15:9F  

          inet addr:192.168.33.11  Bcast:192.168.33.255  Mask:255.255.255.0

          inet6 addr: fe80::48c3:d8ff:fe32:61b4/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:11 errors:0 dropped:0 overruns:0 frame:0

          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0 

          RX bytes:1086 (1.0 KiB)  TX bytes:510 (510.0 b)


eth0      Link encap:Ethernet  HWaddr 00:0C:29:3B:15:9F  

          inet6 addr: fe80::20c:29ff:fe3b:159f/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:1134 errors:0 dropped:0 overruns:0 frame:0

          TX packets:794 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:155254 (151.6 KiB)  TX bytes:89524 (87.4 KiB)


eth1      Link encap:Ethernet  HWaddr 00:0C:29:3B:15:A9  

          inet addr:192.168.224.130  Bcast:192.168.224.255  Mask:255.255.255.0

          inet6 addr: fe80::20c:29ff:fe3b:15a9/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:31 errors:0 dropped:0 overruns:0 frame:0

          TX packets:41 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:5789 (5.6 KiB)  TX bytes:3454 (3.3 KiB)


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:20855 errors:0 dropped:0 overruns:0 frame:0

          TX packets:20855 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0 

          RX bytes:5930267 (5.6 MiB)  TX bytes:5930267 (5.6 MiB)


ns-646b17aa-ca Link encap:Ethernet  HWaddr FA:16:3E:5C:64:A9  

          inet addr:192.168.33.103  Bcast:192.168.33.255  Mask:255.255.255.0

          inet6 addr: fe80::f816:3eff:fe5c:64a9/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:184 errors:0 dropped:0 overruns:0 frame:0

          TX packets:392 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:33486 (32.7 KiB)  TX bytes:30289 (29.5 KiB)


tap646b17aa-ca Link encap:Ethernet  HWaddr C2:63:47:F7:43:53  

          inet6 addr: fe80::c063:47ff:fef7:4353/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:392 errors:0 dropped:0 overruns:0 frame:0

          TX packets:184 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:30289 (29.5 KiB)  TX bytes:33486 (32.7 KiB)


[root@linux-node1 ~]# brctl show

bridge name bridge id STP enabled interfaces

brq39513fa0-54 8000.000c293b159f no eth0

tap646b17aa-ca

虚拟机开始获取的ip地址是VMware Workstation的DHCP给分配的,所以我们得给它手动配置一个IP

wKiom1P4UxyxGvHRAAN5AO3fWzk277.jpg

wKioL1P4VE2i0tZyAAOJNAaeOpY934.jpg

最好把VMware Workstation的DHCP关闭掉。

wKiom1P4U0TRMdr4AAJ_5owtgvc266.jpg


wKioL1P4VGvzvaUxAAMqZX0bEmY314.jpg

wKioL1P4VHqQ_QPcAAOw1F4P9BY429.jpgwKioL1P4VO3AuVR6AAOsPdCEYNU849.jpg

本文出自 “8055082” 博客,谢绝转载!

openstack I版的搭建八--