Greetings,

I'm running into issues with IPv6 networking using vmm with an openbsd guest, 
both running OpenBSD 7.5. Setup and diagnostic info here: 

https://paste.ircnow.org/05ejwpmf4hi74xuz0h2n

I am setting up an openbsd virtual machine inside vmm using this
configuration:

https://wiki.ircnow.org/?n=Vmm.Configure

IPv4 networking inside the virtual machine works fine, but IPv6 is
failing. I can use the hypervisor's IPv6 address 2602:fccf:400:41:: but
am unable to use IPv6 from the virtual machines.

Here is my configuration:

Inside hypervisor:

hypervisor$ cat /etc/hostname.em1
inet 104.167.241.211 0xffffffc0
inet6 2602:fccf:400:41:: 48
hypervisor$ cat /etc/mygate
104.167.241.193
2602:fccf:400::1
hypervisor$ cat /etc/hostname.vether0
inet 104.167.241.49 255.255.255.248
inet6 2602:fccf:400:41::1 64
hypervisor$ cat /etc/hostname.bridge0
add vether0

Inside virtual machine:
vm# cat /etc/hostname.vio0
inet 104.167.241.51 0xffffffc0
inet6 2602:fccf:400:41:51:: 64
vm# cat /etc/mygate
104.167.241.49
2602:fccf:400:41::1

Hypervisor ifconfig, route, arp, and ndp:

hypervisor$ ifconfig
lo0: flags=2008049<UP,LOOPBACK,RUNNING,MULTICAST,LRO> mtu 32768
        index 4 priority 0 llprio 3
        groups: lo
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:25:90:5a:2d:93
        index 1 priority 0 llprio 3
        media: Ethernet autoselect (none)
        status: no carrier
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:25:90:5a:2d:92
        index 2 priority 0 llprio 3
        groups: egress
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet 104.167.241.211 netmask 0xffffffc0 broadcast 104.167.241.255
        inet6 fe80::225:90ff:fe5a:2d92%em1 prefixlen 64 scopeid 0x2
        inet6 2602:fccf:400:41:: prefixlen 48
enc0: flags=0<>
        index 3 priority 0 llprio 3
        groups: enc
        status: active
bridge0: flags=41<UP,RUNNING> mtu 1500
        description: switch1-switch0
        index 5 llprio 3
        groups: bridge
        priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
        tap1 flags=3<LEARNING,DISCOVER>
                port 15 ifpriority 0 ifcost 0
        tap2 flags=3<LEARNING,DISCOVER>
                port 10 ifpriority 0 ifcost 0
        tap0 flags=3<LEARNING,DISCOVER>
                port 8 ifpriority 0 ifcost 0
        vether0 flags=3<LEARNING,DISCOVER>
                port 6 ifpriority 0 ifcost 0
vether0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        lladdr fe:e1:ba:d0:6f:27
        index 6 priority 0 llprio 3
        groups: vether
        media: Ethernet autoselect
        status: active
        inet 104.167.241.49 netmask 0xfffffff8 broadcast 104.167.241.55
        inet6 fe80::fce1:baff:fed0:6f27%vether0 prefixlen 64 scopeid 0x6
        inet6 2602:fccf:400:41::1 prefixlen 64
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136
        index 7 priority 0 llprio 3
        groups: pflog
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        lladdr fe:e1:ba:d1:76:b7
        description: vm1-if0-mattbsd
        index 8 priority 0 llprio 3
        groups: tap
        status: active
tap2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        lladdr fe:e1:ba:d3:f5:02
        description: vm3-if0-errorbsd
        index 10 priority 0 llprio 3
        groups: tap
        status: active
tap1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        lladdr fe:e1:ba:d8:99:f9
        description: vm2-if0-jrmu
        index 15 priority 0 llprio 3
        groups: tap
        status: active

hypervisor$ route -n show

Routing tables

Internet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
default            104.167.241.193    UGS       11    46767     -     8 em1  
224/4              127.0.0.1          URS        0        0 32768     8 lo0  
104.167.241.192/26 104.167.241.211    UCn        1    12147     -     4 em1  
104.167.241.48/29  104.167.241.49     UCn        6        0     -     4 vether0
104.167.241.48     link#6             UHLc       0       17     -     3 vether0
104.167.241.49     fe:e1:ba:d0:6f:27  UHLl       0     8098     -     1 vether0
104.167.241.50     e8:8b:27:7b:7a:01  UHLc       0     1439     -     3 vether0
104.167.241.51     e8:8b:27:7b:7a:02  UHLc       0    22740     -     3 vether0
104.167.241.52     link#6             UHLc       0       84     -     3 vether0
104.167.241.53     link#6             UHLc       0       15     -     3 vether0
104.167.241.54     e8:8b:27:7b:7a:03  UHLc       0     1069     -     3 vether0
104.167.241.55     104.167.241.49     UHb        0     1005     -     1 vether0
104.167.241.193    ac:1f:6b:fe:ca:98  UHLch      1     5705     -     3 em1  
104.167.241.211    00:25:90:5a:2d:92  UHLl       0     9427     -     1 em1  
104.167.241.255    104.167.241.211    UHb        0     4455     -     1 em1  
127/8              127.0.0.1          UGRS       0        0 32768     8 lo0  
127.0.0.1          127.0.0.1          UHhl       1        2 32768     1 lo0  

Internet6:
Destination                                 Gateway                             
    Flags   Refs      Use   Mtu  Prio Iface
default                                     2602:fccf:400::1                    
    UGS        0       39     -     8 em1  
::/96                                       ::1                                 
    UGRS       0        0 32768     8 lo0  
::1                                         ::1                                 
    UHhl      10       20 32768     1 lo0  
::ffff:0.0.0.0/96                           ::1                                 
    UGRS       0        0 32768     8 lo0  
2002::/24                                   ::1                                 
    UGRS       0        0 32768     8 lo0  
2002:7f00::/24                              ::1                                 
    UGRS       0        0 32768     8 lo0  
2002:e000::/20                              ::1                                 
    UGRS       0        0 32768     8 lo0  
2002:ff00::/24                              ::1                                 
    UGRS       0        0 32768     8 lo0  
2602:fccf:400::/48                          2602:fccf:400:41::                  
    UCn        1      119     -     4 em1  
2602:fccf:400::1                            ac:1f:6b:fe:ca:98                   
    UHLch      1      411     -     3 em1  
2602:fccf:400:41::/64                       2602:fccf:400:41::1                 
    UCn        1       42     -     4 vether0
2602:fccf:400:41::                          00:25:90:5a:2d:92                   
    UHLl       0       47     -     1 em1  
2602:fccf:400:41::1                         fe:e1:ba:d0:6f:27                   
    UHLl       0       19     -     1 vether0
2602:fccf:400:41:51::                       e8:8b:27:7b:7a:02                   
    UHLc       0       63     -     3 vether0
fe80::/10                                   ::1                                 
    UGRS       0        2 32768     8 lo0  
fec0::/10                                   ::1                                 
    UGRS       0        0 32768     8 lo0  
fe80::%em1/64                               fe80::225:90ff:fe5a:2d92%em1        
    UCn        1        1     -     4 em1  
fe80::225:90ff:fe5a:2d92%em1                00:25:90:5a:2d:92                   
    UHLl       0        0     -     1 em1  
fe80::ae1f:6bff:fefe:ca98%em1               ac:1f:6b:fe:ca:98                   
    UHLc       0       59     -     3 em1  
fe80::1%lo0                                 fe80::1%lo0                         
    UHl        0        0 32768     1 lo0  
fe80::%vether0/64                           fe80::fce1:baff:fed0:6f27%vether0   
    UCn        1        2     -     4 vether0
fe80::ea8b:27ff:fe7b:7a02%vether0           e8:8b:27:7b:7a:02                   
    UHLc       0       23     -     3 vether0
fe80::fce1:baff:fed0:6f27%vether0           fe:e1:ba:d0:6f:27                   
    UHLl       0        4     -     1 vether0
ff01::/16                                   ::1                                 
    UGRS       0        7 32768     8 lo0  
ff01::%em1/32                               fe80::225:90ff:fe5a:2d92%em1        
    Um         0        1     -     4 em1  
ff01::%lo0/32                               fe80::1%lo0                         
    Um         0        1 32768     4 lo0  
ff01::%vether0/32                           fe80::fce1:baff:fed0:6f27%vether0   
    Um         0        1     -     4 vether0
ff02::/16                                   ::1                                 
    UGRS       0        7 32768     8 lo0  
ff02::%em1/32                               fe80::225:90ff:fe5a:2d92%em1        
    Um         0        6     -     4 em1  
ff02::%lo0/32                               fe80::1%lo0                         
    Um         0        1 32768     4 lo0  
ff02::%vether0/32                           fe80::fce1:baff:fed0:6f27%vether0   
    Um         0        3     -     4 vether0

hypervisor$ arp -na
Host                                 Ethernet Address    Netif Expire    Flags
104.167.241.48                       (incomplete)      vether0 expired   
104.167.241.49                       fe:e1:ba:d0:6f:27 vether0 permanent l
104.167.241.50                       e8:8b:27:7b:7a:01 vether0 19m46s    
104.167.241.51                       e8:8b:27:7b:7a:02 vether0 9m29s     
104.167.241.52                       (incomplete)      vether0 expired   
104.167.241.53                       (incomplete)      vether0 expired   
104.167.241.54                       e8:8b:27:7b:7a:03 vether0 19m50s    
104.167.241.193                      ac:1f:6b:fe:ca:98     em1 19m58s    
104.167.241.211                      00:25:90:5a:2d:92     em1 permanent l
hypervisor$ ndp -na
Neighbor                                Linklayer Address   Netif Expire    S 
Flags
2602:fccf:400::1                        ac:1f:6b:fe:ca:98     em1 23h57m36s S 
2602:fccf:400:41::                      00:25:90:5a:2d:92     em1 permanent R l
2602:fccf:400:41::1                     fe:e1:ba:d0:6f:27 vether0 permanent R l
2602:fccf:400:41:51::                   e8:8b:27:7b:7a:02 vether0 23h52m37s S 
fe80::225:90ff:fe5a:2d92%em1            00:25:90:5a:2d:92     em1 permanent R l
fe80::ae1f:6bff:fefe:ca98%em1           ac:1f:6b:fe:ca:98     em1 21h7m4s   S R
fe80::ea8b:27ff:fe7b:7a02%vether0       e8:8b:27:7b:7a:02 vether0 23h50m15s S 
fe80::fce1:baff:fed0:6f27%vether0       fe:e1:ba:d0:6f:27 vether0 permanent R l

Virtual machine ifconfig, route, arp, and ndp:

vm$ ifconfig
lo0: flags=2008049<UP,LOOPBACK,RUNNING,MULTICAST,LRO> mtu 32768
        index 3 priority 0 llprio 3
        groups: lo
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
vio0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 
1500
        lladdr e8:8b:27:7b:7a:02
        index 1 priority 0 llprio 3
        groups: egress
        media: Ethernet autoselect
        status: active
        inet 104.167.241.51 netmask 0xffffffc0 broadcast 104.167.241.63
        inet6 fe80::ea8b:27ff:fe7b:7a02%vio0 prefixlen 64 scopeid 0x1
        inet6 2602:fccf:400:41:51:: prefixlen 64
enc0: flags=0<>
        index 2 priority 0 llprio 3
        groups: enc
        status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136
        index 4 priority 0 llprio 3
        groups: pflog


vm$ route -n show

Routing tables

Internet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
default            104.167.241.49     UGS        5      147     -     8 vio0 
224/4              127.0.0.1          URS        0        0 32768     8 lo0  
104.167.241.0/26   104.167.241.51     UCn        1      136     -     4 vio0 
104.167.241.49     fe:e1:ba:d0:6f:27  UHLch      1       70     -     3 vio0 
104.167.241.51     e8:8b:27:7b:7a:02  UHLl       0      168     -     1 vio0 
104.167.241.63     104.167.241.51     UHb        0        0     -     1 vio0 
127/8              127.0.0.1          UGRS       0        0 32768     8 lo0  
127.0.0.1          127.0.0.1          UHhl       1       12 32768     1 lo0  

Internet6:
Destination                                 Gateway                             
    Flags   Refs      Use   Mtu  Prio Iface
default                                     2602:fccf:400:41::1                 
    UGS        0        7     -     8 vio0 
::/96                                       ::1                                 
    UGRS       0        0 32768     8 lo0  
::1                                         ::1                                 
    UHhl      10       20 32768     1 lo0  
::ffff:0.0.0.0/96                           ::1                                 
    UGRS       0        0 32768     8 lo0  
2002::/24                                   ::1                                 
    UGRS       0        0 32768     8 lo0  
2002:7f00::/24                              ::1                                 
    UGRS       0        0 32768     8 lo0  
2002:e000::/20                              ::1                                 
    UGRS       0        0 32768     8 lo0  
2002:ff00::/24                              ::1                                 
    UGRS       0        0 32768     8 lo0  
2602:fccf:400:41::/64                       2602:fccf:400:41:51::               
    UCn        1        0     -     4 vio0 
2602:fccf:400:41::1                         fe:e1:ba:d0:6f:27                   
    UHLch      1       10     -     3 vio0 
2602:fccf:400:41:51::                       e8:8b:27:7b:7a:02                   
    UHLl       0        2     -     1 vio0 
fe80::/10                                   ::1                                 
    UGRS       0        1 32768     8 lo0  
fec0::/10                                   ::1                                 
    UGRS       0        0 32768     8 lo0  
fe80::%vio0/64                              fe80::ea8b:27ff:fe7b:7a02%vio0      
    UCn        1        2     -     4 vio0 
fe80::ea8b:27ff:fe7b:7a02%vio0              e8:8b:27:7b:7a:02                   
    UHLl       0        3     -     1 vio0 
fe80::fce1:baff:fed0:6f27%vio0              fe:e1:ba:d0:6f:27                   
    UHLc       0        8     -     3 vio0 
fe80::1%lo0                                 fe80::1%lo0                         
    UHl        0        0 32768     1 lo0  
ff01::/16                                   ::1                                 
    UGRS       0        1 32768     8 lo0  
ff01::%vio0/32                              fe80::ea8b:27ff:fe7b:7a02%vio0      
    Um         0        1     -     4 vio0 
ff01::%lo0/32                               fe80::1%lo0                         
    Um         0        1 32768     4 lo0  
ff02::/16                                   ::1                                 
    UGRS       0        1 32768     8 lo0  
ff02::%vio0/32                              fe80::ea8b:27ff:fe7b:7a02%vio0      
    Um         0        4     -     4 vio0 
ff02::%lo0/32                               fe80::1%lo0                         
    Um         0        1 32768     4 lo0  

vm$ arp -na
arp -na
Host                                 Ethernet Address    Netif Expire    Flags
104.167.241.49                       fe:e1:ba:d0:6f:27    vio0 19m57s    
104.167.241.51                       e8:8b:27:7b:7a:02    vio0 permanent l

vm$ ndp -na
ndp -na
Neighbor                                Linklayer Address   Netif Expire    S 
Flags
2602:fccf:400:41::1                     fe:e1:ba:d0:6f:27    vio0 23h53m17s S R
2602:fccf:400:41:51::                   e8:8b:27:7b:7a:02    vio0 permanent R l
fe80::ea8b:27ff:fe7b:7a02%vio0          e8:8b:27:7b:7a:02    vio0 permanent R l
fe80::fce1:baff:fed0:6f27%vio0          fe:e1:ba:d0:6f:27    vio0 23h51m5s  S R

If any other diagnostic information is needed, please let me know.

-- 
jrmu
IRCNow (https://ircnow.org)

Attachment: signature.asc
Description: PGP signature

Reply via email to