https://rancher.com/ logo
#rancher-desktop
Title
# rancher-desktop
a

adamant-kite-43734

10/18/2022, 11:06 PM
This message was deleted.
f

fast-garage-66093

10/18/2022, 11:07 PM
I've just pushed a PR with a fix
m

microscopic-sandwich-7442

10/18/2022, 11:07 PM
is there a way I can apply that (soonish) ?
f

fast-garage-66093

10/18/2022, 11:07 PM
This is on macOS only; I assume you are running macOS?
m

microscopic-sandwich-7442

10/18/2022, 11:08 PM
MAcOS 12.6 (M1) , RD v1.6.0
f

fast-garage-66093

10/18/2022, 11:08 PM
You can build it yourself, or run a CI build (unsigned), or wait for us to make a patch release, hopefully later this week.
m

microscopic-sandwich-7442

10/18/2022, 11:09 PM
I am a bit puzzled how the network is getting to the VM in the first place, as I do not see a route with netstat-rn
f

fast-garage-66093

10/18/2022, 11:09 PM
It is a bridged interface, so doesn't route through the host
m

microscopic-sandwich-7442

10/18/2022, 11:10 PM
is it an issue if I have multiple bridges?
f

fast-garage-66093

10/18/2022, 11:11 PM
There is only a single VM here, so ignore "QEMU2". See how the bridged interface connects to your local network and gets it's own IP:
m

microscopic-sandwich-7442

10/18/2022, 11:11 PM
I have bridge100 and bridge101
(a few too many alternative solutions)
f

fast-garage-66093

10/18/2022, 11:13 PM
I can't tell from that, but you will have an additional
rd1
interface in the RD VM that uses "shared" networking. It is just used as a fallback in case the bridged network doesn't get an IP address.
m

microscopic-sandwich-7442

10/18/2022, 11:13 PM
let me check that
the pic is helpful, thanks
f

fast-garage-66093

10/18/2022, 11:14 PM
The shared network is obviously bridged through the host, but the actual bridged network connects directly (well, through Apple's vmnet framework) to the outside network
m

microscopic-sandwich-7442

10/18/2022, 11:15 PM
but you will have an additional
rd1
interface in the RD VM that uses “shared” networking.
Copy code
rd0       Link encap:Ethernet  HWaddr 52:55:55:16:5D:A8
          inet addr:192.168.1.140  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::5055:55ff:fe16:5da8/64 Scope:Link
          inet6 addr: fd7b:1fdf:7843:1329:5055:55ff:fe16:5da8/64 Scope:Global
          inet6 addr: 2001:470:1f07:1329:5055:55ff:fe16:5da8/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14678 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2548298 (2.4 MiB)  TX bytes:1620 (1.5 KiB)

rd1       Link encap:Ethernet  HWaddr 52:55:55:22:CC:EA
          inet addr:192.168.205.2  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fde9:670e:afdb:f874:5055:55ff:fe22:ccea/64 Scope:Global
          inet6 addr: fe80::5055:55ff:fe22:ccea/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:278 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:35634 (34.7 KiB)  TX bytes:1286 (1.2 KiB)
I do
rd0 uses my LAN DHCP CIDR
f

fast-garage-66093

10/18/2022, 11:16 PM
Yes,
rd0
is the bridged interface; it gets the IP address from your LAN DHCP server
(see the diagram)
m

microscopic-sandwich-7442

10/18/2022, 11:17 PM
(and yes that does work both 192.168.1.140/32 and 192.168.205.2/32 are reachable from the MacOS host)
f

fast-garage-66093

10/18/2022, 11:18 PM
Some network configurations don't allow multiple MAC addresses on a single network adapter, in which case the bridged network might not get an IP. In that case we use
rd1
instead, but it will obviously not be routable from the outside because it is then behind NAT
Anyways, looks like you are all set
m

microscopic-sandwich-7442

10/18/2022, 11:20 PM
well, I seem to have the issue you have reported/addressed .. so I will be all set, when I have the resolution deployed. thanks for taking the time to help me understand (a bit better)
f

fast-garage-66093

10/18/2022, 11:21 PM
You can downgrade to 1.5.1, where this is working; this is a regression due to some refactoring
m

microscopic-sandwich-7442

10/18/2022, 11:21 PM
I just deployed a whole lot of stuff 🙂
(and then I realized that the LB is not reachable)
f

fast-garage-66093

10/18/2022, 11:22 PM
Yeah, you would need to do a Factory Reset to downgrade
m

microscopic-sandwich-7442

10/18/2022, 11:22 PM
but thanks .. that is a good workaround
b

broad-train-31975

10/18/2022, 11:34 PM
@microscopic-sandwich-7442 I’ve downgraded to 1.5.1, back in business. Surely had to redeploy everything but needed to unblock myself
m

microscopic-sandwich-7442

10/19/2022, 12:06 AM
yep .. thanks @broad-train-31975 for confirming
b

broad-train-31975

10/19/2022, 12:06 AM
My pleasure
m

microscopic-sandwich-7442

10/19/2022, 12:07 AM
do you shutdown and overinstall 1.5.1 ?
or remove and install?
b

broad-train-31975

10/19/2022, 12:09 AM
I removed my VM, removed 1.5.1 app which was upgraded to 1.6.0, installed 1.5.1. First thing I did after launching 1.5.1 is unchecking auto upgrades, because it’ll auto upgrade to 1.6.0 without asking you
m

microscopic-sandwich-7442

10/19/2022, 12:10 AM
he he .. thanks good to avoid that
b

broad-train-31975

10/19/2022, 12:10 AM
so, I deleted the dir
~/Library/Application\ Support/rancher-desktop
and the Rancher Desktop.app in Applications note that if you added overrides.yaml you might want to save it first