質問編集履歴
3
情報追記(ip address show)
test
CHANGED
File without changes
|
test
CHANGED
@@ -304,6 +304,48 @@
|
|
304
304
|
|
305
305
|
```
|
306
306
|
|
307
|
+
ip addres show(ホスト側)
|
308
|
+
|
309
|
+
```ここに言語を入力
|
310
|
+
|
311
|
+
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
|
312
|
+
|
313
|
+
link/ether 91:1b:0e:d2:ec:xx brd ff:ff:ff:ff:ff:ff
|
314
|
+
|
315
|
+
inet 152.xxx.xx.10/24 scope global eno1
|
316
|
+
|
317
|
+
valid_lft forever preferred_lft forever
|
318
|
+
|
319
|
+
inet 200.xxx.xx.66/28 scope global eno1
|
320
|
+
|
321
|
+
valid_lft forever preferred_lft forever
|
322
|
+
|
323
|
+
inet6 2001:e42:103:3:153:xxx:aa:xx/64 scope global noprefixroute
|
324
|
+
|
325
|
+
valid_lft forever preferred_lft forever
|
326
|
+
|
327
|
+
inet6 fe80::921b:eff:xxxx:xxxx/64 scope link noprefixroute
|
328
|
+
|
329
|
+
valid_lft forever preferred_lft forever
|
330
|
+
|
331
|
+
:
|
332
|
+
|
333
|
+
:
|
334
|
+
|
335
|
+
23: macvtap0@eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500
|
336
|
+
|
337
|
+
link/ether 52:50:00:aa:xx:20 brd ff:ff:ff:ff:ff:ff
|
338
|
+
|
339
|
+
inet6 fe80::5054:ff:xxxx:xxxx/64 scope link
|
340
|
+
|
341
|
+
valid_lft forever preferred_lft forever
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
```
|
346
|
+
|
347
|
+
|
348
|
+
|
307
349
|
**疎通確認(ゲストから8.8.8.8へping)**
|
308
350
|
|
309
351
|
前回と状況は変わりませんでした。
|
2
回答いただいた内容での結果追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -275,3 +275,69 @@
|
|
275
275
|
|
276
276
|
|
277
277
|
![構成図](f43ce168dcc293833df67c986ad5171c.png)
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
### 追加で確認した事項
|
284
|
+
|
285
|
+
**ホストとゲストをmacvtapで接続する**
|
286
|
+
|
287
|
+
ホスト側eno1とゲストマシンをmacvtap接続設定を行う。
|
288
|
+
|
289
|
+
インターフェース設定は以下
|
290
|
+
|
291
|
+
```
|
292
|
+
|
293
|
+
<interface type='direct'>
|
294
|
+
|
295
|
+
<mac address='52:50:00:aa:xx:20'/>
|
296
|
+
|
297
|
+
<source dev='eno1' mode='bridge'/>
|
298
|
+
|
299
|
+
<model type='virtio'/>
|
300
|
+
|
301
|
+
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
302
|
+
|
303
|
+
</interface>
|
304
|
+
|
305
|
+
```
|
306
|
+
|
307
|
+
**疎通確認(ゲストから8.8.8.8へping)**
|
308
|
+
|
309
|
+
前回と状況は変わりませんでした。
|
310
|
+
|
311
|
+
・eno1のtcpdumpの内容
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
```
|
316
|
+
|
317
|
+
# tcpdump -n -e -i eno1 host 200.xxx.xx.70 or 8.8.8.8
|
318
|
+
|
319
|
+
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
|
320
|
+
|
321
|
+
listening on eno1, link-type EN10MB (Ethernet), capture size 262144 bytes
|
322
|
+
|
323
|
+
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
|
324
|
+
|
325
|
+
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
|
326
|
+
|
327
|
+
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
|
328
|
+
|
329
|
+
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
|
330
|
+
|
331
|
+
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
|
332
|
+
|
333
|
+
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
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
```
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
・ゲスト側ping結果
|
342
|
+
|
343
|
+
1 packets transmitted, 0 received, +3 errors, 100% packet loss, time 0ms
|
1
タイトルのミスを編集
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
KVM仮想
|
1
|
+
KVM仮想マシンにグローバルIPを割り当てて内部⇔外部通信ができるようにしたい。
|
test
CHANGED
File without changes
|