Just to get new lanshop owners going. This is going to be the most basic, networking setup you can do. just follow each line and you should be ok.
First things first, make sure all your units are in the same workgroup. default workgroup is "WORKGROUP". you may leave this at that.
Make sure your motherboard drivers and lan card drivers are installed with no problems. check in the device manager.
Check your system time! Being too far out of sync with
World Time may cause you internet browsing problems.
Things you need:
1.
Modem from isp (Your isp should have already tested this for a working internet connection.). This comes with a "crossover cable"; that you will connect to...
2. ...Your
router WAN port. (you won't have to do this if your modem has a built in router). Routers have a LAN port (often times 4 ports). if you only have 4 client pcs, you can connect them to these ports, and skip #3.
You will use one of these ports, by using the "straight cable" that came with the router to connect to...
3. ...Your multiported switch via the "uplink port" (if no uplink, just use the last port #). These come in 4,8,12,16,24 ports. sometimes more. Aside from the port that you used to connect your router, you may use the rest to connect as many pc as you can using straight cables.
---------------------------------------
let's begin setting up your server (assuming you're
using Xp and a D-link router).
- click Start> settings> select Control Panel> on the left side, click on Switch to Classic view> click Network connections> right click Local Area Connection> select Properties> double click TCP/IP
- click Use the following IP address
- for IP address = 192.168.0.10
- press TAB twice (you should get 255.255.255.0 for subnet mask)
- default gateway = 192.168.0.1 <=== router ip address
- DNS: 192.168.0.1 <=== same as your default gateway.
(tip from Lex further down this thread)
- click OK
Done!
Using Open DNS
Preferred: 208.67.222.222 ; Alternate: 208.67.220.220 (Open DNS values) <=== you can directly set this in your router settings under "Manual Internet Settings". then keep your Windows' lan DNS settings to your router's ip.
If you want to use your isp's DNS, check your router's detected values under "Status".
Hint: For my router's primary DNS, i use 208.67.222.222
For my router's alternate DNS, i use one of my isp's DNS.
this way, if open dns cannot connect to a website, perhaps my isp dns can.
Print screen
------------------------------------------
Note: for your other units, just change the ip address to 192.168.0.XX (where XX is 11(for station 1),12( for station 2) up to your last pc station). Do not use 100 and above, because that's usually reserved for Dynamic connections, and "1" obviously is your router's ip. older D-Link routers used 2-9 for dynamic as default.
Note2:
If you have a linksys router, either change the value of the above ip's to 192.168.1.XX, or change your Linksys router's ip to 192.168.0.1
Note3: If your isp gave you a combo modem-router unit, ask them what the ip of the router is. another way is to go to Start> Run> type cmd> in the cmd window type: ipconfig /all
look for the "default gateway" value, and that's what you'll use for your TCP/IP gateway settings.
Note4: If your router has a NAT firewall, you may turn off Windows' firewall to get rid of some LAN gaming problems. The router's NAT firewall is good enough to keep you safe from outside hackers.
Again, for combo modem-router users, ask your isp if the built-in router do have a NAT firewall. most of them do anyway, since it's pretty much a standard protection for routers now. still, make sure before turning your Windows' firewall off.
To test your security, click
here. Just wait for the test to finish. All your ports should be invisible to the outside world. Do this test with your Windows' firewall turned off also.
Add ko na dito:
UTP cable color coding
For 2 isp connections:
just use 192.168.x.2 as your ip for the 2nd connection sa dual router (or 2nd router).
for windows, set it as your alternate gateway (advanced button on the tcp/ip properties). or you can also use it as the primary gateway for half your clients, and the other one as the alternate.
>Check Fuzzler's post here<
aside from that, everything else is the same. if one isp gets disconnected, the your browser should failover to the alternate gateway by refreshing. unfortunately, this setup means that unless the 2nd gateway gets disconnected, you may have to reboot to connect to the primary gateway again. :-/ (i stumbled on an update fix for this (windows xp failover) in the microsoft website, but i can't find it again! arrgh...)
A
Dual WAN router is a better solution and much easier. Open source softwares are also another way to go, but you'll need a dedicated pc (even an old one) for this. Check out
Redundant Internet Connections Using Linux. you can also google about
Multihoming for other solutions.
Improve Windows Failover
The fix can be located here:
Dead Gateway Detection Does Not Fail Over UDP Traffic to Alternate Gateway