On  6 May at 04:04, Luke Small <lukensm...@gmail.com> wrote:
> There seems to be ZERO examples of using veb/vport vs bridge/vether. I am
> running 6.9 now and I substituted the bridge0 usage in vm.conf and I copied
> the hostname.vether0 into hostname.vport0 and hostname.bridge0 uses vether0
> so I used vport0 in hostname.veb0 . I used ifconfig … down for bridge0 and
> vether0 and ifconfig … up for vport0 and veb0 and ran “sh /etc/netstart
> veb0 then ran the vm of choice and it gets no internet. I reverted
> everything back and I get internet.
> 
> What am I missing?

Can you share your config?

I have it working with like:

root@server14:~ # ls /etc/hostname.* | xargs -n1 -t head -n5       
head -n5 /etc/hostname.em0
up
head -n5 /etc/hostname.veb911
add vport911
up
head -n5 /etc/hostname.vlan910
vnetid 910 parent em0
inet 46.23.91.24 255.255.255.192
inet6 2a03:6000:910::24 64
up
head -n5 /etc/hostname.vport911
inet 46.23.91.65 255.255.255.192

root@server14:~ # cat /etc/vm.conf 
switch "uplink_veb911" {
        interface veb911
}

vm "vm01" {
        disable
        owner runbsd
        memory 1G
        disk "/var/vmm/vm01.qcow2" format qcow2
        interface tap {
                switch "uplink_veb911"
                lladdr fe:e1:bb:d4:d4:01
        }
}

Mischa

Reply via email to