densoN schreef op woensdag 16 augustus 2006 @ 23:52:
die AP heb je aangeschaft om je een Wi-Fi functie toe te voegen aan je netwerk toch?
aangezien het prijsverschil tussen een AP en een Router vaak maar 10 euro is zou ik je aanraden de AP toch even om te ruilen voor een WRT54G (router).
Dan heb je alleen je Modem --> Router.
Dus minder apparatuur,stroom en bekabeling nodig.
Het AP is maar een 11b apparaat. Deze is al wat ouder en ik denk dat ie die niet meer om kan ruilen.
Als je meerdere PC's hebt en je wilt ook tegelijk met deze PC's op internet dan zul je een router moeten aanschaffen. Casema's Moterola's werken namelijk in Bridge Mode en gooien je IP-adres dus rechtstreeks op je netwerkkaart.
Bij aanschaf van een router krijg je gratis en voor niets PAT (en geen NAT zoals mensen roepen). PAT is Port Address Translation en dat regelt het verkeer van meerdere PC's over 1 enkel IP-adres door gebruik van porten.
Port Address Translation (PAT) is a feature of a NAT device that translates TCP or UDP connections made to a host and port on an outside network to a host and port on an inside network.
PAT allows one single IP address to be used for many internal hosts. With PAT one outside IP address can account for over 64000 inside hosts.
In a typical firewall configuration, the outside network is the Internet and the inside network is the LAN.
In a typical DMZ configuration, the outside network is the Internet and the inside network is the DMZ.
This method allows many computers on the inside to share a single IP address on the outside. Both the source and destination for every IP packet contain an IP address and a port. For destinations, the port tells the computer receiving it how to process the packet. A destination port of 80 indicates that the packet is retrieving a web page, while a port of 25 is used to move electronic mail between mail servers. Port translation, some times called PAT to distinguish it from address translation, relies on the fact that the source port is not important for most protocols. Similar to NAT, port translation makes changes to the sender’s address and recipient’s address on data packets. However, any IP address change involves the PAT device’s outside IP address rather than a pool of addresses. Port numbers, not IP addresses, are used to designate different computers on the inside network. A PAT device is like a post office that delivers box mail: outgoing envelopes are changed to appear to come from a post office box; incoming envelopes addressed to a valid post office box are changed to have the real street address of the box holder.
When a computer on the inside network sends a packet to the outside network, we still want to hide its sender’s address. The PAT device replaces the inside IP address in the packet header’s source field (sender’s address) with the PAT device’s outside IP address. It then assigns the connection a port number from a pool of available ports, inserts this port number in the packet header source port field (the post office box number), and places the packet on the outside network. The NAT device then makes an entry in its translation table containing the inside IP address, inside source port, and outside port. Subsequent packets from the same connection on the inside IP address are translated to the same outside port number translation.
The computer receiving a data packet will move the source IP address and source port as the corresponding destination fields in any response it sends back. So, for packets arriving from the outside, the process operates on the packet header’s destination port (the recipient’s post office box number). First, if the destination port number of the incoming packet is not found as an outside port in the translation table, the packet is simply dropped because the NAT device doesn’t know where to send it. Otherwise, the corresponding inside IP address and inside port number from the translation table replace the destination IP address and the destination port number in the incoming packet header. The packet is then placed on the inside network.
Het mooie van PAT is dat je daarbij Statefull Packet Inspection krijgt. Dit houdt in dat er bij een pakketje gekeken wordt naar bij welke verbinding deze hoort. Als het pakketje daadwerkelijk is aangevraagd wordt deze doorgelaten. Als er geen betreffende verbinding wordt gevonden dan wordt het pakketje weggegooit omdat de router niet weet naar welk intern IP deze moet.
De eindconclusie is dus dat als je met beide
tegelijk op internet wil zonder 1 van de 2 als gateway te gebruiken je toch een routertje moet aanschaffen.
[
Voor 47% gewijzigd door
Clueless op 17-08-2006 17:32
]