I am trying to get the network of my VM to work, but I can't find the error.
The goal is to use a single public IPv6 address for this. No NAT.
It was working until I did
What am I missing?
The goal is to use a single public IPv6 address for this. No NAT.
It was working until I did
service netif restart && service routing restart
What am I missing?
Bash:
root@uruk:~ # vm switch list
NAME TYPE IFACE ADDRESS PRIVATE MTU VLAN PORTS
public standard vm-public - no - - em0
Bash:
root@uruk:~ # vm switch info public
------------------------
Virtual Switch: public
------------------------
type: standard
ident: vm-public
vlan: -
physical-ports: em0
bytes-in: 6705683049 (6.245G)
bytes-out: 49415285443 (46.021G)
virtual-port
device: tap0
vm: valheim
Code:
root@uruk:~ # ifconfig
[…]
vm-public: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 96:3b:b8:50:3b:d4
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto stp-rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: tap0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 6 priority 128 path cost 2000000
member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 20000
groups: bridge vm-switch viid-4c918@
nd6 options=9<PERFORMNUD,IFDISABLED>
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: vmnet-valheim-0-public
options=80000<LINKSTATE>
ether 58:9c:fc:10:ff:a6
groups: tap vm-port
media: Ethernet autoselect
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Opened by PID 83468
Bash:
root@uruk:~ # vm info valheim
------------------------
Virtual Machine: valheim
------------------------
state: running (83468)
datastore: default
loader: grub
uuid: 9d130302-8f28-11eb-b855-08606e45db5c
uefi: default
cpu: 4
memory: 4096M
memory-resident: 27258880 (25.996M)
console-ports
com1: /dev/nmdm-valheim.1B
network-interface
number: 0
emulation: virtio-net
virtual-switch: public
fixed-mac-address: 58:9c:fc:08:c5:86
fixed-device: -
active-device: tap0
desc: vmnet-valheim-0-public
mtu: 1500
bridge: vm-public
bytes-in: 0 (0.000B)
bytes-out: 153692 (150.089K)
virtual-disk
number: 0
device-type: file
emulation: ahci-hd
options: -
system-path: /vms/valheim/disk0.img
bytes-size: 214748364800 (200.000G)
bytes-used: 1475526656 (1.374G)