Helped: 61 times Age: 40 Joined: 16 Jan 2005 Posts: 13677 Location: Jakarta-Purwokerto PP
Posted: Sun Feb 27, 2005 4:56 am Newbie Networking I
This guide is for people new to networking to help them set up their first network.
Table of Contents:
000 - How to use this guide
Non-Internet Sharing Solutions:
001 - Very Cheap and Simple 2-Computer-Only Network, Non-Upgradeable
010 - Normal, Upgradeable Network
Internet Sharing Solutions:
011 - Sharing Internet by direct connection
100 - Sharing Internet using a proxy
101 - Sharing Internet using a Router
Appendixes:
APPENDIX A - NICs
APPENDIX B - Difference between hub and switch
APPENDIX C - File / Printer Sharing
APPENDIX D - Troubleshooting
---------------------------------------------------------------------------------------
000 - How to use this guide:
---------------------------------------------------------------------------------------
If you are setting up a network without internet, follow the 001 or 010 sections, the ones without internet sharing solutions. Consider whether you need to have the network expandable in the future, and their cost, and needed equipment. You may also consider section 101, if you plan on getting Cable/DSL internet in the future.
If you have internet that you want to share, consider the other 3 sections, 011, 100, and 101. Consider them all, including the types of internet connections they support, their cost, and materials needed, then follow one of them. (Some sections will request that you set up your network using section 010 with no internet shared, and then add internet sharing on top of that network.)
---------------------------------------------------------------------------------------
001 - Very Cheap and Simple 2-Computer-Only Network, Non-Upgradeable, No Internet
---------------------------------------------------------------------------------------
This is a very simple and cheap network to set up. Unfortunately, you are limited to 2 computers, and can only upgrade to a "proxy" internet solution with this setup.
Diagram:
Code:
001.jpg
Needed:
2 x 10/100 Fast Ethernet Cards (NICs), one for each computer -- see Appendix A
1 x CAT5e Cross-wired ethernet cable. You need it to reach to both computers.
Turn off both computers, install each NIC into the computers, one per computer. Connect the CAT5 cable to both computers directly.
Fire up both computers, and the lights labeled "Link" on the network card should glow.
(optional)To ensure communication, you can set IP addresses on both computers.
On both computers, right click Network Neighborhood/Properties. Right Click the "Local Area Connection"/Properties. Select "Internet Protocol TCP/IP" and Click Properties. Select "Use the following IP Address", then set the following Information:
Computer1 IP: 192.168.0.1
Computer2 IP: 192.168.0.2
Both Subnet Mask: 255.255.255.0
Helped: 61 times Age: 40 Joined: 16 Jan 2005 Posts: 13677 Location: Jakarta-Purwokerto PP
Posted: Sun Feb 27, 2005 5:01 am
----------------------------------------------------
010 - Normal Network, Upgradeable, No Internet
----------------------------------------------------
This is your normal ethernet network. Very scalable, and can be upgraded to any of the 3 internet solutions in this guide.
Diagram:
Code:
010.jpg
Needed:
2 x 10/100 Fast Ethernet Cards (NICs), 1 per computer -- See Appendix A
2 x CAT5e Stright-wired ethernet cable, as long as you need to get from each computer to the hub/switch.
1 x Hub or Switch (see Appendix B)
Turn off each computer, install each NIC into the computers, one per computer.
Connect the cable from each computer to the hub/switch. Plug in the hub/switch.
Start the computers, the lights labeled "Link" on the NIC and on the hub/switch should glow.
(optional)To ensure communication, you can set IP addresses on both computers.
On both computers, right click Network Neighborhood/Properties. Right Click the "Local Area Connection"/Properties. Select "Internet Protocol TCP/IP" and Click Properties. Select "Use the following IP Address", then set the following Information:
Computer1 IP: 192.168.0.1
Computer2 IP: 192.168.0.2
Computer3 IP: 192.168.0.3, etc.
Both Subnet Mask: 255.255.255.0
To add a computer, purchase an additional:
1 x CAT5e Straight-wired ethernet cable, as long as you need to get from the new computer to the hub/switch.
1 x 10/100 Fast Ethernet Cards (NICs) -- See Appendix A
Then connect the new computer to the hub/switch, check the link lights.
Helped: 61 times Age: 40 Joined: 16 Jan 2005 Posts: 13677 Location: Jakarta-Purwokerto PP
Posted: Sun Feb 27, 2005 5:03 am
-------------------------------------------------
011 - Sharing Internet by direct connection
-------------------------------------------------
Direct connection internet sharing is completely reliant upon your ISP. For this to work, your ISP MUST give you more than one IP address (or you must purchase more than one IP address).
Diagram:
Code:
011.jpg
Needed:
A "Normal Network" (see Section 010 - Normal Network)
..AND..
1 x IP address per computer
1 x CAT5e Stright-wired cable, long enough to get from the Cable/DSL modem to the hub/switch
Works for:
Cable (except USB cable modems)
DSL (except USB DSL modems)
Other
***Contact your ISP and find out how many IP addresses you are allowed to use. If you are given more than one (or you choose to "rent" more IP addresses from your ISP, this is usually a reoccuring monthly charge), then you can use this solution.***
If you are using DSL, make sure your ISP allows you to simultaneously log in ("PPPoE dial up") on more than one computer (which would give you a seperate IP for each computer you log on to).
Connect the modem to the hub/switch, using the straight cable.
If all goes well, you can restart all your computers, and they should all be working on the internet. For DSL you will have to configure each computer with the PPPoe software.
Helped: 61 times Age: 40 Joined: 16 Jan 2005 Posts: 13677 Location: Jakarta-Purwokerto PP
Posted: Sun Feb 27, 2005 5:04 am
------------------------------------------
100 - Sharing Internet using a proxy
------------------------------------------
For this solution, the computer you choose as "ComputerA" (the computer that will run the proxy software) will need to stay on 24/7 (or will have to be turned on in order for any computers to get internet access).
Diagram: (left is with "Normal Network", right is for "Crossover Network")
Code:
100a.jpg
Needed:
A Crossover Network (see section 001 - 2-Computer-Only Network)
..OR..
A "Normal Network" (see Section 010 - Normal Network)
..AND..
1 x Your Internet Connection Device:
........10/100 Fast Ethernet Card (NIC) -- (see Appendix A)
........Dialup Modem
........USB Cable/DSL Modem
........etc
Works for:
Dial-up
Cable (including USB Cable Modems)
DSL (including USB DSL Modems)
Other
Select one computer to be ComputerA (on the diagram, it is the computer on the right), Connect the internet to ComputerA, such that you can surf the internet on ComputerA.
For dial-up, install the modem in ComputerA, and make sure you can connect to the internet, and use it on that computer.
For Cable/DSL, you may need a second network card, depending on your modem. If your modem supplies a USB connection, you may choose to connect it to ComputerA using that (but I do not recommend USB Internet Connections, they are known to be unstable). If it has an ethernet port, I recommend you connect through that. You would need a second network card in ComputerA for that configuration.
You will then need to download and install a "proxy" program on ComputerA. This program will allow other computers on the network to access the internet. Here is a quick list of proxy programs:
AnalogX's Proxy -- LINK -- $0, some setup involved, not alot of features.
ICS - Internet Connection Sharing -- LINK -- $0, already built into newer OS's, 98 also has ICS.
SyGate -- LINK -- Complex, very configurable, and somewhat expensive.
WinGate -- LINK -- Complex, very configurable, and somewhat expensive.
And many more.. including IPTABLES or IPCHAINS for unix/linux platforms. (for info on them, install them, then run man iptables or man ipchains)
Security Note: ICS, Sygate, and WinGate, were at one time or another prone to hacks. ICS is the most widely used, but that makes it the most likely to be hacked. For your protection, use download and install a software firewall on atleast the proxy server.
If ComputerA isn't going to be used, you may consider using the computer as a linux proxy/gatway server instead. It offers increased security, better uptimes, and more reliablilty -- no knowledge of linux needed!
Coyote Linux - Linux Router-on-a-floppy disk. No harddrive/cdrom needed.
SmoothWall - Linux Router with lots of extra features
Helped: 61 times Age: 40 Joined: 16 Jan 2005 Posts: 13677 Location: Jakarta-Purwokerto PP
Posted: Sun Feb 27, 2005 5:06 am
----------------------------------------------
101 - Sharing Internet using a Router
----------------------------------------------
One of the easiest networks, very little setup required, but has the most expense.
Diagram:
Code:
101.jpg
Needed:
A "Normal Network" (see Section 010 - Normal Network) -- using a Cable/DSL Router instead of a hub/switch.
..AND..
1 x Cable/DSL router
1 x CAT5e Straight-wired ethernet cable, as long as you need to get from the modem to the router.
Works for:
Dial-up*
Cable*
DSL*
Other*
*=Depends on the WAN connection type the router supports. DialUp connections need DialUp-ready Routers. Most common are Cable/DSL routers.
Turn off each computer, install each NIC into the computers, one per computer.
Connect the cable from each computer to the router. Plug in the router.
Start the computers, the lights labeled "Link" on the NIC and on the router should glow.
Configure the router (refer to router's manual). Generally, you have to go to the router's web-based configuration menu, http://192.168.0.1 but that varies, depending on the router.
----------------------------------------------
APPENDIX A: Onboard NICs / Included NICs
----------------------------------------------
Some computers may have NICs already. You may have a NIC on your motherboard, or there might have been one that came with your computer, or you might have installed one that came with your cable/dsl internet package. So, you may not need to purchase as many NICs as stated if you already have some.
*Personal Note: Try to avoid USB NICs, ISA NICs or 10Mb/s-only NICs, they are slow and sometimes unreliable.
-----------------------------------------------------------
APPENDIX B: The difference between hubs and switches?
-----------------------------------------------------------
A hub is like a guy with a megaphone. Everyone on the network talks only to the guy with the megaphone, and the guy with the megaphone(the hub), repeats it all so that everyone hears it.
A switch is like the switchboard for a telephone company. Everyone on the network calls the person they want, and talks to them directly, the switchboard(the switch) connects the call.
The difference is that in a hub network, only one computer can talk at a time, whereas in a switch network, any computer can talk to any other computer at any time.
Hubs, by definition can only go as slow as their slowest device, so if you have a 10Mbit device (like a cable modem, or a 10Mbit NIC), your entire network can only go 10Mbits (because all devices have to hear everything on the network).
Another advanatage of a switch network is something called "Full Duplex". It means that you can talk to one computer, and you can recieve from another computer (or that same computer), at the same time. (This is a big difference, compared to a hub, where only one computer can transmit at a time)
With Full Duplex, it gives you 2 channels, a 100Mbit SEND channel, and a 100Mbit RECIEVE channel "for each port". Therefore, you are theoretically doubling your bandwidth when using Full Duplex. The idea behind it is that you have 200Mbits bandwidth per port (compared to 100Mbits for the entire hub to share), that is always available to the port.
If you have the money (and nowadays it's not that much more), buy the switch, it is the better choice. If you look hard enough, you can find 5 port switches, or 8 port switches . Update: Nowadays, hubs are more expensive than switches, it's becomming harder to find hubs.
How many ports do I get?
Don't get anything less than 5 ports, unless you are sure you aren't going to upgrade.
Other than that, use your discression. If you are using 3 or more ports, and plan to get a new system soon, buy an 8 port instead.
Note: you can always add more hubs/switches to your network if you need it (use stright cable from one switch's uplink port to the other switch's normal port, OR use cross cable from normal port to normal port).
Personal Experience: My first hub was 5-ports, I now have an extra 8-port switch, and I have grown to 7 devices. Don't underestimate network growth! -- Buying a few extra ports now is alot cheaper than buying a new switch later.
----------------------------------------
APPENDIX C: File / Printer Sharing
----------------------------------------
In order for file and printer sharing to work, all computers must:
be in the same workgroup
have different names
have File & Printer Sharing installed
have shares created
have all IPs be in the same subnet, for example: 192.168.0.x / subnet 255.255.255.0
XP's firewall disabled
Other firewalls disabled (or set to trust the network)
------------------------------
APPENDIX D: Troubleshooting
------------------------------
Something go wrong?
Check your cables, make sure they are all plugged in, and hubs/switches/routers are all turned on. Check the link lights on all devices, the "link" light should be glowing, indicating a connection.
Check your IP addresses
Search the forums
Search Google
Post a question in the Internet, Networking & Security forum.
Helped: 61 times Age: 40 Joined: 16 Jan 2005 Posts: 13677 Location: Jakarta-Purwokerto PP
Posted: Mon Feb 28, 2005 9:28 am
sebetulnya sih gitu pak,cuman klo kita mau full mendalami PC khususnya networking ya harus bisa mencerna bahasa asing.bisa sih di translate tp ntar malah "tidak manusiawi" .itung2 buat belajar,gimana mo kuasai ilmu kalo bahasa nya ndak kepegang.
Helped: 1 Age: 35 Joined: 16 Jan 2005 Posts: 1449 Location: By Pass
Posted: Mon Feb 28, 2005 9:45 am
Ya ra opo2, kalo yg harus bhs Inggris sih, cuman full story tetap
Indonesia. Macam yg ini :
Kayaknya lebih empuk kalo pake Bhs Indonesia .
Something go wrong?
Check your cables, make sure they are all plugged in, and hubs/switches/routers are all turned on. Check the link lights on all devices, the "link" light should be glowing, indicating a connection.
Check your IP addresses
Search the forums
Search Google
Post a question in the Internet, Networking & Security forum.
Helped: 61 times Age: 40 Joined: 16 Jan 2005 Posts: 13677 Location: Jakarta-Purwokerto PP
Posted: Sat Mar 26, 2005 7:20 pm
fadly wrote:
bagaimana urutan kabel yang baik supaya koneksi bisa maksimal
jawabnya...tergantung,mau digimanain itu koneksi.share atawa stand alone.klopun share jg make apa? router switch,router doang,hub ato pegimane...? yg gw post disitu adl "basic"nya...nhaaa dr itu dikembangin lagi.gitchu lhooo
eh atawa kamsudnya adl urutan konfig kabel UTP nya...? ya itu tergantung lagi ama tipe (CAT5/CAT6) dan Network Interface Card nya (NIC).susah kan..?
hehehehe...klo di general takutnya sdh banyak yg make NIC generasi baru n konfig yg lama malah ndak nambah speed sama sekali...
Nah, gini kang MAS..saya masih baru dala hal jarkom...Jadi ingin bertanya beberapa hal
1. saya ingin membuat jaringan berskala kecil2an( antar RT aja)
hal2 apa yg perlu saya lakukan terhadap kabel UTP bila :
- akan menghubungkan sekitar 6-7 rumah
- terdapat 1 switch (mengingat jarak antar rmh tdk terlalu jauh), cukupkah?
- komputer yg di hubungkan berupa hubungan apa? kami berpikir adanya satu server sebagai pengatur file?
- syarat sebuah server yg seperti ini bagaimana? OS, kecepatan RAm, kapasitas HDD, dll.
- kami telah menghitung jarak antar rumah dan kurang lebihnya 1 rumah membutuhkan sekitar 70-80 meter, cukupkah?
- sekian, maaf kalo merepotkan, tapi saya sangat membutuhkan jawabannya
Helped: 61 times Age: 40 Joined: 16 Jan 2005 Posts: 13677 Location: Jakarta-Purwokerto PP
Posted: Fri Apr 08, 2005 8:20 pm
utk hardware server anda bisa pergunakan PC jenis apa aja,dgn disesuaiken dgn OS servernya (bisa makai apa saja spt windows xp).RAM,HDD dlsbnya disesuaikan saja pak.utk hal ini cukup diperhatikan bahwa PC tsb bisa bertahan selama terus menerus dan tidak digunakan aplikasi apapun,hanya berfungsi sbg "Router"....
utk jarak segitu masih bisa diatasi dgn sembarang switch pak,utk lebih dari 150m barulah dibutuhkan hardware tertentu utk mencovernya.asal switch bukan hub.
utk software router jg bisa dipakai wingate,winroute atopun ICS.tidak ada hal2 yg khusus pak utk spek yg anda sebutkan tsb,anda hanya cukup mengaktifkan microsoft network dan file print sharing saja.
atau bapak bisa mencontoh konfig diatas pd gbr 100a.
terima kasih Kang MAS, saya sudah mengerti...
nah, kalo mau aman pake server berbasis UNIX (linux mksdnya ) atau pake dari windows aja, soalnya saya juga mau ke arah ICS, jadinya takut aja ada yg bajak
Helped: 61 times Age: 40 Joined: 16 Jan 2005 Posts: 13677 Location: Jakarta-Purwokerto PP
Posted: Sat Apr 09, 2005 11:14 pm
balik nanya yah....hanya utk sharing internet kan? ya make windows aja sdh cukup,kecuali anda paham Linux configuration di networkingnya.msl bajak membajak sptnya ndak mungkin...sbb itu make media kabel (UTP),so anda tinggal make software yg bisa memberikan restriction berdasarkan MAC Adress spt Wingate,winroute,winproxy dlsbnya...
lagian anda kan bicara "ICS" itu kan istilah aplikasi windows pak...
Linux bagi pemula lbh sulit drpd windows,kecuali anda familiar...kadang malah troubleshout Linux lbh susah drpd windows....
kuncinya cuman satu kok,jgn dipake utk aplikasi apapun "server sharing"nya.selalu terupdate,ada firewall dan antivirus...daaah itu lbh dr cukup.
Posted: Mon May 30, 2005 12:12 pm Newbie Networking I
Berhubung saya newbie soal networking, perkenankan saya bertanya dan minta saran:
1. Apa bedanya router dan switch?
2. Apa yang dimaksud dengan multistack router?
3. Apabila ada suatu LAN ethernet dengan NT server ingin dihubungkan dengan ADSL Telkom, maka tentu diperlukan ADSL Modem/Router. Apakah ADSL Modem/Router ini cukup dihubungkan ke sebuah port pada switch LAN? Apa yang dimaksud bahwa modem tersebut harus compatible dengan switch-nya?
4. Bagaimana cara setting protokol-nya? Apakah hanya terkait dengan TCP/IP saja?
langsung aja ya, kenapa sih kebanyakan jaringan LAN menggunakan IP ( 192.168.x.x ) pada kelas C, sedangkan pada kelas C ini range IP-nya 192.255.255.255 - 223.255.255.255. jika dilihat dari rangenya bisa saja kan kita pake IP 200.200.x.x atau yang lainnya, ( sory kalo banyak salahnya karena belajar dari buku aja, belum terjun kelapangan (baca:Praktek)), apakah ada alasan tertentu dengan memakai IP 192.168.x.x , mungkin para suhu disini bisa menjelaskan.
Helped: 61 times Age: 40 Joined: 16 Jan 2005 Posts: 13677 Location: Jakarta-Purwokerto PP
Posted: Thu Aug 25, 2005 1:01 am
ada alasan memaki 192.xxx.xxx. sbb anda kan memakai private koneksi alias LAN yg artinya jg Local Area Network,bukan memakai WAN (wide area network) yg jelas klas C hanya diperuntukkan jaringan internal...
Joined: 05 Apr 2005 Posts: 190 Location: C:\Documents and Settings\Freaxy
Posted: Thu Aug 25, 2005 1:43 am
nambahin dikit.... mungkin udah jadi hal umum yak 192.xxx.xxx.xxx itu jadi "andalan" di setiap nge-set buat LAN, tapi mau pake 200.xxx.xxx.xxx itu juga ga dilarang selama masih dalam jangkauan kelas C sih.. jadi yaa alasan lebih tepatnya saya nda tau, cuman kalo Dosen ngasih contoh and temen mbuat network ya pasti itu IP-nya 192.168.xxx.xxx *Hehehe sorry kalo jawabannya ngaco*
Helped: 61 times Age: 40 Joined: 16 Jan 2005 Posts: 13677 Location: Jakarta-Purwokerto PP
Posted: Fri Sep 23, 2005 3:57 pm
intinya kan pembatasan,jd yg disebut LAN kan hanya ampe 225 PC aja,klo sdh lebih dr itu mk di buat exstended LAN dgn bikin subnet mask yg beda dlsbnya,dan akan disebut WAN (wide area network)
Joined: 18 Nov 2005 Posts: 41 Location: Antara Jakarta dan Tangerang
Posted: Sat Nov 26, 2005 9:56 am
Maap, saya bener2 newbie di networking. Saya mau nanya kenapa kalo antara UDP,TCP,HTML n laen2 kok port-nya beda2?
memang apa fungsinya port.
Trus port2 tersebut cara kerjanya gimana.
Helped: 61 times Age: 40 Joined: 16 Jan 2005 Posts: 13677 Location: Jakarta-Purwokerto PP
Posted: Sat Nov 26, 2005 10:08 am
@alun: definisi port adl pintu (portal) dan di buat berdasar kan per aplikasi atau per service.coba ana buka www.iana.org ttg pengaturan dan sistem kerjanya.
Helped: 2 times Joined: 19 Jan 2005 Posts: 2594 Location: 15413
Posted: Mon Nov 28, 2005 8:40 am
MAS wrote:
intinya kan pembatasan,jd yg disebut LAN kan hanya ampe 225 PC aja,klo sdh lebih dr itu mk di buat exstended LAN dgn bikin subnet mask yg beda dlsbnya,dan akan disebut WAN (wide area network)
Jadi kalu kita bikin LAN dengan 1.000 koampie maka:
1. Pakai IP 192.169.0.xxx (ada 225 kompie)
2. Pakai IP 192.169.1.xxx (ada 225 kompie)
3. Pakal IP 192.168.2.xxx (ada 225 kompie)
4. Pakai IP 192.168.3.xxx (ada 225 kompie)
5. Pakai IP 192.168.4.xxx (ada 100 kompie)
Gitu ya MAS?
Apakah subnet-nya bisa sama alias pakai 255.255.255.0 atau harus berurutan dari 255.255.255.0 s.d. 255.255.255.4?
Untuk menghubungkan masing-masing LAN biar bisa jadi WAN gimana caranya? Apa perlu server penghubung atau cukup pakai hub/switch aja?
Helped: 61 times Age: 40 Joined: 16 Jan 2005 Posts: 13677 Location: Jakarta-Purwokerto PP
Posted: Mon Nov 28, 2005 10:56 am
subnet cukup satu aja (255.255.255.0) klo menghubungkannya dlm WAN ya make "cascade" or tingkat,tiap2 mask bisa berhubungan langsung kok,ndak perlu pake server khusus utk itu.paling ya make "manageable switch" yg bisa menggabungin tingkat2 layer network scr terprogram...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum