Upnp over two routers

astrosheen

Honorable
Feb 12, 2013
19
0
10,510
So currently I have a crappy router/modem in the garage that links directly to a D-link dir 868L in the study in the center of the house. The dlink gives the wifi for the house and connects a PC which is used as a media PC/home computer. Coming off the crappy router I have a raspberry pi running xbmc. What I would like is to be able to get the raspberry pi to connect to the media PC using Upnp but it currently will only work with both the media PC and raspberry pi on the same router is there anyway the upnp could be port fowarded or the like for this to work.



Network diagram

ADSL
|
|
Crappy rounter/modem---------Raspberry Pi, Switch
| |
| |
DLink dir 868L---------WIFI devices Other wired devices(TV's)
|
|
Media PC



Thanks for any help
 
Solution


With the DLink in AP mode, all devices will be on the same subnet.

So yes, UPNP should work fine.
The "crappy router" should be set to bridge mode or access point (no DNS, no DHCP) and the Dlink should be set to be the DNS/DHCP server and gateway. All computers/devices on the network should be on the same subnet (i.e. 192.168.1.1 -- 192.168.1.255 or 192.168.0.1 -- 192.168.0.255)
 
the issue is the raspberry pi must be connected to the crappy router due to the way the house is wired. Wouldnt putting the crappy router in bridge mode make the raspberry pi have no connection
 
Virtually any router built in the last 10 years should auto-sense 10/100/1000 Connections, as well as the most common connection options. I don't understand why the raspberry pi wouldn't connect to the better router....Unless the IP schema is different on the two routers - and in that case, you wouldn't be able to see the computers on the other subnet. Example:

Good router 192.168.1.1 - all computers that connect are on 192.168.1.2 - 192.168.1.255
Old router - 192.168.0.1 - all devices that connect are on 192.168.0.2 - 192.168.0.255

Also - if the 2nd router is in full router mode - the WAN-LAN segmentation wouldn't allow devices on the other side of the router to see them.
 


Is the DLink configured as an access point? If so, all devices should be able to communicate with each other.

http://www.tomshardware.com/forum/36406-43-convert-wireless-router-wireless-access-point