Thread: New Wireless Router

  1. #1
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743

    New Wireless Router

    I just got a new Linksys wireless router, which I am very happy to have. I have some questions, however.

    The Linksys router creates its own subnet. So when I connect my computer to the router (either through a wire or wireless), I am assigned an IP address by the Linksys router which starts with 192.

    The network that I am on is an on-campus network, which normally assigns IP addresses that start with 10.

    So...while my IP address used to be 10.x.x.x, it is now 192.x.x.x, because it is assigned to me by my router.

    I can see this causing problems if I ever want to remotely connect to my machine from another computer on campus, however. For example, if I am running an SSH server on my computer, and I want to SSH into my machine from another computer on campus, as far as I know, I can't do it, because my computer is invisible behind my new router.

    Is there any way that I can make it so that although my computer's internet connection passes through my router (while wired), I can still receive a 10.x.x.x address from campus? I don't care about doing it while I am connected wirelessly...I just want to be able to do it while I am connected with a wire. So basically I don't want the Linksys router put me on its subnet but instead let me pass my internet connection right through it.

    Thanks for any help with this!
    My Website

    "Circular logic is good because it is."

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Most Linksys routers have a "DMZ" setting available, where you can tell it to forward all incoming connections from the WAN interface (the 10.x.x.x IP) to a specific IP on your network. That should do what you want, though it's probably safer to just forward the specific ports you need to a given machine.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    You can disable DHCP, since that's basically what reassigns you a new IP from the router.
    Remember that when you're behind a router, you'll need port forwarding of some kind to actually get connections, since the router won't know to which computer the data is meant for (applies only if you're using DHCP I think).
    DHCP is, of course, only required if you have multiple computers that needs to share one IP.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #4
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,732
    To achive what you want, do the following

    1. Assign a static IP address to your local machine, which you have connected to your linksys router.
    2. Make sure its all within the same subnet. Perhaps configure it as
    IP - 192.168.1.10
    Subnet mask - 255.255.255.0
    Default gateway - 192.168.1.1

    Prefered DNS - Contact your ISP. (Easy way of getting this, let your computer get the IP address from the SHCP server, then your router assign the DNS server automatically. You get the DNS address. And then change it back to Static.)

    3. And now you are running your SSH server on your machine. (start your SSH server)
    4. In order to allow all ssh client connection to be routed to 192.168.1.10(That your machine)
    5. Open up router setting page
    6. You shoud be seeing a tab called Applications and gaming (Click on that)
    7. And open the port and direct all ssh client traffic to 192.168.1.10.

    Most of the time ssh client port number is 22, unless you have configured to be different.

    Hope that gives you an idea on how to ssh to your home PC from campus PC.

    ssharish
    Last edited by ssharish2005; 01-05-2008 at 08:14 AM.

  5. #5
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    That's basically port forwarding + static IP for anyone who's wondering.
    There are also free DNS services out there to map your IP to a DNS.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #6
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,732
    Here is good link of Dynamic DNS https://www.dyndns.com/ registration.

    ssharish

  7. #7
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Quote Originally Posted by Elysia View Post
    That's basically port forwarding + static IP for anyone who's wondering.
    Thanks for clearing that up....

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. booting a wireless laptop off my router
    By MacNilly in forum Tech Board
    Replies: 1
    Last Post: 11-14-2006, 03:42 AM
  2. fsckin router
    By RoD in forum Tech Board
    Replies: 8
    Last Post: 01-23-2005, 12:42 PM
  3. Damn router
    By RoD in forum Tech Board
    Replies: 7
    Last Post: 05-04-2004, 02:27 PM
  4. wireless networks
    By metsman20 in forum Tech Board
    Replies: 3
    Last Post: 12-17-2003, 09:07 PM
  5. NetGear FM114P wireless router.
    By adrianxw in forum Tech Board
    Replies: 1
    Last Post: 01-12-2003, 08:53 AM