rrdtool
+ Reply to Thread
Results 1 to 4 of 4

Thread: modem or router

  1. #1
    Join Date
    May 2007
    Posts
    11

    modem or router

    Okay, basically I'm just confused about whether I have a modem or router. I searched on google the diff between them and it says modem connects you to your ISP, whereas router connects some other computers to your internet connection I think. So I think I kinda know the difference now and I only have one pc so it would be the modem. It looks like this, called SpeedStream 5200.
    [URL="http://img.alibaba.com/photo/***87*50/Siemens_SpeedStream_5200_ADSL_Router.jpg"]http://img.alibaba.com/photo/***87*50/Siemens_SpeedStream_5200_ADSL_Router.jpg[/URL]
    In the link it says router and if I search "router, speedstream 5200" etc, it still comes up with the same modem so I'm just confused, so if someone could explain more on this and tell me what I have, that would be very helpful.

    Now the reason I need to know is because I wanna create a simple rat, client/server, just testing my C++ skills, I've read tutorials on sockets etc so I think I know enough now to make a simple server/client program with keylogger and maybe some more basic features if I want. So the person I plan to install the server on has the same ISP, same type of internet connection etc, we both get dynamic IPs assigned. I'm pretty sure this is right, but still can someone tell me if I'm right in thinking that I will need to make the program reverse connect to me( so I don't have to worry about his IPs), so now the program will connect me, but since I also get IP assigned dynamically, I'd need to create a no-ip account and use gethostbyname() to get the server(in this case maybe client? that's installed on other person's pc) to use my new IP. Now all this I think I know, but would I have to do any port forwarding if I don't have any router? I don't think, so that's why I need someone to tell me if I'm behind one so I know for sure what to do. Also I tested a simple client/server program( by someone else) on myself and it connected with my ip and also *27.0.0.* so I don't think I'm behind a router, but please confirm....... I know it's a really long post for just one simple question? but I wanted to make sure I explained everything so please helpp Mike or anyone else thanks lol

  2. #2
    Join Date
    Sep 2005
    Posts
    2,050
    Quote Originally Posted by noob*2* View Post
    Okay, basically I'm just confused about whether I have a modem or router. I searched on google the diff between them and it says modem connects you to your ISP, whereas router connects some other computers to your internet connection I think. So I think I kinda know the difference now and I only have one pc so it would be the modem. It looks like this, called SpeedStream 5200.
    [URL="http://img.alibaba.com/photo/***87*50/Siemens_SpeedStream_5200_ADSL_Router.jpg"]http://img.alibaba.com/photo/***87*50/Siemens_SpeedStream_5200_ADSL_Router.jpg[/URL]
    In the link it says router and if I search "router, speedstream 5200" etc, it still comes up with the same modem so I'm just confused, so if someone could explain more on this and tell me what I have, that would be very helpful.
    A router connects multiple machines to the Internet; a modem just connects your machine.

    can someone tell me if I'm right in thinking that I will need to make the program reverse connect to me( so I don't have to worry about his IPs),
    Yeah, you have to forward the port in your own router's settings this way.

    so now the program will connect me, but since I also get IP assigned dynamically, I'd need to create a no-ip account and use gethostbyname() to get the server(in this case maybe client? that's installed on other person's pc) to use my new IP. Now all this I think I know, but would I have to do any port forwarding if I don't have any router?
    If you don't have a router (and directly connect to the net), no. Try entering ipconfig /all in the command line, then go to [url]www.whatismyip.com[/url]. If both IP addresses are the same, you're directly connecting. If you get **2.*.*.* in ipconfig, you're behind a router.

    and it connected with my ip and also *27.0.0.* so I don't think I'm behind a router
    *27.0.0.* AKA localhost is the loopback address; your own computer. Is your IP address in the **2.*.*.* range?

  3. #3
    Join Date
    May 2007
    Posts
    11
    Quote Originally Posted by mike*5* View Post


    If you don't have a router (and directly connect to the net), no. Try entering ipconfig /all in the command line, then go to [url]www.whatismyip.com[/url]. If both IP addresses are the same, you're directly connecting. If you get **2.*.*.* in ipconfig, you're behind a router.



    *27.0.0.* AKA localhost is the loopback address; your own computer. Is your IP address in the **2.*.*.* range?
    I knew I could count on you for help so thank you, it doesn't start with **2. When I do ipconfig / all, where it says ip address and default gateway, they're the samething as the one I view on a website, start with 6* always. That means im not behind a router? so I would just need to get it reverse connect, register a no-ip account, and use the gethostbyname() in my program to get my ip to make it connect to me without worrying about any port forwarding, is it corretct? Thanks again

  4. #4
    Join Date
    Sep 2005
    Posts
    2,050
    Quote Originally Posted by noob*2* View Post
    I knew I could count on you for help so thank you, it doesn't start with **2. When I do ipconfig / all, where it says ip address and default gateway, they're the samething as the one I view on a website, start with 6* always. That means im not behind a router? so I would just need to get it reverse connect, register a no-ip account, and use the gethostbyname() in my program to get my ip to make it connect to me without worrying about any port forwarding, is it corretct? Thanks again
    Yes.

    --*0charlimit--

+ Reply to Thread

Similar Threads

  1. Router ip addresss
    By mkcitizen in forum General discussion
    Replies: 1
    Last Post: 10-19-2009, 06:31 AM
  2. Wireless Router/Modem Question
    By yebethinks in forum General discussion
    Replies: 2
    Last Post: 01-11-2008, 10:25 AM
  3. almost router
    By Unregistered in forum Proxies and Firewalls
    Replies: 3
    Last Post: 03-26-2005, 12:33 AM
  4. question about cable modem networking
    By songsandstars in forum Proxies and Firewalls
    Replies: 2
    Last Post: 07-17-2004, 08:54 AM
  5. cable modem/ proxy configuration
    By sigkim in forum Proxies and Firewalls
    Replies: 2
    Last Post: 09-12-2002, 06:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts