Go Back   PCMech Forums > Help & Discussion > Networking & Online Security

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-28-2003, 07:40 PM   #1
Member (7 bit)
 
Dreamscape's Avatar
 
Join Date: May 2003
Location: Tranquility
Posts: 112
Questions on Routers

I set up a neighbors wireless router. Never did anything like that before, but have seen enough to fake my way through it. It was one of those Linksys thingies that seem to be a popular brand. Anyway, I was wondering about the details of how it worked. I know the router in effect takes the normal IP address provided by whatever means it is usually gotten and creates fake ones for all computers hooked up to it.
  • Do the IPs assigned by the router have to be within the range of unassigned IPs or does that matter since no outside computer sees them?
  • How does the router avoid collisions? This is a bit broad and too complicated to explain, but for example suppose two computers on the router network act as ftp servers and run on the same port. I assume the connection address would be the same (the routers address), but which would the client connect to? In fact, could both run as ftp servers if the ports were different? I assume traffic can be redirected by ports?
  • When you put a computer into the DMZ, what is its IP address? Is it the address assigned by the router or the address assumed by the router? For example, if one computer hosts a game, I assume outsiders would connect to the routers IP address and you would tell the router to funnel all communication on port "X" to go to computer aaa.bbb.ccc.ddd?
As you can imagine, I have alot of spare time

Last edited by Dreamscape; 05-28-2003 at 07:43 PM.
Dreamscape is offline   Reply With Quote
Old 05-28-2003, 08:19 PM   #2
Red-eyed Moderator
Staff
Premium Member
 
HAL9000's Avatar
 
Join Date: Dec 1999
Location: Regina, Saskatchewan, Canada
Posts: 17,576
The router will assign IP's in the range of 192.168.0.XXX (ummm... seems to me the 0 can be changed... would have to take a look).... When you use DMZ, you take the IP assigned to the machine you want open on the net... say for example 192.168.0.50 and use that number in the router (I also prefer to statically assign that IP to the machine to avoid any hassles). That single machine will now be open and visible to the internet.
__________________
-At Ford, quality is job #1, job #2 is making them explode. ~Norm MacDonald, SNL News

-Switching to Glide..Balancing in my head..inside of me...
taking the glide path instead.
HAL9000 is offline   Reply With Quote
Old 05-28-2003, 08:40 PM   #3
Member (7 bit)
 
Dreamscape's Avatar
 
Join Date: May 2003
Location: Tranquility
Posts: 112
Does that tacitly mean that only one computer at a time can be in the DMZ, since it assumes the routers IP?
Also, what is statically assigning an IP?
Dreamscape is offline   Reply With Quote
Old 05-28-2003, 09:00 PM   #4
Telcom Tech
 
ktkendall's Avatar
 
Join Date: Feb 2002
Location: Western, Pa.
Posts: 5,409
Statically assigning is when there is no DHCP server available and U must manually go into network settings under TCP/IP for your network adapter and type in the IP address and subnet mask and default gateway and DNS server IP addresses.
ktkendall is offline   Reply With Quote
Old 05-28-2003, 10:56 PM   #5
Red-eyed Moderator
Staff
Premium Member
 
HAL9000's Avatar
 
Join Date: Dec 1999
Location: Regina, Saskatchewan, Canada
Posts: 17,576
As far as I know... the router will only allow one machine to be DMZ.
HAL9000 is offline   Reply With Quote
Old 05-29-2003, 02:11 AM   #6
HOT ROD
 
lil Jimmie's Avatar
 
Join Date: Sep 2000
Location: On the Edge
Posts: 4,565
A router will use routing tables to direct traffic/packets it's kinda like a map of the network in it's memory.
__________________
Fast enough 2 get by.....old enough 2 know what not 2 try -You know it was me
lil Jimmie is offline   Reply With Quote
Old 05-29-2003, 07:17 AM   #7
I am, in reality, a moose
Staff
Premium Member
 
mbossman2's Avatar
 
Join Date: Aug 1999
Location: RTP, NC
Posts: 2,441
Re: Questions on Routers

Quote:
Originally posted by Dreamscape
[*]How does the router avoid collisions? This is a bit broad and too complicated to explain, but for example suppose two computers on the router network act as ftp servers and run on the same port. I assume the connection address would be the same (the routers address), but which would the client connect to? In fact, could both run as ftp servers if the ports were different? I assume traffic can be redirected by ports?
A routers themselves (2 port, 1 LAN and 1 WAN port) do not prevent collisions per se as the 2 ports are generally full duplex ports. Routers that have multiple ports (1 WAN and 4 LAN ports) generally incorporate some kind of switch technology (we can really get into it if you want let me know).

Now with the issue of 2 FTP servers running on the same network utilizing the same TCP port: Remember, there are multiple entries within an IP packet. The TCP/IP info is embedded fairly deeply in the packet itself and the routers and switches of a network generally only go as deep as the MAC address and IP addresses (most sophisticated routers, switches and other network devices can and do go deeper but again another topic) and make the routing and switching decisions on those 2 pieces (routers on IP address and switches on MAC address and those 2 pieces are sufficient enough to identify which of the 2 FTP servers is the destination for that traffic.

Port redirection can be done and is a feature in many routers and firewalls as long as they are layer 4 "aware" (not really but lets leave it at that shall we).

HTH
__________________
Veritas Principium Libertas

Traveling Moose
mbossman2 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:24 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2