• February 23, 2025, 12:45:42 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Is it possible to configure a "special" network connection between 2 computers?  (Read 12295 times)

OS9Barry

  • Level 1 Member
  • *
  • Posts: 5

Greetings!

     I am wanting to see whether I can get this question answered here,
since the main question in my mind has to do with communicating between
two computers on different ports of my EBR-2310 router.

     I run two systems, mainly:  A Sun Ultra 30 running Solaris 8 and a
computer running Linux Fedora Core 4.

     The Sun system has more than one network port, and my Linux system
has one.  The Sun is therefore my mail host as well as my Linux router.

     I do very nearly everything on the Linux computer, and that won't be
changing.

     Well, I recently got a Windows computer with only one network
interface card.  (The reason is MAINLY my mother lives with me, and she
needs me a lot more than she used to.  I've missed three weeks of work
already this year because she was in the hospital and needed me.  Two
people at ITT have already had to leave.  One lady has both of her parents
with her, and she just couldn't keep *going* to work.  But, they became
subcontractors and continued working on our team.  I *may* have to
consider doing the same, though I haven't yet.  If you do this, you have
to have Windows at home.)

     I really am not using the Windows system much, at least right now
(not working via it).  However, I have already wished I could print from
it.

     I'd like to set up Samba, on my Linux system, to allow printing and
file transfer with my Windows system.  (Years ago, I actually had a
Windows 98 that I ran under VMware in Linux, and had set up the Samba
under VMware and was able to do exactly that:  accept printouts that would
print on my Linux system, which has the printer attached to it, and
transfer files.  I'm hoping I could set up something very similar fairly
quickly, in this regard.)

     The Sun/Solaris computer is plugged into port 1 of the EBR-2310.

     A home security camera DVR is plugged into port 2 of the EBR-2310.

     (I have four security cameras around the outside of my house.  I am
able to check on this from work or somewhere else, if/when I want to.)

     I recently plugged the only network interface card of my Windows
computer into port 3 of the EBR-2310.

     It accesses a couple of web sites that I had given up accessing on my
slower Solaris and Linux systems just great!

     My question:  would I be able to configure Samba running on the Linux
system to allow it to transfer files to/from the Windows system, and
accept an occasional printout, since there isn't a direct network
connection between the Windows box and the Linux box, but both can "talk
to" the EBR-2310?

     My Windows system doesn't run all the time.  (Hey, I run operating
systems that don't insist on rebooting themselves! :-O  :-)  I've seen
nearly 500 days -- that's days not hours -- on both my Solaris and Linux
systems, with "uptime" or similar commands!)  :-)

     However, I recently used Internet Explorer, on the Windows to get a
virtual account number, to "shop" at a vendor I hadn't yet shopped at, but
believed I could trust.  (And, it turns out, I could have.)

     I would have desired to printout that virtual account number from the
Windows computer, instead of CAREFULLY copying it into my Linux firefox
browser, where I was printing my order page!  :-)

     Bottom line:  it won't be that frequent.  But, I will occasionally
desire to print something from the Windows system and/or perhaps transfer
a file.

     Can I do this?

     Through the Advanced tab, I have an IP address and port, so that the
DVR attached to port 2 of the EBR-2310 can have access to web browsers,
either on my systems here at home as well as via the Internet.

     I am not a network guru, so if someone who understands networks
better than myself, and perhaps particularly those who might understand
the *special* type of network connection I'd have to set up via the
EBR-2310 if this is possible, I would appreciate your help.

     All my addresses start with 192.168.x.x.

     So, is this a waste of time (should I be considering something else)
or is this possible?

     Thank you!

     Barry
Logged

WiFi

  • Level 2 Member
  • **
  • Posts: 29

Hi Barry,

Even though it's Microsoft Windows  ::) it still has a lot of funtionality.  I do agree, though, not too stable for 500 hours , let-alone days, steady on-time.  ;D

I hope you at least have Windows XP (Professional Edition would be nice, but Home Edition should work too) with the latest Service pack (SP3) update and other updates afterwards, although I've heard Windows 2000 (with SP4) is more stable for 24/7 - 365 day/year usage, you can still do what you want, with most of the control being done through the Router, using Port Forwarding, as well as making Folders, or entire drives on the windows system SHARED between the other systems, if they support such a setting, too.

I'm not at all a Linux GEEK, but heard it's the most stable of all OS' out there... you may have to translate what's done to the Windows system, (with shared folders and drives) into how to do it to the Linux, if it even needs it.

It's possible, though, with just the port forwarding in the router, you could make what you want happen.

I'll see if I can look-up your router model User-Guide to get a better idea of how to direct you in that endeavor.

don't give up on Windows, it should do what you want, or you can smack Bill Gates  ;)

Quick edit -...

is it the "B" revision, or regular?, there are two separate UserGuides at the FTP site ftp://ftp.dlink.com/Gateway/

there seems to be problems with this model ... this post (below) showing reviews at a link to NewEgg, with lots of angry peeps, but some like it.
http://forums.dlink.com/index.php?topic=6434.msg38930#msg38930

I hope yours isn't one of the bad ones... that could MAYBE make things nasty between the different systems!
If yours has been working well, chances are it will continue to.
« Last Edit: July 25, 2009, 10:32:42 AM by WiFi »
Logged
Always Trying To Improve

Alexandreg

  • Guest

I'll me honest, I haven't took the time to read the whole post...

But, the important thing for you is that, in you LAN, the router won't do anything... It is basically used as a switch... So it will forward any Ethernet frame to any computer in your LAN... So if it doesn't work, it is not because of the EBR-2310.

Alex
Logged

OS9Barry

  • Level 1 Member
  • *
  • Posts: 5

I hope you at least have Windows XP (Professional Edition would be nice, but Home Edition should work too) with the latest Service pack (SP3) update and other updates afterwards, although I've heard Windows 2000 (with SP4) is more stable for 24/7 - 365 day/year usage, you can still do what you want, with most of the control being done through the Router, using Port Forwarding, as well as making Folders, or entire drives on the windows system SHARED between the other systems, if they support such a setting, too.

It's possible, though, with just the port forwarding in the router, you could make what you want happen.

I'll see if I can look-up your router model User-Guide to get a better idea of how to direct you in that endeavor.

is it the "B" revision, or regular?, there are two separate UserGuides at the FTP site ftp://ftp.dlink.com/Gateway/

Hi WiFi!

     Thank you very much for your fast response!

     Since I didn't have Windows (at home) before, I got what Dell recommended:  Windows Vista.  I'm pretty sure it has all the latest service packs and stuff, since it is still new, and I'm seeing continued "your system needs to reboot now" messages, when it is on!  :-O  :-)

     Thank you for looking at my user guide and your assistance!  I very much appreciate your help!

     I think "port forwarding" is really all that I have successfully set up in the D-Link EBR-2310 to allow the DVR to "talk to" web browsers, both my own as well as on the Internet.  (There was a piece of paper that listed explicit directions, including one for D-Link that just about perfectly matched what I had to do to make it happen in my EBR-2310.)

     Hmmm.... the top of the HTML page when I'm logged into my EBR-2310 says:  Hardware Version: B1        Firmware Version: 2.01

     I'll check out the URL you listed (I haven't yet) and we'll see what can happen here!

     Thank you for your help!

     Barry
Logged

OS9Barry

  • Level 1 Member
  • *
  • Posts: 5

But, the important thing for you is that, in you LAN, the router won't do anything... It is basically used as a switch... So it will forward any Ethernet frame to any computer in your LAN... So if it doesn't work, it is not because of the EBR-2310.

Hi Alex!

     Thank you for spending the time to help however you have!

     I believe, then, that it IS possible.

     Actually, I am using a D-Link DGS-2205 switch, because the Linux as well as the Solaris system is both talking to an Avocent 16-port Ethernet serial hub, via one network.  (I downloaded drivers for both systems, so either one could talk to the serial devices I have.  Some of the devices require specific programming I have on my Linux system.  But, 7 of them are just terminals.)  So, I have at least some concept of whatever goes to that is "receivable" to any computer that is attached to it.

     Thank you!

     Barry
Logged

WiFi

  • Level 2 Member
  • **
  • Posts: 29

hi Barry, quick note to mention about Vista  ::) just because you have a "new" system from Dell, doesn't mean you have all the latest updates to Vista's OS

So many problems with that system during the last year or two, there's been one or another "latest" update out when you least expect it.

Another person I know in my neighborhood, with a HP laptop, thought he too had the latest, but when going onto HP to see, there was such a long procedure to update to the SP1, he decided to not do it yet. :o (so many pre configure steps before going to just the SP1 before doing the updates WOW)

Vista is really a big pain in the arse ...  ::) :P :D .. but once it's all set-up, it should be very good for your needs.

I don't know much about that OS, I just have XP Pro with SP3, basically you're trying to have the folders or drive shared between the computers by making a "static IP" on each computers port, so the router can be told where to forward any request for seeing each computers folder/drive.... usually, a static IP is set in the Ethernets config, having it not use DHCP to make one of it's own.

With Windows, most likely also Vista, the "Control Panel/Network Connections" should show "Local Area Connection" Properties and should have this config located in the "Internet Protocol (TCP/IP)" option of that Icon window.
After opening it, you'll see it's default to "Obtain an IP Address automatically" ... change to "Use the following IP address"... put the Static IP you set in your Router for Port Forwarding (192.168.1.100) as an example (yours can be different too) then the OS should be set to share a folder or drive by right-mouse-button clicking on one of your choice , high-lighting Properties in the small menu, and choosing the "share" tab, follow the instructions.

(at least this is how it works for XP, i think, I don't use sharing, but my brother does, and even has "magic packets" to turn on/off the computer itself, remotely, when left in suspend to ram state, Magic packets are part of Tomato OS for the Router)
if you still need some help with this, if I'm wrong, I can ask him.  ;)

if you check your userguides for the router/gateway, about setting up port forwarding, and have one folder or drive on each system set as "shared" it should show up on each computers screen in the "network" places, or whatever it's called on Linux.

The member Alexandreg makes a good point, after port forwarding is set to the static IP's of each computer, the OS is responsible for the "sharing"

One last thing I just remembered, ... you'll have to turn-on "File and printer sharing for Microsoft Networks" in that same "Local Area Connection Properties" section... or nothing may be seen, and you could go crazy trying to figure it out ::) ;D
« Last Edit: July 25, 2009, 05:41:02 PM by WiFi »
Logged
Always Trying To Improve

Alexandreg

  • Guest

again... sorry to be a bit lazy... I haven't read the whole thing...

But, again, port forwarding has nothing to do with anything on the LAN...

Unless you want to access one of your computer from another internet connection, the port forwarding has NOTHING to do with this...

Port forwarding simply tells the router to redirect a specific port to a specific computer on WAN connections... On the lan, again, the router simply acts as a SIMPLE 4 ports (or more) switch.....

EDIT: even more, on some routers it is even a physical thing... (I might be a bit wrong, but the essential is here)... What I mean is that there is a Ethernet switch chip on the board... If your connections are not leaving the lan, they will only pass through this switch...

Port forwarding and ANY other settings in the router interface are for the WAN interface...
« Last Edit: July 27, 2009, 10:03:52 PM by Alexandreg »
Logged

WiFi

  • Level 2 Member
  • **
  • Posts: 29

[...]
But, again, port forwarding has nothing to do with anything on the LAN...

Unless you want to access one of your computer from another internet connection, the port forwarding has NOTHING to do with this...

Port forwarding simply tells the router to redirect a specific port to a specific computer on WAN connections... On the lan, again, the router simply acts as a SIMPLE 4 ports (or more) switch.....

[...]
Port forwarding and ANY other settings in the router interface are for the WAN interface...

This sounds correct...  My brother IS using port forwarding to access his computers over the internet, as well as within his local intra-net, so, maybe it's more about setting "sharing" on each computer , between each computer, locally.

At least my heart was in the right place  ::) ;D  he did say though, it made it easier to share when each computer has it's own static IP, and not assigned by the router... but, I'd hate to be wrong again. :P .. so I'll just stick to WiFi, and the phones.

needless to say, though, Barry should still be able to have the windows system and the other OS' share each others folders or drives as he's trying to do..., YES??? ... he may just have to figure it out alone  :-\ ... unless you could read Barry's full post to be sure exactly what he wants to do. 

I do know if you want to use ONE printer between many computers, my brother found it was easier when the printer had a static IP (assigned port) ... otherwise each time he turned on the printer the router would assign a different port to it, and his "magic-packets" program didn't work as he wanted it to. (same for the other computers).

Maybe there was another way to do that too, but he's happy, and it works for him, so . .. that's why I mentioned it. :)
« Last Edit: July 28, 2009, 12:17:07 AM by WiFi »
Logged
Always Trying To Improve

Alexandreg

  • Guest

The port forwarding and the static ip addresses are two things... And yes, having a static ip address may be a good thing to share things on the network... You just don't need port forwarding... it is really for access from the internet..


But I can't really help you for sharing folders and printers... It is all in the operating system config and I don't really know them a lot... The good thing is your network is fine... You just have to find out how to configure your systems..

Alex
Logged

OS9Barry

  • Level 1 Member
  • *
  • Posts: 5

With Windows, most likely also Vista, the "Control Panel/Network Connections" should show "Local Area Connection" Properties and should have this config located in the "Internet Protocol (TCP/IP)" option of that Icon window.
After opening it, you'll see it's default to "Obtain an IP Address automatically" ... change to "Use the following IP address"... put the Static IP you set in your Router for Port Forwarding (192.168.1.100) as an example (yours can be different too) then the OS should be set to share a folder or drive by right-mouse-button clicking on one of your choice , high-lighting Properties in the small menu, and choosing the "share" tab, follow the instructions.

Hello, WiFi!

     Thank you for your replies!  I haven't had a chance to do anything at all on this for the last couple of weeks!

     I agree with everything you've posted, at least the comment!  :-)

     Okay.... I already am using smb.conf (the Linux SAMBA) successfully, to be able to do simple file transfers between my Windows 98 (running in VMWare) as well as print from the Windows 98, and it will be submitted to my CUPS, my Linux Printer Queue, and print just fine, along with whatever may be (normally) printed via the Linux.

     My printer only has a parallel port, so I don't have the option of setting a network IP for it, unfortunately.

     The smb.conf file does not currently even specify any specific IP addresses, but it mentions eth0, as well as vmnet1 and vmnet8, the two vm* ipconfig's being ports specific to VMWare.

     I have the DCHP server of the D-Link router having 192.168.1.120 through 192.168.1.140 as the DHCP IP Address Range.  The DVR has an address of 192.168.1.101, currently, so that is in a "static" range.  This Windows computer is currently DHCP assigned 192.168.1.140.

     I am having difficulty figuring out a way to set a static IP for the Windows Vista.  I am HORRIBLY inexperienced with Windows, but I have actually seen Windows XP and I recall pretty well what you have, above.  However, Windows Vista is quite different.

     There is a Control Panel.  I have no problem at all finding that.

     And, I double-click on "Network and Sharing Center" from Control Panel, so I'm confident I'm "on track" as of this point.  :-/

     What I see next has an "OFFICE-WINDOWS" (what I named this computer, when I set it up), to a "Network" to the Internet, with a world/globe picture.

     (When I double-click on OFFICE-WINDOWS, I get a file explorer open to "My Computer".  The "Network" is probably the D-Link router.)

     The first thing I want to do is set a static IP for the Windows system.  And, I'm having difficulty finding things like "Obtain an IP Address automatically" and "Use the following IP address", even though I KNOW that is how it is set up, since it has responded just fine to the DHCP setting of the Router.

     And, I've already found I think where I add the printer (\\Barrycon\hp9110), but it didn't work, as there currently isn't any "samba connection".

     Once I get a known/static IP address set for the Windows computer, then I can use that specific address in the port forwarding and this is probably my hardest thing to figure out.

     I'm nearing as late as I can work on this, tonight.  I may need to see about getting help determining how to change a DHCP address into a static IP address...

     This is my current state... looking and trying to figure it out!  :-O  :-)

     Barry
« Last Edit: August 07, 2009, 09:33:44 PM by OS9Barry »
Logged

OS9Barry

  • Level 1 Member
  • *
  • Posts: 5


     The first thing I want to do is set a static IP for the Windows system.  And, I'm having difficulty finding things like "Obtain an IP Address automatically" and "Use the following IP address", even though I KNOW that is how it is set up, since it has responded just fine to the DHCP setting of the Router.


     Ah!  I found it!  Click on "Network Connections" and that brings up something with LAN or High-Speed Connection and I right click on that and choose Properties.  I then see a portion of the window that says "This connection uses the following items:" and I click on one of the items in that list, "Internet Protocol Version 4" and then click another [PROPERTIES] button, and that brings up a dialog box where I saw "Obtain an IP address automatically" already selected, etc.!

     Okay.  I have put 192.168.1.102 there, and subnet of 255.255.255.0, and Default gateway of 192.168.1.1 (the D-Link router).

     I also put the D-Link router in the Preferred DNS server.

     This is interesting!  Now, on my tab where I'm logged onto the D-Link router, under "LAN COMPUTERS" on the STATUS tab, it did show the 192.168.1.140, and now it shows nothing.  If I click "ACTIVE SESSION" I see some 192.168.1.102 addresses (along with several others) in there.

     There was a brief pause in my DVR live camera view, about 30 seconds, but it's all working again.  And, I can access a fresh/new Internet page.  (Wow... I didn't have to reboot it?)  :-D

     Now I go and click the ADVANCED tab.

     I already have two items, for the DVR IP address, and two different ports.

     I'm really fine with showing via files explorer in Windows Network Neighborhood, and transferring files either direction there, or printing from Windows.  (Another way of wording this, I don't need to access it from the Linux side.  This is how I'm doing it with Windows 98 in VMWare, and I can accomplish everything I want to accomplish that way.)

     Now, what do I set up in this port forwarding area?  I have "Office-Windows" and "192.168.1.102".  What do I choose for "Application Name"?  Remote Desktop?

     And, my Linux system actually has an address of 192.168.2.1 because it is actually attached to the Sun/Solaris system, with more than one network port.  And, the Sun network port is 192.168.1.201.  (The Sun is a router for the Linux system.)  Would this third digit being different cause a problem?

     The Ports are currently 0...

     That's my current status... I believe I have the static IP now.  I just now need to figure out how to use Windows Explorer network to "see" the Linux filesystem(s) and use the printer...

      Barry
Logged

WiFi

  • Level 2 Member
  • **
  • Posts: 29

Hi Barry, ... I have to get more time to look at your UserManual for your router, but port forwarding may not be the issue... it could be a matter of making a drive or folder shared between the two, or three computers, and having one computer take the file from the other and print it on the computer of your choice.
Logged
Always Trying To Improve