Overclock.net › Forums › Software, Programming and Coding › Networking & Security › How to share a file from one side to the other?
New Posts  All Forums:Forum Nav:

How to share a file from one side to the other? - Page 2

post #11 of 18
The best bet (and best working solution) would be to replace router 2 with a switch or not using the WAN port on router 2. Static route most likely won't work and wouldn't be applicable since there's only one gateway on the computers connected to router 2 ...

The problem is, you have a NAT (router 2) between router 1's network and the computers connected to router 2 ... they aren't on the same network.
    
CPUMotherboardGraphicsRAM
E6300 @ 2.3 GHz Foxconn Intel x3100 4.5 Rendition 
Hard DriveOptical DriveOSMonitor
160+500 DVDRW Server 08 x64 Princeton 17'' square 
KeyboardPowerCaseMouse
Unicomp Germanic Model M 250W Dell Vostro 200 Gateway Ball Mouse 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
E6300 @ 2.3 GHz Foxconn Intel x3100 4.5 Rendition 
Hard DriveOptical DriveOSMonitor
160+500 DVDRW Server 08 x64 Princeton 17'' square 
KeyboardPowerCaseMouse
Unicomp Germanic Model M 250W Dell Vostro 200 Gateway Ball Mouse 
  hide details  
Reply
post #12 of 18
you just need a static route on router 1.
example router 1 is 192.168.1.0 255.255.255.0 (it's IP) 192.168.1.1
router 2 is 192.168.2.0 255.255.255.0 (it's IP off router 1) 192.168.1.2
router 2 already has it's default route that points to router 1 0.0.0.0 0.0.0.0 192.168.1.1
add route on router 1, 192.168.2.0 255.255.255.0 192.168.1.2

Without knowing your IP's
Say router 1 is 192.168.1.1
Router 2 is 192.168.2.1

on router 1, add
ip route 192.168.2.0 255.255.255.0 192.168.1.2

translation in english
in order to connect subnet 192.168.1.0 to 192.168.2.0 you must use connection to 192.168.1.2 (second router)

router 2 should already have the outside interface (WAN connection) with an IP of 192.168.1.2 255.255.255.0
The internal subnet range of all the devices on router 2 would be 192.168.2.x 255.255.255.0
The Raven
(16 items)
 
  
CPUMotherboardGraphicsGraphics
i7-2600K Gigabyte GA-P67A-UD5-B3 EVGA GTX 570 SC EVGA GTX 570 SC 
RAMHard DriveOptical DriveCooling
16GB G.SKILL Ripjaws X 1866 Samsung 840 Pro  iHAS324 - Lite-On DVD-RW Noctua NH-D14 
OSMonitorMonitorKeyboard
Windows 10 ASUS VN248 ASUS VN248 Logitech G510 
PowerCaseMouse
XFX 850W BE SILVERSTONE RV02B-EW Logitech MX518 
  hide details  
Reply
The Raven
(16 items)
 
  
CPUMotherboardGraphicsGraphics
i7-2600K Gigabyte GA-P67A-UD5-B3 EVGA GTX 570 SC EVGA GTX 570 SC 
RAMHard DriveOptical DriveCooling
16GB G.SKILL Ripjaws X 1866 Samsung 840 Pro  iHAS324 - Lite-On DVD-RW Noctua NH-D14 
OSMonitorMonitorKeyboard
Windows 10 ASUS VN248 ASUS VN248 Logitech G510 
PowerCaseMouse
XFX 850W BE SILVERSTONE RV02B-EW Logitech MX518 
  hide details  
Reply
post #13 of 18
Last I checked most standard consumer equipment doesn't support user added routes. Also PAT is typically enabled by default on the WAN interface with no real way to disable it.

The problem with your current setup is that all devices behind router 2 communicate out through the same IP as router 2's 'external' interface. If you initiate connections from devices in router 2, router 2 will make the appropriate NAT translations for connection. However, if you're using a service where you need to access router 2 devices and originate traffic from router 1, if there is no port forwarding or 'DMZ' to your computer set up on router 2 your data will not be forwarded.

Personally I would get a switch as well. Any generic unmanaged gigabit one should work to simply provide connectivity to your devices on the same network. If you really require multiple networks in your home, get a router that supports 802.1q and a managed switch.
Waiting on X399
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II B57 @ X4 3.9 Gigabyte 790FXTA-UD5 Sapphire Radeon 290 8 GB G.Skill 2133 
Hard DriveCoolingOSKeyboard
250 GB 840 EVO Noctua NH-D14 Windows 10 Logitech K350 
PowerCaseMouseMouse Pad
Seasonic x750 Corsair 600T Logitech G100s Razer Goliathus Speed 
Audio
Plantronics Gamecom 788 
  hide details  
Reply
Waiting on X399
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II B57 @ X4 3.9 Gigabyte 790FXTA-UD5 Sapphire Radeon 290 8 GB G.Skill 2133 
Hard DriveCoolingOSKeyboard
250 GB 840 EVO Noctua NH-D14 Windows 10 Logitech K350 
PowerCaseMouseMouse Pad
Seasonic x750 Corsair 600T Logitech G100s Razer Goliathus Speed 
Audio
Plantronics Gamecom 788 
  hide details  
Reply
post #14 of 18
And if you don't want to do ALL this work AND you don't care for optimal/maximum transfer speeds then you can use Hamachi.

Otherwise I would just buy a switch and get it over with.
post #15 of 18
Quote:
Originally Posted by NEvolution View Post
And if you don't want to do ALL this work AND you don't care for optimal/maximum transfer speeds then you can use Hamachi.

Otherwise I would just buy a switch and get it over with.
I forgot about Hamachi! Yes, that's an easy solution.
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
Gaming Rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k, 4.6GHz, 1.304v ASRock P67 Extreme4 Gen3 2x Sapphire HD7970 OC with Boost, 1150 MHz/1550... 2x4GB DDR3 1600 Corsair Vengeance 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 750GB HD753LJ Samsung F3 ASUS 24X DVD Combo Drive 
CoolingOSMonitorKeyboard
Noctua DH14 Windows 8 Professional x64 Crossover 27Q 27" IPS LED, 2560x1440 Logitech G11 
PowerCaseMouseMouse Pad
Corsair TX750 Cooler Master HAF932 Logitech G500 Custom 
AudioAudioAudioAudio
Creative X-Fi Titanium Fatal1ty 2x Dayton B652 Bookshelf Dayton DTA-100A Amplifier Dayton 12" SUB-1200 Subwoofer 
  hide details  
Reply
post #16 of 18
Ok, if you have 4 computers on router 2 then get at least 5 port switch and replace the router. If you have less then 4 computers on router 2 the do this. first log into router 2 change the IP of the router so that it is different then IP of router 1. Turn off DCHP reboot unplug router 1 from the wan port plug it into any of the pc ports. Reboot pcs plugged into router 2. All the PCs will get there IPs from router 1. Hamachi is a good program but to transfer files from one pc to another pc at the same physical location through the internet would not be very efficent especially with large files. I would really suggest a switch. If these routers are wireless and are on opposite sides of the house you can connect wirelessly to router 2 and router 1 will provide its IP address.
BENDER
(13 items)
 
  
CPUMotherboardGraphicsRAM
I7 920 D0 EVGA SLI 758 A1 Sapphire 4890 Vapor 6GB Gskill DDR3 1600 
Hard DriveOptical DriveOSMonitor
2 WD 250GB Raid 0 Plextor DVD-RW Windows 7 Professional HP 2207 
KeyboardPowerCaseMouse
Logitech G15 Corsair HX750 HAF-X Logitech G500 
  hide details  
Reply
BENDER
(13 items)
 
  
CPUMotherboardGraphicsRAM
I7 920 D0 EVGA SLI 758 A1 Sapphire 4890 Vapor 6GB Gskill DDR3 1600 
Hard DriveOptical DriveOSMonitor
2 WD 250GB Raid 0 Plextor DVD-RW Windows 7 Professional HP 2207 
KeyboardPowerCaseMouse
Logitech G15 Corsair HX750 HAF-X Logitech G500 
  hide details  
Reply
post #17 of 18
Set a static IP on the second router (like 192.168.1.2) and turn off DHCP in its setup.
Viola!!! Instant switch and everything should work fine.
post #18 of 18
Quote:
Originally Posted by DarkPhoenix View Post
Set a static IP on the second router (like 192.168.1.2) and turn off DHCP in its setup.
Viola!!! Instant switch and everything should work fine.
Unfortunately he'll still be using NAT and a SPI firewall between the WAN and LAN interfaces.

If OP diagram did not have every integrated switch port populated you could easily do the above by connecting routers together through the LAN ports and proceeding with the above suggestion. As it currently sits you will have to unplug one of the PC's for this to work as intended.
Waiting on X399
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II B57 @ X4 3.9 Gigabyte 790FXTA-UD5 Sapphire Radeon 290 8 GB G.Skill 2133 
Hard DriveCoolingOSKeyboard
250 GB 840 EVO Noctua NH-D14 Windows 10 Logitech K350 
PowerCaseMouseMouse Pad
Seasonic x750 Corsair 600T Logitech G100s Razer Goliathus Speed 
Audio
Plantronics Gamecom 788 
  hide details  
Reply
Waiting on X399
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II B57 @ X4 3.9 Gigabyte 790FXTA-UD5 Sapphire Radeon 290 8 GB G.Skill 2133 
Hard DriveCoolingOSKeyboard
250 GB 840 EVO Noctua NH-D14 Windows 10 Logitech K350 
PowerCaseMouseMouse Pad
Seasonic x750 Corsair 600T Logitech G100s Razer Goliathus Speed 
Audio
Plantronics Gamecom 788 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Networking & Security
Overclock.net › Forums › Software, Programming and Coding › Networking & Security › How to share a file from one side to the other?