We're aware that dates on the forum are not currently showing correctly, and that mobile users may see some extra spacing between threads. Please bear with us while we get this fixed.
We'd like to remind Forumites to please avoid political debate on the Forum. This is to keep it a safe and useful space for MoneySaving discussions. Threads that are - or become - political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
We're aware that dates on the Forum are not currently showing correctly, and that mobile users may see some extra spacing between threads. Please bear with us while we get this fixed, and see Site Feedback for updates.

subnet/routing question

One for network experts (simple I am sure). See pic below. 2 nets (or subnets - sorry but my terminology may be wrong here).
subnet1
All the clients on subnet1 have internet access courtesy of router1.
subnet2
How do I give clients on subnet2 internet access via the computer?
(I have some wired only clients connected to router2).

I'm guessing
1. the wifi adapter needs to share internet (ICS?!) The computer is Windows7
2. I need to route traffic on subnet2 to subnet1 (this is where I get out of my depth; the G/W on router2 should point to the computer's ethernet adapter I guess?)
Thanks.

B58fSTECQAI7W1h.jpg
If you put your general location in your Profile, somebody here may be able to come and help you.

Comments

  • tronator
    tronator Posts: 2,859 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    grumpycrab wrote: »
    One for network experts (simple I am sure). See pic below. 2 nets (or subnets - sorry but my terminology may be wrong here).
    subnet1
    All the clients on subnet1 have internet access courtesy of router1.
    subnet2
    How do I give clients on subnet2 internet access via the computer?
    (I have some wired only clients connected to router2).

    I'm guessing
    1. the wifi adapter needs to share internet (ICS?!) The computer is Windows7
    2. I need to route traffic on subnet2 to subnet1 (this is where I get out of my depth; the G/W on router2 should point to the computer's ethernet adapter I guess?)
    Thanks.

    I don't use Windows and can't help you with setting it up, but what you basically have to do is to set up a static route on the PC in subnet 2 saying "if you want to access subnet 192.168.252.y, then use the computer as gateway and not the default gateway router2". Just google "static route windows". The gateway should be the IP of the computer in subnet2.

    On the command line the command would be something like

    route add 192.168.252.y mask 255.255.255.0 192.168.1.???

    But what you really want is setting it up in the network settings permanently.

    Hope that gets you started.
  • tronator wrote: »
    ...Hope that gets you started.
    Excellent thanks.
    If you put your general location in your Profile, somebody here may be able to come and help you.
  • Why 2 subnets? just have one and make one range from 2-128 and the other 128 to 254?

    or just put the proxy into the web browsers
  • bluesnake wrote: »
    Why 2 subnets?
    I don't own subnet1 and don't have (physical) access to the router on it.
    If you put your general location in your Profile, somebody here may be able to come and help you.
  • bluesnake
    bluesnake Posts: 1,460 Forumite
    edited 28 December 2014 pm31 11:28PM
    just install something like ccproxy
    https://www.youtube.com/watch?v=tQJP4f0A1b8

    or another proxy is http://www.privoxy.org/

    Ooops. assuming you wanted the web, rather than data from subnet 1 :(
  • grumpycrab wrote: »
    I don't own subnet1 and don't have (physical) access to the router on it.
    You aren't piggy-backing someone else's Wi-Fi are you? :eek:
  • Stiggy wrote: »
    You aren't piggy-backing someone else's Wi-Fi are you? :eek:
    Yes. My sister-in-law's. She had given us the (guest account) wifi password but wouldn't let us anywhere near the router (doesn't trust me for some reason; cannot think why :D
    If you put your general location in your Profile, somebody here may be able to come and help you.
  • tronator
    tronator Posts: 2,859 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    grumpycrab wrote: »
    Yes. My sister-in-law's. She had given us the (guest account) wifi password but wouldn't let us anywhere near the router (doesn't trust me for some reason; cannot think why :D

    I didn't notice that router 2 has no Internet access when I replied. And you didn't write that you want to access the Internet through router 1 from subnet 2. In this case my first reply won't help you at all. For this to work you just need to change the default gateway on all PCs in subnet 2 to the IP of the computer facing subnet 2.

    One more thing, you need to make sure that the computer can route packets. I don't know whether this is enabled by default in Windows.
  • tronator wrote: »
    ......

    One more thing, you need to make sure that the computer can route packets. I don't know whether this is enabled by default in Windows.

    If it isn't it can be enabled. Sorry I have not done this sort of thing for years, used to doing it on servers now so it is all a little different. But on a server, I would install DNS (which you should be able to do on Windows) and put on a forwarder address to the router 1 via the wireless nic on the computer.

    This is an interesting post, it get's your mind ticking, just the mental stimulation needed after these long Christmas holiday days!
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 348.3K Banking & Borrowing
  • 252.1K Reduce Debt & Boost Income
  • 452.4K Spending & Discounts
  • 240.9K Work, Benefits & Business
  • 617.1K Mortgages, Homes & Bills
  • 175.6K Life & Family
  • 254.1K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 15.1K Coronavirus Support Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.