Kinderly Wade
asked on
mount a drive on different subnet
Hi Experts,
I like to mount a drive/folder from a different subnet and I wish to know how to accomplish this?
I have two subnets with 192.168.44.x and 192.168.56.x:
1. on 192.168.44.12 I have a share folder with path like this: 192.168.4.12/opt
2. I am currently on 192.168.56.15 and created a mount path like this: /mnt/rmote_opt
I've tried mount option with cifs like this:
mount -t cifs //192.168.44.12/opt /mnt/rmote_opt -o username=xxxxx,password=xx xxx but it doesn't work. Somehow I cannot find //192.168.44.12/opt.
Is there a way to change my current script or there is another way that allows me to mount a remote path from different subnet? Thanks
I like to mount a drive/folder from a different subnet and I wish to know how to accomplish this?
I have two subnets with 192.168.44.x and 192.168.56.x:
1. on 192.168.44.12 I have a share folder with path like this: 192.168.4.12/opt
2. I am currently on 192.168.56.15 and created a mount path like this: /mnt/rmote_opt
I've tried mount option with cifs like this:
mount -t cifs //192.168.44.12/opt /mnt/rmote_opt -o username=xxxxx,password=xx
Is there a way to change my current script or there is another way that allows me to mount a remote path from different subnet? Thanks
Can you ping 192.168.44.12? Can you ping the other subnet?
ASKER
Hi serialband,
Yes, I am able to ping it.
Yes, I am able to ping it.
is 192.168.44.12 linux?
how is it a cifs share?
how is it a cifs share?
ASKER
Hi Seth,
no, 192.168.44.12 is not linux. It is window server.
no, 192.168.44.12 is not linux. It is window server.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi serialband,
I think it is possible. It is a webserver which the only port allowed on it is port 80 and 443. I will remove the restriction and see the firewall configuration. Thanks.
I think it is possible. It is a webserver which the only port allowed on it is port 80 and 443. I will remove the restriction and see the firewall configuration. Thanks.
You ned thes ports open for CIFS:
netbios-ns - 137/tcp # NETBIOS Name Service
netbios-dgm - 138/tcp # NETBIOS Datagram Service
netbios-ssn - 139/tcp # NETBIOS session service
microsoft-ds - 445/tcp # if you are using Active Directory
http://www.cyberciti.biz/faq/what-ports-need-to-be-open-for-samba-to-communicate-with-other-windowslinux-systems/
netbios-ns - 137/tcp # NETBIOS Name Service
netbios-dgm - 138/tcp # NETBIOS Datagram Service
netbios-ssn - 139/tcp # NETBIOS session service
microsoft-ds - 445/tcp # if you are using Active Directory
http://www.cyberciti.biz/faq/what-ports-need-to-be-open-for-samba-to-communicate-with-other-windowslinux-systems/