Metasploit framework

i’m trying to use a port scanner in metasploit but there is error saying no IP assigned

msf6 auxiliary(scanner/portscan/syn) > run
/usr/share/metasploit-framework/lib/msf/core/exploit/capture.rb:129: warning: unable to get IP: teredo: no IPv4 address assigned
/usr/share/metasploit-framework/modules/auxiliary/scanner/portscan/syn.rb:70: warning: unable to get IP: teredo: no IPv4 address assigned

anyone pls help me what this error is and how to fix it