You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a network range 198.19.0.0/16 in the vm. I want to set up a route record on my host to route traffic to this ip range in the vm.
vm yaml: basically same as the docker-rootful.yaml example, except for the network section
...
networks:
- lima: host
...
host machine info:
$ uname -a
Darwin Ryans-MacBook-Pro-2.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:20:05 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T8101 arm64
my vm ip: 192.168.106.2. and I am able to ping this ip from host
$ ping 192.168.106.2
PING 192.168.106.2 (192.168.106.2): 56 data bytes
64 bytes from 192.168.106.2: icmp_seq=0 ttl=64 time=0.596 ms
64 bytes from 192.168.106.2: icmp_seq=1 ttl=64 time=1.295 ms
^C
--- 192.168.106.2 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.596/0.946/1.295/0.350 ms
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
There is a network range 198.19.0.0/16 in the vm. I want to set up a route record on my host to route traffic to this ip range in the vm.
vm yaml: basically same as the docker-rootful.yaml example, except for the network section
host machine info:
$ uname -a Darwin Ryans-MacBook-Pro-2.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:20:05 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T8101 arm64
my vm ip: 192.168.106.2. and I am able to ping this ip from host
routing rule on host
when I try to ping 198.19.254.1
I used Wireshark to monitor ICMP traffic, but I can't see anything. I am assuming my host is not routing the traffic properly.
Thank you all in advance.
Beta Was this translation helpful? Give feedback.
All reactions