How to find what interfaces Samba is using?

Cameron Simpson cs at zip.com.au
Fri Oct 19 04:32:49 UTC 2007


On 18Oct2007 11:51, Chris G <cl at isbd.net> wrote:
| I have some vmware guests on my Fedora 7 system and they use Samba on
| the Fedora host to access files on the host.
| I'd like to know what interface(s) samba is using for connections from
| the vmware guests, does anyone know how I can do this?

"netstat -an | grep ESTABLISHED" should show the existing samba
connections (ports 139 or 445 if I recall, see /etc/services)
and their IP endpoints. You should be able to deduce the network
interface from that and "netstat -rn".
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

C'est un Nagra.  C'est suisse, et tres, tres precis.    - _Diva_




More information about the fedora-list mailing list