[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-discuss] How do I configure qemu-kvm to use tap0?
From: |
ToddAndMargo |
Subject: |
[Qemu-discuss] How do I configure qemu-kvm to use tap0? |
Date: |
Sat, 6 Jan 2018 01:10:53 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
Hi All,
How do I get my qaemu-kvm virtual machines to use my OpenVPN's
tap0, instead of br0?
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.255.10 netmask 255.255.255.0 broadcast
192.168.255.255
inet6 fe80::5437:93ff:feaa:c159 prefixlen 64 scopeid 0x20<link>
ether fe:54:00:30:6e:23 txqueuelen 1000 (Ethernet)
RX packets 1460457 bytes 88821584 (84.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2327924 bytes 3101051809 (2.8 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tap0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.210.50 netmask 255.255.255.0 broadcast
192.168.210.255
inet6 fe80::7c9b:33ff:fedd:feea prefixlen 64 scopeid 0x20<link>
ether 7e:9b:33:dd:fe:ea txqueuelen 100 (Ethernet)
RX packets 2171 bytes 211552 (206.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 124 bytes 63283 (61.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
With br0, I can arp-scan 192.168.210.50, but nothing past it. From the
host machine, I can
# arp-scan --interface=tap0 192.168.210.0/24
I get back two more IP at the other end.
And I am noticing the "route -n" does not show tap0 as a gateway
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 192.168.250.1 0.0.0.0 UG 100 0 0
enp7s0
169.254.0.0 0.0.0.0 255.255.0.0 U 1004 0 0 br0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0
virbr0
192.168.200.0 0.0.0.0 255.255.255.0 U 0 0 0 tap0
192.168.250.0 0.0.0.0 255.255.255.0 U 100 0 0
enp7s0
What am I doing wrong?
Many thanks, -T
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-discuss] How do I configure qemu-kvm to use tap0?,
ToddAndMargo <=