User Tools

Site Tools


bandwidth_sharing_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
bandwidth_sharing_setup [2010/08/30 08:12]
ispyisail
bandwidth_sharing_setup [2013/05/21 15:59] (current)
eric
Line 1: Line 1:
- 
-====== //Under Construction// ====== 
  
  
 ====== Bandwidth Sharing Setup ====== ====== Bandwidth Sharing Setup ======
 +
 +
 +===== Introduction =====
  
 This how-to explains how to set up bandwidth sharing with client machines (PC) and the internet.  Typical application may include broadband sharing between flat mates or family members. This how-to explains how to set up bandwidth sharing with client machines (PC) and the internet.  Typical application may include broadband sharing between flat mates or family members.
  
-====== Setup Summary ======+===== Setup Summary =====
 Restrictions/Quotas are assigned to a computer and not by username and password. Any person who has access to this computer will have access to the internet. Restrictions/Quotas are assigned to a computer and not by username and password. Any person who has access to this computer will have access to the internet.
  
-===== Setup Summary Steps =====+==== Setup Summary Steps ====
   * [[#Prerequisite|Prerequisite]]   * [[#Prerequisite|Prerequisite]]
     * Enter Gargoyle configuration menu     * Enter Gargoyle configuration menu
     * Setup router as an Access Point (AP)     * Setup router as an Access Point (AP)
-  * Re-Enter Gargoyle configuration menu +  * [[#Wireless Connection|Re-Enter Gargoyle configuration menu]] 
-  * Assign Static IP address to client PC's +  * [[#Connect all client PC’s|Assign Static IP address to client PC's]] 
-  * Setup Restrictions +  * [[#Access Restrictions Setup|Setup Restrictions]] 
-  * Setup Quotas+  * [[#Setup Quotas|Setup Quotas]]
  
-====== Prerequisite ======+===== Prerequisite =====
  
   * Your gargoyle router needs to be configured correctly as an AP [[single_ethernet_setup#Configuring A Wireless Access Point|(Access Point)]].    * Your gargoyle router needs to be configured correctly as an AP [[single_ethernet_setup#Configuring A Wireless Access Point|(Access Point)]]. 
Line 28: Line 29:
  
  
-====== Wireless Connection ======+===== Wireless Connection =====
  
-Make a wireless connection between client PC (Notebook or Desktop computer) and a gargoye router.+Make a wireless connection between client PC (Notebook or Desktop computer) and a gargoyle router.
  
 This will enable configuration of gargoyle through a web browser. This will enable configuration of gargoyle through a web browser.
  
-===== Windows Vista example =====+==== Windows Vista example ====
  
 Start >> Connect To Start >> Connect To
Line 42: Line 43:
 The default SSID for a Gargoyle AP is "OpenWrt" but this could have been changed. The default SSID for a Gargoyle AP is "OpenWrt" but this could have been changed.
  
-====== Configure router ====== +===== Configure router ===== 
-===== Web browser connection =====+==== Web browser connection ====
    
  
Line 49: Line 50:
  
 {{:url.png|}} {{:url.png|}}
-===== Enter Password =====+==== Enter Password ====
  
   * Enter password (the default is “password” )   * Enter password (the default is “password” )
Line 55: Line 56:
  
 ''The default IP address is 192.168.1.1 (Note: If your DHCP router (DSL broadband router) uses the IP subnet of 192.168.1.x it may conflict with gargoyle and in this case you should change one of the routers to a different subnet)'' ''The default IP address is 192.168.1.1 (Note: If your DHCP router (DSL broadband router) uses the IP subnet of 192.168.1.x it may conflict with gargoyle and in this case you should change one of the routers to a different subnet)''
-====== Connect all client PC’s ======+===== Connect all client PC’s =====
  
  
Line 61: Line 62:
  
 ''In order for client machines (PC's) to connect to the internet an IP address must be used as an identifier. Usually a DHCP server/router will give out client IP address using a random IP address from an address pool but because we want control the bandwidth of a clients PC we must give the client the same IP address each time a network connection is made. Gargoyle does this by checking the client PC's MAC address then assigning the same IP address.'' ''In order for client machines (PC's) to connect to the internet an IP address must be used as an identifier. Usually a DHCP server/router will give out client IP address using a random IP address from an address pool but because we want control the bandwidth of a clients PC we must give the client the same IP address each time a network connection is made. Gargoyle does this by checking the client PC's MAC address then assigning the same IP address.''
-===== DHCP Setup =====+==== DHCP Setup ====
  
  
Line 67: Line 68:
  
 {{:connection_dhcp.png|}} {{:connection_dhcp.png|}}
-===== IP Address Pool =====+==== IP Address Pool ====
  
 In the example the IP address pool is x.x.x.100 to x.x.x.250 In the example the IP address pool is x.x.x.100 to x.x.x.250
Line 75: Line 76:
 {{:dhcp_server_pool.png|}} {{:dhcp_server_pool.png|}}
  
-===== Assigned Static IP address =====+==== Assigned Static IP address ====
  
  
Line 81: Line 82:
 {{:static_server_ip.png|}} {{:static_server_ip.png|}}
  
-===== Assign Static IP =====+==== Assign Static IP ====
  
  
Line 91: Line 92:
 In this example suitable fixed IP address would be 192.168.10.2 to 192.168.10.99 In this example suitable fixed IP address would be 192.168.10.2 to 192.168.10.99
  
-===== Select Client =====+==== Select Client ====
  
 {{:add_static_ip.png|}} {{:add_static_ip.png|}}
-===== Add IP address =====+==== Add IP address ====
  
  
 So manually add IP address e.g. 192.168.10.11 So manually add IP address e.g. 192.168.10.11
-===== listed clients with Fixed IP =====+==== listed clients with Fixed IP ====
  
  
  
 {{:add_static_2.1.png|}} {{:add_static_2.1.png|}}
-===== Assigned static IP address =====+==== Assigned static IP address ====
  
 {{:assigned_ip_2.png|}} {{:assigned_ip_2.png|}}
 +
 +====== Access Restrictions Setup ======
 +
 +We need to block all internet access all PC's except ones with quotas.
 +
 +Firewall >> Restrictions
 +
 +{{:restrictions.png|}}
 +
 +  * Add Rule Name - ''Use any Name''
 +  * Set Rule Applies to - ''Suggest "All hosts except"''
 +  * Add any static IP address that require access - ''Click "Add"''
 +  * Add new rule - ''Click "Add new rule"''
 +  * Save - ''Click "Save Changes"''
 +
 +{{:add_access_rest.png|}}
 +
 +====== Setup Quotas ======
 +
 +We need to add a quota per computer. 
 +
 +Firewall >> Quotas
 +
 +{{:quota.png|}}
 +
 +  * Rule Applies to - ''Only the following Host(s)''
 +  * Add Static IP address - ''192.168.10.x then click add''
 +  * Max Total Up+Down  - ''Limit to x.xytes''
 +  * Select and enter other fields as required
 +  * Add new quota - ''Click "Add new quota"''
 +  * Save - ''Click "Save Changes"''
 +{{:band_quote.png|}}
 +
 +
 +
 + 
bandwidth_sharing_setup.1283155925.txt.gz · Last modified: 2010/08/30 08:12 by ispyisail