Solved

mount a drive on different subnet

Posted on 2015-02-12
7
231 Views
Last Modified: 2015-02-13
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=xxxxx 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
0
Comment
Question by:Kinderly Wade
  • 3
  • 3
7 Comments
 
LVL 28

Expert Comment

by:serialband
ID: 40606817
Can you ping 192.168.44.12? Can you ping the other subnet?
0
 

Author Comment

by:Kinderly Wade
ID: 40606829
Hi serialband,

Yes, I am able to ping it.
0
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 40607137
is 192.168.44.12 linux?
how is it a cifs share?
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

Author Comment

by:Kinderly Wade
ID: 40609061
Hi Seth,

no, 192.168.44.12 is not linux. It is window server.
0
 
LVL 28

Accepted Solution

by:
serialband earned 500 total points
ID: 40609123
Do you have a switch or firewall blocking samba ports?
Check to see if you can just connect to the remote system first.

smbclient -L 192.168.44.12

This should display the shares if you're allowed to connect.
0
 

Author Comment

by:Kinderly Wade
ID: 40609136
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.
0
 
LVL 28

Expert Comment

by:serialband
ID: 40609146
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/
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Guacamole cut and paste issue 3 49
AWS EC2 Linux 1 55
linux boot fsck problem 3 61
How to make a Bash alias that takes parameters 5 33
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now