質問編集履歴
3
情報追記(ip address show)
title
CHANGED
File without changes
|
body
CHANGED
@@ -151,6 +151,27 @@
|
|
151
151
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
152
152
|
</interface>
|
153
153
|
```
|
154
|
+
ip addres show(ホスト側)
|
155
|
+
```ここに言語を入力
|
156
|
+
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
|
157
|
+
link/ether 91:1b:0e:d2:ec:xx brd ff:ff:ff:ff:ff:ff
|
158
|
+
inet 152.xxx.xx.10/24 scope global eno1
|
159
|
+
valid_lft forever preferred_lft forever
|
160
|
+
inet 200.xxx.xx.66/28 scope global eno1
|
161
|
+
valid_lft forever preferred_lft forever
|
162
|
+
inet6 2001:e42:103:3:153:xxx:aa:xx/64 scope global noprefixroute
|
163
|
+
valid_lft forever preferred_lft forever
|
164
|
+
inet6 fe80::921b:eff:xxxx:xxxx/64 scope link noprefixroute
|
165
|
+
valid_lft forever preferred_lft forever
|
166
|
+
:
|
167
|
+
:
|
168
|
+
23: macvtap0@eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500
|
169
|
+
link/ether 52:50:00:aa:xx:20 brd ff:ff:ff:ff:ff:ff
|
170
|
+
inet6 fe80::5054:ff:xxxx:xxxx/64 scope link
|
171
|
+
valid_lft forever preferred_lft forever
|
172
|
+
|
173
|
+
```
|
174
|
+
|
154
175
|
**疎通確認(ゲストから8.8.8.8へping)**
|
155
176
|
前回と状況は変わりませんでした。
|
156
177
|
・eno1のtcpdumpの内容
|
2
回答いただいた内容での結果追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -136,4 +136,37 @@
|
|
136
136
|
|
137
137
|
######ネットワーク構成図
|
138
138
|
|
139
|
-

|
139
|
+

|
140
|
+
|
141
|
+
|
142
|
+
### 追加で確認した事項
|
143
|
+
**ホストとゲストをmacvtapで接続する**
|
144
|
+
ホスト側eno1とゲストマシンをmacvtap接続設定を行う。
|
145
|
+
インターフェース設定は以下
|
146
|
+
```
|
147
|
+
<interface type='direct'>
|
148
|
+
<mac address='52:50:00:aa:xx:20'/>
|
149
|
+
<source dev='eno1' mode='bridge'/>
|
150
|
+
<model type='virtio'/>
|
151
|
+
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
152
|
+
</interface>
|
153
|
+
```
|
154
|
+
**疎通確認(ゲストから8.8.8.8へping)**
|
155
|
+
前回と状況は変わりませんでした。
|
156
|
+
・eno1のtcpdumpの内容
|
157
|
+
|
158
|
+
```
|
159
|
+
# tcpdump -n -e -i eno1 host 200.xxx.xx.70 or 8.8.8.8
|
160
|
+
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
|
161
|
+
listening on eno1, link-type EN10MB (Ethernet), capture size 262144 bytes
|
162
|
+
09:24:06.740146 52:50:00:aa:xx:20 > 00:00:5e:00:01:bb, ethertype IPv4 (0x0800), length 98: 200.xxx.xx.70 > 8.8.8.8: ICMP echo request, id 2787, seq 1, length 64
|
163
|
+
09:24:06.741053 74:8e:f8:60:fa:xx > 91:1b:0e:d2:ec:xx, ethertype IPv4 (0x0800), length 98: 8.8.8.8 > 200.xxx.xx.70: ICMP echo reply, id 2787, seq 1, length 64
|
164
|
+
09:24:06.741099 91:1b:0e:d2:ec:xx > Broadcast, ethertype ARP (0x0806), length 42: Request who-has 200.xxx.xx.70 tell 200.xxx.xx.66, length 28
|
165
|
+
09:24:07.743113 91:1b:0e:d2:ec:xx > Broadcast, ethertype ARP (0x0806), length 42: Request who-has 200.xxx.xx.70 tell 200.xxx.xx.66, length 28
|
166
|
+
09:24:08.745103 91:1b:0e:d2:ec:xx > Broadcast, ethertype ARP (0x0806), length 42: Request who-has 200.xxx.xx.70 tell 200.xxx.xx.66, length 28
|
167
|
+
09:24:09.747111 91:1b:0e:d2:ec:xx > 00:00:5e:00:01:bb, ethertype IPv4 (0x0800), length 126: 152.xxx.xx.10 > 8.8.8.8: ICMP host 200.xxx.xx.70 unreachable, length 92
|
168
|
+
|
169
|
+
```
|
170
|
+
|
171
|
+
・ゲスト側ping結果
|
172
|
+
1 packets transmitted, 0 received, +3 errors, 100% packet loss, time 0ms
|
1
タイトルのミスを編集
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
KVM仮想
|
1
|
+
KVM仮想マシンにグローバルIPを割り当てて内部⇔外部通信ができるようにしたい。
|
body
CHANGED
File without changes
|