Sunday, December 28, 2014

FTP problems/Router Problem

If your FTP connection timed out without connecting, check your FTP settings to make sure you have specified the correct host or IP address.

To avoid getting timed out during long file transfers using FTP, turn on hashing by entering at the ftp> prompt:

       hash

FTP will then write a "#" for every packet transferred and thus prevent timing out the session while the file transfer is in progress.

You can set the time out for different kind of connections (TCP, UDP and so on). If you don't know what kind of connection your application uses then start by trying with TCP.


The reason for the time out is that the router uses NAT (Network Address Translation). When a PC on the network wants to go "out on the Internet" the router will remember which PC it was to insure that the data requested by the PC (for example a web page) will be send to the right PC.


To prevent the list (NAT table) from becoming too big, the router will automatically delete table entries that have existed for a cretin amount of time (Usually 60 seconds). 

Now, some applications like ICQ, IRC and FTP are typically not being used for a longer period of time without closing the program. Therefore you need to increase the timeout value.

For example:


SET NAT TIMEOUT TCP NEGOTIATION 300


SET NAT TIMEOUT UDP 300


This command will set the time out on TCP- and UDP connections to 300 seconds (5 minutes). 


If you don't have too many users on the router then set the UDP time out value higher, for example to 3600 (an hour).

Saturday, December 27, 2014

Possible ways Connecting two routers with one modem?

  (modem) ==> D-Link (router) ==> Linksys (router)

Yes, this is absolutely doable and in some cases preferred (usually for security reasons) when you want everything connected to the outside router to act such as a DMZ and everything inside as a protected network.

This is what I consider a nested NAT configuration. The problem that could arise with this configuration though is that the PCs behind the Linksys router will be "double NATed". If you are not planning on having anything out on the internet or anything that is connected to the D-Link router (or outside router) connect to the Linksys (or "inside" router) then you should have no problem.

You can still do this anyway but it will require port forwarding rules on both routers. I am assuming these are "broadband" routers and have NAT already turned on. If so you may choose to leave it like this if you so please or to turn NAT and DHCP off and use them as stand-alone Ethernet bridges.

In bridge mode the routers will act as simple switches and switch traffic between all connected devices in one flat broadcast domain, but this will require more configuration than the previous methods and may be problematic setting up. 


Apart from above way,

You can also Go into the settings on the linksys router and turn DHCP off. Access the admin page

by plugging into the linksys with a patch cable, getting ip address, might be 192.168.0.1 or

192.168.1.1. (To find this, Start, Run, type "cmd", Ok, type "ipconfig", default gateway is the

router). Put this IP address in a web browser. Then, use default username and password, google if

needed, and disable DHCP. Make sure to plug your link cable from the D-link to the Linksys into one of

the LAN1-4 ports and not the Internet port, as that means it will be acting as a router, and you want it to act as a switch.




Check these Links up:

http://en.wikipedia.org/wiki/Network_add...
http://en.wikipedia.org/wiki/Demilitariz...
http://en.wikipedia.org/wiki/Network_bri...
http://en.wikipedia.org/wiki/Broadcast_d...

A Complete Guide On How To Design And Install A Home Automation & Networking System.

Click Here!