On 2022-05-12, David Demelier <[email protected]> wrote:
> (vm) #
> ping 8.8.8.8 
> PING 8.8.8.8 (8.8.8.8): 56 data bytes
> ping: sendmsg: Can't assign requested address
> ping: wrote 8.8.8.8 64 chars, ret=-1
> (vm) #
> # ftp http://5.135.187.121/index.html 
> Trying 5.135.187.121...
> ftp: connect: Can't assign requested address

How do ifconfig -A and netstat -rnfinet look in the vm?

> vlan0: flags=8002<BROADCAST,MULTICAST> mtu 1500
>       lladdr e0:d4:64:3c:31:9c
>       index 6 priority 0 llprio 3
>       encap: vnetid none parent iwx0 txprio packet rxprio outer
>       groups: vlan
>       media: IEEE802.11 autoselect (VHT-MCS9 mode 11ac)
>       status: active

I think this isn't doing anything, right?

> vport0: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>       lladdr fe:e1:ba:d0:32:b5
>       index 7 priority 0 llprio 3
>       groups: vport
>       inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255

This interface is not "up", iirc you need to do that explicitly
for vport.

Also check you have set sysctl net.inet.ip.forwarding in the host.


-- 
Please keep replies on the mailing list.

Reply via email to