280 likes | 591 Views
Internet Connection Sharing. Ben Ramig Erik Tierney. Internet Connection Sharing. What is it? Solution for sharing a single internet connection with multiple computers attached to a Local Area Network (LAN) Recommended for private home networks Why? Cut costs. Advantages
E N D
Internet Connection Sharing Ben Ramig Erik Tierney
Internet Connection Sharing • What is it? • Solution for sharing a single internet connection with multiple computers attached to a Local Area Network (LAN) • Recommended for private home networks • Why? • Cut costs
Advantages Multiple computers can share single Internet Connection Cuts ISP Costs Comcast charges $7/month for each additional IP address and only allows a total of 3 addresses Disadvantages Limits access from the internet to only the host machine (firewall) Some winsock program features may not work properly or require special settings Home Networking Solutions
Home Networking Solutions • Windows • Wingate Internet Sharing Software ($40 for 3-user license, $70 for 6-user license) • Internet Connection Sharing Wizard (included with Windows 98 Second Edition) • Linux • IP Firewall Chains • IP Masquerading
IP Masquerading Fundamentals • Gateway rewrites packets so that they appear to have originated from it (instead of a computer on the internal network) • Rewrites responses as well and routes them to the internal computer that made the request.
Internet Service Provider Types • Modem - 56k (Free to $20/month) • Cable - 10Mb/s - security issues ($40 - $55/month) • DSL - 10Mb/s - ($50/month)
Hardware Required • Cable, DSL, or Analog Modem • Network Interface Cards • One for each client, two for host machine • Hub and CAT5 Ethernet Cables • Uplink capability vs. No Uplink • Can get away with using only one network card in host machine if not using Microsoft Internet Connection Sharing Wizard • 8 port uplink hub goes for about $25
Network Overview • ISP Provider – Static/Dynamic IP Address • Ex: 24.7.X.X • Local Area Network – Internal IP Addresses • Ex: 192.168.X.X • Host machine is usually 192.168.0.1 since it is the gateway between LAN and Internet
Advantages No additional cost for licenses Part of the new Windows operating system Disadvantages Requires Windows 98SE or Windows 2000 All client machines must be running Windows Not very user friendly Microsoft ICS Wizard
ICS Host Machine Setup – Part 1 • Internet connection must be setup properly (usually done by Internet Service Provider) • Must be running Win98SE or Win2000 • Install ICS Component under Window Setup option in the control panel
ICS Host Machine Setup – Part 2 • Choose type of internet connection • Fast (Cable/DSL/etc), Slow (Modem) • Tell ICS Wizard which adapter is for Internet and which is for LAN • Restart computer and all clients
ICS Client Machine Setup • Must be running Windows 95/98/NT/2000 • Do NOT install NetBEUI protocol on any of the client machines! • TCP/IP Configuration: • DHCP for WINS Resolution and IP Configuration • Remove all gateways (if any are present) • Disable DNS Configuration
Linux Real Network OS Cheap 486 with just network card can be used Better security and stability Much more flexibility with IP Chains Windows Easier to setup Most people already know the system and are familiar with it Linux vs. Windows for Host
Linux IP Chains • Consists of rules and policies for packet filtering and IP masquerading • 3 Chains • Input chain • Forwarding Chain • Output chain