NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 25 26 27 28 29 … 159 Next »
Route traffic for one program over WiFi, the rest over LAN

 
  • 0 Vote(s) - 0 Average
Route traffic for one program over WiFi, the rest over LAN
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#1
2011-10-22, 07:09 AM (This post was last modified: 2011-10-22, 07:21 AM by McBainUK.)
Has anyone got an idea of how I route traffic for a single application (Spotify) over the wireless connection, and use the wired connection for all other traffic. I've attached the ideas I've thought of, but open to any and all suggestions Smile
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#2
2011-10-22, 08:40 AM
Oh dear...it has been a long time since I did this sort of stuff but here goes.

You'd need two subnets (one for the LAN and one for WLAN)...

Let's say 192.168.0.0/24 for LAN and 192.168.1.0/24 for WLAN.

Set the 'gateway' for each as 192.168.x.1 (for example) then assuming Spotify is only going to be talking to one destination (example 12.34.56.78) use the command line 'route' as follows...

route ADD 12.34.56.78 MASK 12.0.0.0 192.168.1.1

The last parameter (192.168.1.1) is the gateway (hence the route) to use when attempting to connect to 12.34.56.78. Not sure if I got the MASK parameter right though.

Prepared to be shot down for this - been up all night and just on my way to bed. Smile

Cheers,
Brian
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#3
2011-10-22, 10:10 AM
bgowland Wrote:then assuming Spotify is only going to be talking to one destination (example 12.34.56.78) use the command line 'route' as follows...
Hmm, as Spotify is P2P I'm not sure it could work like this?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
ArtificialIntel2
Offline

Member

Posts: 58
Threads: 1
Joined: Aug 2006
#4
2011-10-22, 11:14 AM
You've drawn two separate connections to the Internet. Is that really the case or is there really only one (cable/adsl etc)? If the second, I can't see the point but if you have two separate connection, then you may be able to achieve what you want by using firewall rules.
Nil illegitimae carborundum Smile
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#5
2011-10-22, 11:56 AM
Yes, there's really two separate connections to the internet.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#6
2011-10-22, 05:29 PM
if it's two separate connections to the internet, two routers and therefore two different lan subnets, then what you need is to know the destination IP address (or network) spotify needs to talk to.

then all you need is a route statement on the PC: "route -p add xx.xx.xx.xx mask 255.255.255.255 192.168.2.1" assuming that 192.168.2.1 is the address of the wifi router, and xx.xx.xx.xx is the IP of the spotify server. if you want to add a network instead of a single IP, then you would change the mask accordingly. (i.e. 255.255.255.0 for a /24 network, or 255.255.255.240 for a /28, etc.)
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  what's a good streaming media player program? johnsonx42 2 2,307 2012-08-09, 12:39 PM
Last Post: cncb
  Android application for watching TS files over Wifi ? XJW 1 4,722 2011-11-13, 02:41 AM
Last Post: XJW
  Thanks for the great program and all the help!! Darknyte 1 1,478 2011-04-05, 03:39 AM
Last Post: sub
  Remote not working (BootIntoGBPVR)/GBPVR start another program -any ideas? fray_bentos 12 4,103 2010-02-23, 08:42 PM
Last Post: gEd
  Good simple e-mail/local server program. tieke 12 5,757 2010-02-16, 10:38 PM
Last Post: whurlston
  Thanks for all your help - donate if you like this program luttrell1962 2 1,718 2010-02-08, 06:45 PM
Last Post: Pob
  Favorite free incremental system backup program? dvasco 7 2,964 2009-08-10, 08:35 AM
Last Post: liteswap
  Simple TV record program preferrably with EPG Bwangster12 17 5,571 2008-02-02, 05:38 PM
Last Post: chemie
  what program can wake PC up for maintenance? supplier 6 2,532 2008-01-08, 01:40 AM
Last Post: supplier
  Animated GIF program? McBainUK 0 1,176 2006-09-10, 06:25 PM
Last Post: McBainUK

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode