MilanHofmann commented on issue #7185:
URL: https://github.com/apache/cloudstack/issues/7185#issuecomment-1425603112
@weizhouapache Thank you, that was the problem!
If I add the default route manually the vm checks all pass and NFS can be
mounted.
But why is it necessary to add it myself?
Shouldn't that be done by KVM during the launch?
Also the vm is still not reachable from outside the host.
Maybe I misconfigured something here?
`
root@m0995:~# ip a
`
gives
`
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master
cloudbr0 state UP group default qlen 1000
link/ether 1c:6f:65:91:9e:86 brd ff:ff:ff:ff:ff:ff
altname enp4s0
4: cloudbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UP group default qlen 1000
link/ether 1c:6f:65:91:9e:86 brd ff:ff:ff:ff:ff:ff
inet 79.143.179.221/24 metric 100 brd 79.143.179.255 scope global
dynamic cloudbr0
valid_lft 3777sec preferred_lft 3777sec
inet6 fe80::1e6f:65ff:fe91:9e86/64 scope link
valid_lft forever preferred_lft forever
5: cloudbr1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
state DOWN group default qlen 1000
link/ether 1c:6f:65:91:9e:86 brd ff:ff:ff:ff:ff:ff
inet6 fe80::1e6f:65ff:fe91:9e86/64 scope link
valid_lft forever preferred_lft forever
7: cloud0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
group default qlen 1000
link/ether a6:d6:15:d8:3a:12 brd ff:ff:ff:ff:ff:ff
inet 169.254.0.1/16 scope global cloud0
valid_lft forever preferred_lft forever
40: eth0.200@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
master breth0-200 state UP group default qlen 1000
link/ether 1c:6f:65:91:9e:86 brd ff:ff:ff:ff:ff:ff
41: breth0-200: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP group default qlen 1000
link/ether 82:8d:82:b1:a4:f2 brd ff:ff:ff:ff:ff:ff
42: vnet18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master
cloud0 state UNKNOWN group default qlen 1000
link/ether fe:00:a9:fe:b9:23 brd ff:ff:ff:ff:ff:ff
43: vnet19: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master
cloudbr0 state UNKNOWN group default qlen 1000
link/ether fe:00:e3:00:01:7b brd ff:ff:ff:ff:ff:ff
44: vnet20: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master
breth0-200 state UNKNOWN group default qlen 1000
link/ether fe:00:14:00:00:69 brd ff:ff:ff:ff:ff:ff
45: vnet21: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master
cloud0 state UNKNOWN group default qlen 1000
link/ether fe:00:a9:fe:a1:f9 brd ff:ff:ff:ff:ff:ff
46: vnet22: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master
cloudbr0 state UNKNOWN group default qlen 1000
link/ether fe:00:7d:00:01:1c brd ff:ff:ff:ff:ff:ff
47: vnet23: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master
breth0-200 state UNKNOWN group default qlen 1000
link/ether fe:00:ed:00:00:68 brd ff:ff:ff:ff:ff:ff
48: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state
DOWN group default qlen 1000
link/ether 52:54:00:42:23:f0 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
`
+ this is my netplan config:
---------------------------------------------
network:
version: 2
renderer: networkd
ethernets:
ens18:
match:
macaddress: $myMacAdress
bridges:
cloudbr0:
dhcp4: true
macaddress: $myMacAdress
interfaces:
- ens18
addresses: [$myAddress]
# gateway4 is deprecated, use routes instead
routes:
- to: 0.0.0.0/0
via: $myGateway
on-link: true
nameservers:
search: [ invalid ]
addresses:
- 8.8.8.8
- 8.8.4.4
cloudbr1:
dhcp4: false
macaddress: $myMacAdress
optional: true
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]