[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

mount a drive on different subnet

Posted on 2015-02-12
7
Medium Priority
?
256 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 30

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 35

Expert Comment

by:Seth Simmons
ID: 40607137
is 192.168.44.12 linux?
how is it a cifs share?
0
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 

Author Comment

by:Kinderly Wade
ID: 40609061
Hi Seth,

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

Accepted Solution

by:
serialband earned 2000 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 30

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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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.
Suggested Courses

649 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