OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: FredFresh on April 23, 2025, 08:50:09 PM

Title: SOLVED: PING - bind: can't assign requested address
Post by: FredFresh on April 23, 2025, 08:50:09 PM
I need to perform some checks on routing rules and I would like to perform several pings to specific ip/ports from /to different internal subnets and to the web.
When I use the ping interface, it works only if I don't specify the source ip address. I tried to use an ip address active, or not active but available from the DHCP,etc... the result is always this error.

Please, can you help?
Title: Re: PING - bind: can't assign requested address
Post by: viragomann on April 23, 2025, 10:14:54 PM
You can only use IPs as source, which are assigned to an OPNsense interface. Otherwise replies won't come back.
Title: Re: PING - bind: can't assign requested address
Post by: FredFresh on April 23, 2025, 10:23:30 PM
Thank you viragomann!