THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering

Size: px
Start display at page:

Download "THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering"

Transcription

1 THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering ENG 224 Information Technology Laboratory 6: Internet Connection Sharing Objectives: Build a private network that uses a single shared Internet connection Enable incoming Internet traffic forwarded to hosts in private network Tools: 1) 1 PC with 2 network interface cards and Ubuntu Linux 5 preloaded 2) 1 PC with 1 network interface card and Ubuntu Linux 5 preloaded 3) A cross-over cable connecting the two PCs Introduction For a typical small-office environment, the number of Intern et connections is very limited. It is therefore desirable to provide a shared Internet connection when there are multiple PCs requiring Internet access (Fig. 1). There are many ways to accomplish this, in the form of hardware or software. One simple way is to setup a gateway by using the standard service included in Linux packages called Dynamic Host Configuration Protocol Daemon (dhcpd). In this exercise, you are requested to set up a gateway for a private network similar to the one shown in Fig. 2, which is a simplified version of a typical small-office network in Fig. 1. A Linux box (PC gateway, or just PCG) is a gateway having an Internet connection through a network interface card (NIC). There is another PC (PC1) connected to the second NIC of the Linux PCG. You need an Internet connection for this gateway and a local area network interface device for connecting PC1. In addition, you have to set up the IP addresses, gateway address, network mask, and other parameters for each machine appropriately. Internet Internet PC as Gateway Hub Modem Public address from ISP Private address PCG NIC_G1 NIC_G2 NIC_1 Public address Private address Private network / PC1 Private network / PC Laptop Figure 1: Internet connection sharing. Figure 2: Internet connection sharing. Page 1

2 Network Address Translator (NAT) We are fast exhausting all available IP addresses under IPv4, and this has become a major problem of the Internet. Placing a network address translator (NAT) at the border of a stub domain (i.e. a private network that uses IP addresses internally) enables the use of one public IP address for a large number of PCs. NAT uses multiplexing facility of TCP/IP protocols to multiplex traffic from internal network and presents it to the public Internet as if all the traffic comes from the NAT machine itself. See RFC1631 for details [1]. Dynamic Host Configuration Protocol (DHCP) DHCP (Dynamic Host Configuration Protocol) is a communications protocol which allows network administrators manage and assign Internet Protocol (IP) addresses in an automatic way. In DHCP, a DHCP server in a network receives DHCP requests from a client. Once the request is received, the server will allocate an IP address back to the requesting client. Without DHCP, the IP address must be updated manually at each computer whenever there is a change in the network. See RFC 2131 for details [2]. Address Ranges For assigning addresses for hosts inside a private network, it is recommended [3] that we use three private address ranges of which no Internet router will route to/from: to ( with subnet mask ) to ( with subnet mask ) to ( with subnet mask ) You should not assign IP addresses other than those listed above to any host inside a private network. (See Appendix I for more details on IP subnetting. IP subnetting is also covered in the main lecture.) Internetworking Utilities Ping? A small utility that uses the Internet Control Message Protocol (ICMP) echo function. It sends a packet (64 bytes each) with sequence number to the target host through the network, and waits for a reply. Echoes will be received if both computers and their connection are running properly. Ping also tells us the number of routers between the two parties and the round-trip time. Traceroute (in Linux) or Tracert (in Windows)? Can be used to trace the route an IP packet travels from the source host to the destination host. Tracking the routes between hosts in the Internet can be very difficult. Traceroute achieves this by sending a series of IP packets with very small time-tolive value. A. Basic network configuration In this section, you are requested to configure the private network, including PCG and PC1. Original Configuration 1. Boot PCG and PC1. Login both machine as student and switch user to root in the terminal. Make sure one of the NICs of the PCG is connected to the Internet while the other one is connected to PC1. 2. On PCG, enter the network setting by selecting System->Administration->Networking. Write down the original network TCP/IP configuration of both NICs. 3. a. NIC_G1: IP address: Subnet mask: Default gateway: Page 2

3 DNS server(s): b. NIC_G2: IP address: Subnet mask: Default gateway(s): DNS server(s): Figure 3: Network Settings in Linux 4. On PC1, enter the network setting by selecting System->Administration->Networking. Write down the original network TCP/IP configuration of the NIC. a. NIC_1: IP address: Subnet mask: Default gateway: DNS server(s): 5. On PCG, Keep all the IP addresses associated with the network interface card NIC_G1 (the one connecting to the internet): a. NIC_G1: IP addres s: Original configuration Subnet mask: Original configuration Page 3

4 Default gateway: Original configuration DNS server: Original configuration 6. Then, in the Network Configuration of PCG, Deactivate the NIC_G2 (the one connecting to PC1). Modify the NIC_G2's IP address with the followings : a. NIC_G2: IP address: : Subnet mask: Default gateway: <IP address of NIC_G1> 7. Activate the new IP address by clicking the Activate button. Verify your setting by typing ifconfig eth1 in a terminal. (In this example, eth1 is the NIC_G2) 8. On PC1, in the Network Configuration, Deactivate the NIC_1. Modify its connection settings from statistic IP address to DHCP. 9. Click OK and activate the NIC_1. Setting up the DHCP Daemon [4] Open a terminal on PCG, switch user to root, edit the dhcpd.conf in the /etc/ directory. Create one if it does not exist. Edit the dhcpd.conf as follow: subnet netmask { range ; option domain-name-servers , ; option domain-name "cf004.eie.polyu.edu.hk"; option routers ; option broadcast-address ; default-lease-time 600; max-lease-time 7200; } Save and exit after editing. Edit file /etc/default/dhcp. Look for INTERFACES="" Replace that with INTERFACES="eth1" This setting is to make the dhcp server works on the interface eth1 (NIC-G2). Make sure you have switched to root account by the "su" command. In the terminal use the command "/etc/init.d/dhcp restart" to restart the DHCP Daemon. Setting up the iptables and enable the routing [5] Edit the file 00-firewall under the directory /etc/network/if-up.d/. The 00-firewall is a script file used to configure the iptables. Every file in the directory /if-up.d/ will be activated once the network adaptor has been activated on bootup. Create one if it does not exist. Edit the file as following Page 4

5 #!/bin/sh PATH=/usr/sbin:/sbin:/bin:/usr/bin #Remove all existing rules in the iptables iptables -F iptables -t nat -F iptables -t mangle -F iptables -X #Change all policies to ACCEPT iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT #ACCEPT loop back iptables -A INPUT -i lo -j ACCEPT #ACCEPT INPUT connections iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -m state --state NEW -i eth0 -j ACCEPT #ACCEPT packet forwarding iptables -A FORWARD -i eth0 -o eth1 -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT #IP Masquerade iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE #Enable IP forward echo 1 > /proc/sys/net/ipv4/ip_forward To activate the script, change the permission to 711 by the command chmod. Activate the script by entering./00-firewall in the terminal. Edit the file "options" under the directory /etc/network/ as following. ip_forward=yes spoofprotect=yes syncookies=no Restart the PC. Testing for connectivity To test whether gateway has been set up correctly, we may use the commands ping and traceroute. In the ping tests, if you receive error messages such as Request time out, your settings in the previous section are most probably incorrect. Go back to check all the settings before proceeding to the next section. 1. Use ping to test the connectivity PC1<-> PCG<-> the Internet: a. Open a terminal window on PC1. Enter ping c 2 <IP of NIC_G2>, and write down the results below. Page 5

6 b. Open a command prompt in PCG (from Programs on the Start menu). Type ping c 2 <IP of NIC_1>, and write down the result below. c. Also from PCG, type ping <IP of Test Machine>, and write down the result below. (Hint: A simple choice of Test Machine is the local DNS server, whose IP address is at the time of writing this document.) 2. Use traceroute to trace the routing path from your PC to the destination machine: a. From PCG, type traceroute <IP of Test Machine> and write down the result: b. Open a command prompt in PC1. Type traceroute <IP of Test Machine>, and write down the result: c. Note the number of hops required in each case. What is the difference between the results in (a) and (b)? Why is there such a difference? 3. Browse the homepage of PolyU using PC1. Show your result to your tutor. B. Serving Internet Users In the previous section you have set up a gateway that allows users in the private network to use the single Internet connection on PCG. In this section, you are requested to set up a web server on a host in the private network and then configure the gateway to redirect HTTP service requests from Page 6

7 Internet users to the web server (PC1) in your private network. The apache web server has been installed on the PC1. Start the web server on PC1 1. The apache server will start automatically after the boot up. 2. Note the location of the web documents (/var/www/apache2-default/), and create a document student.html containing your name and student ID in the web document root. You can check the location of the document root from the configuration file /etc/apache2/sites-enabled/000-default 3. Test the web service by starting a web browser on PC1 to retrieve the URL where is the standard loopback IP address. Do you see the correct web document containing your name and student ID? 4. Test the web service again by opening a web browser on PCG to retrieve the URL of NIC_1>/student.html. Do you see the correct web document containing your name and student ID? Configure Port forwarding in PCG 1. Open a terminal on PCG. 2. Edit the script file "00-firewall" as following. Those lines started with # are just comment. #!/bin/sh PATH=/usr/sbin:/sbin:/bin:/usr/bin #Remove all existing rules in the iptables iptables -F iptables -t nat -F iptables -t mangle -F iptables -X #Change all policies to ACCEPT iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT #ACCEPT loop back iptables -A INPUT -i lo -j ACCEPT #ACCEPT INPUT connections iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -m state --state NEW -i eth0 -j ACCEPT #ACCEPT packet forwarding iptables -A FORWARD -i eth0 -o eth1 -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT #ACCEPT INPUT on port 80 iptables -A INPUT -p tcp -i eth0 --dport 80 -j ACCEPT iptables -A INPUT -p udp -i eth0 --dport 80 -j ACCEPT #IP forwarding on port 80 Page 7

8 #Please change the IP to your own NIC_G1 IP iptables -t nat -A PREROUTING -d p tcp --dport 80 -j DNAT -- to :80 iptables -t nat -A POSTROUTING -d p tcp --dport 80 -j SNAT -- to iptables -A FORWARD -o eth0 -d p tcp --dport 80 -j ACCEPT iptables -A FORWARD -i eth1 -s p tcp --sport 80 -m state -- state ESTABLISHED -j ACCEPT #IP Masquerade iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE #Enable IP forward echo 1 > /proc/sys/net/ipv4/ip_forward 3. Activated the script or restart your PC. 4. Make sure you have the root permission. Stop the apache2 service on PCG by the command./apache2 stop under the directory /etc/init.d/. 5. Test the service by opening a browser on a third machine to retrieve the webpage on PC1 at of NIC_G1>/student.html. You should use a PC in a neighboring group for this test. Do you see the correct web document? 6. Show the result to your lab tutor. 7. In PC1, restore the original network TCP/IP configuration for the NIC_1. C. What to hand in Create a new text or Word file and write a brief report about what you have done, observed and learnt in this laboratory exercise. Include your answers to all the questions above in the report. Appendix I - Quick Information on IP Addressing and Subnetting IP Address An IP (Internet Protocol) address is a unique identifier for a node or host on an IP network. An IP address is a 32-bit binary number and usually represented as 4 decimal values, each representing 8 bits, in the range 0 to 255 (known as octets, i.e. 8 bits), separated by decimal points. This is known as dotted decimal notation of IP address. Example IP address Dotted decimal: Binary form: IP address is hierarchical. It consists of 2 parts, the first part identifies the network (Network ID) and the remaining part identifies the node (Host ID). Each Network ID on the Internet must be registered to the Internet Assigned Number Authority (IANA). In the example above, the Network ID and Host ID are as follows: IP address Network ID Host ID Page 8

9 Internet routers forward packets to other routers or hosts according to the Network ID. The number of bit in the Network ID determines the size of the network. Fewer number of bits in Network ID implies larger network, because there are more bits left for Host IDs. There are 5 classes of IP address, according to the size of network: Class A addresses begin with 0xxx, or 1 to 126 decimal. Class B addresses begin with 10xx, or 128 to 191 decimal. Class C addresses begin with 110x, or 192 to 223 decimal. Class D addresses begin with 1110, or 224 to 239 decimal. Class E addresses begin with 1111, or 240 to 254 decimal. Subnetting Network administrators can also sub-divide a network into smaller networks called subnets according to their needs. How does a router or node know about the subnets? The answer lies in the subnet mask. A subnet mask is a 32-bit binary number with many leading 1's, followed by a string of 0 s. Applying logical AND to an IP address with the subnet mask bit by bit allows one to identify the Subnet ID. Example: IP address Binary form Network ID Subnet mask Host ID Increasing the number of 1's in the subnet mask allows more possible subnets, each with a smaller size. Network address is usually expressed in the following form: Network ID / Subnet mask Example: The network address / implies that the possible IP addresses in this subnet ranges from to Another form is /23, where 23 indicates the number of leading 1's in the subnet mask. There are three IP network addresses reserved for private networks. No Internet router will forward packets to/from these networks. The reserved network IP addresses are: /8, /12, and /16. Refer to the lecture notes on TCPIP and/or the following references for more details of NAT. References [1] K. Egevang, The IP Network Address Translator (NAT), [2] James F. Kurose, Kwith W. Ross, Computer Networking a top down approach featuring the internet Page 9

10 [3] Y. Rekhter, B. Moskowitz, D. Karrenberg, G.J. de Groot, and E. Lear, Address Allocation for Private Internets, [4] Chua Wen Kiat "Unoffical Ubuntu Starter Guide" [5] Steve "Setting up a simple Debian gateway" -- End -- Page 10

1:1 NAT in ZeroShell. Requirements. Overview. Network Setup

1:1 NAT in ZeroShell. Requirements. Overview. Network Setup 1:1 NAT in ZeroShell Requirements The version of ZeroShell used for writing this document is Release 1.0.beta11. This document does not describe installing ZeroShell, it is assumed that the user already

More information

CS 326e F2002 Lab 1. Basic Network Setup & Ethereal Time: 2 hrs

CS 326e F2002 Lab 1. Basic Network Setup & Ethereal Time: 2 hrs CS 326e F2002 Lab 1. Basic Network Setup & Ethereal Time: 2 hrs Tasks: 1 (10 min) Verify that TCP/IP is installed on each of the computers 2 (10 min) Connect the computers together via a switch 3 (10 min)

More information

Linux firewall. Need of firewall Single connection between network Allows restricted traffic between networks Denies un authorized users

Linux firewall. Need of firewall Single connection between network Allows restricted traffic between networks Denies un authorized users Linux firewall Need of firewall Single connection between network Allows restricted traffic between networks Denies un authorized users Linux firewall Linux is a open source operating system and any firewall

More information

IP Address: the per-network unique identifier used to find you on a network

IP Address: the per-network unique identifier used to find you on a network Linux Networking What is a network? A collection of devices connected together Can use IPv4, IPv6, other schemes Different devices on a network can talk to each other May be walls to separate different

More information

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet Review questions 1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet C Media access method D Packages 2 To which TCP/IP architecture layer

More information

Technical Support Information Belkin internal use only

Technical Support Information Belkin internal use only The fundamentals of TCP/IP networking TCP/IP (Transmission Control Protocol / Internet Protocols) is a set of networking protocols that is used for communication on the Internet and on many other networks.

More information

1 PC to WX64 direction connection with crossover cable or hub/switch

1 PC to WX64 direction connection with crossover cable or hub/switch 1 PC to WX64 direction connection with crossover cable or hub/switch If a network is not available, or if it is desired to keep the WX64 and PC(s) completely separated from other computers, a simple network

More information

How to Create, Setup, and Configure an Ubuntu Router with a Transparent Proxy.

How to Create, Setup, and Configure an Ubuntu Router with a Transparent Proxy. In this tutorial I am going to explain how to setup a home router with transparent proxy using Linux Ubuntu and Virtualbox. Before we begin to delve into the heart of installing software and typing in

More information

Linux Firewalls (Ubuntu IPTables) II

Linux Firewalls (Ubuntu IPTables) II Linux Firewalls (Ubuntu IPTables) II Here we will complete the previous firewall lab by making a bridge on the Ubuntu machine, to make the Ubuntu machine completely control the Internet connection on the

More information

Firewall VPN Router. Quick Installation Guide M73-APO09-380

Firewall VPN Router. Quick Installation Guide M73-APO09-380 Firewall VPN Router Quick Installation Guide M73-APO09-380 Firewall VPN Router Overview The Firewall VPN Router provides three 10/100Mbit Ethernet network interface ports which are the Internal/LAN, External/WAN,

More information

Basic Network Configuration

Basic Network Configuration Basic Network Configuration 2 Table of Contents Basic Network Configuration... 25 LAN (local area network) vs WAN (wide area network)... 25 Local Area Network... 25 Wide Area Network... 26 Accessing the

More information

Linux Routers and Community Networks

Linux Routers and Community Networks Summer Course at Mekelle Institute of Technology. July, 2015. Linux Routers and Community Networks Llorenç Cerdà-Alabern http://personals.ac.upc.edu/llorenc llorenc@ac.upc.edu Universitat Politènica de

More information

Multi-Homing Dual WAN Firewall Router

Multi-Homing Dual WAN Firewall Router Multi-Homing Dual WAN Firewall Router Quick Installation Guide M73-APO09-400 Multi-Homing Dual WAN Firewall Router Overview The Multi-Homing Dual WAN Firewall Router provides three 10/100Mbit Ethernet

More information

Computer Networks I Laboratory Exercise 1

Computer Networks I Laboratory Exercise 1 Computer Networks I Laboratory Exercise 1 The lab is divided into two parts where the first part is a basic PC network TCP/IP configuration and connection to the Internet. The second part is building a

More information

+ iptables. packet filtering && firewall

+ iptables. packet filtering && firewall + iptables packet filtering && firewall + what is iptables? iptables is the userspace command line program used to configure the linux packet filtering ruleset + a.k.a. firewall + iptable flow chart what?

More information

Part A:Background/Preparation

Part A:Background/Preparation Lab no 1 PC Network TCP/IP Configuration In this lab we will learn about Computer Networks Configuration Introduction to IP addressing Identify tools used for discovering a computer s network configuration

More information

pp=pod number, xxx=static IP address assigned to your pod

pp=pod number, xxx=static IP address assigned to your pod Lab 6: Dynamic Host Configuration Protocol The purpose of this lab is to configure a DHCP server for multiple subnets. You will configure additional options along with an IP address and netmask, and you

More information

TCP/IP Network Essentials. Linux System Administration and IP Services

TCP/IP Network Essentials. Linux System Administration and IP Services TCP/IP Network Essentials Linux System Administration and IP Services Layers Complex problems can be solved using the common divide and conquer principle. In this case the internals of the Internet are

More information

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University Computer Networks Introduc)on to Naming, Addressing, and Rou)ng Week 09 College of Information Science and Engineering Ritsumeikan University MAC Addresses l MAC address is intended to be a unique identifier

More information

Hands-on MESH Network Exercise Workbook

Hands-on MESH Network Exercise Workbook Hands-on MESH Network Exercise Workbook Santa Clara County RACES Date: 18 March 2015 Version: 1.0 scco_wifi_intro_exonly_v150318.docx 1 Table of Contents HANDS ON! Exercise #1: Looking at your Network

More information

LAB THREE STATIC ROUTING

LAB THREE STATIC ROUTING LAB THREE STATIC ROUTING In this lab you will work with four different network topologies. The topology for Parts 1-4 is shown in Figure 3.1. These parts address router configuration on Linux PCs and a

More information

Linux Networking Basics

Linux Networking Basics Linux Networking Basics Naveen.M.K, Protocol Engineering & Technology Unit, Electrical Engineering Department, Indian Institute of Science, Bangalore - 12. Outline Basic linux networking commands Servers

More information

Linux Firewall Wizardry. By Nemus

Linux Firewall Wizardry. By Nemus Linux Firewall Wizardry By Nemus The internet and your server So then what do you protect your server with if you don't have a firewall in place? NetFilter / Iptables http://www.netfilter.org Iptables

More information

Chapter 2 Preparing Your Network

Chapter 2 Preparing Your Network Chapter 2 Preparing Your Network This document describes how to prepare your network to connect to the Internet through a router and how to verify the readiness of your broadband Internet service from

More information

Linux as an IPv6 dual stack Firewall

Linux as an IPv6 dual stack Firewall Linux as an IPv6 dual stack Firewall Presented By: Stuart Sheldon stu@actusa.net http://www.actusa.net http://www.stuartsheldon.org IPv6 2001:0DB8:0000:0000:021C:C0FF:FEE2:888A Address format: Eight 16

More information

Debugging Network Communications. 1 Check the Network Cabling

Debugging Network Communications. 1 Check the Network Cabling Debugging Network Communications Situation: you have a computer and your NetBurner device on a network, but you cannot communicate between the two. This application note provides a set of debugging steps

More information

Lab 8.4.2 Configuring Access Policies and DMZ Settings

Lab 8.4.2 Configuring Access Policies and DMZ Settings Lab 8.4.2 Configuring Access Policies and DMZ Settings Objectives Log in to a multi-function device and view security settings. Set up Internet access policies based on IP address and application. Set

More information

IP Addressing A Simplified Tutorial

IP Addressing A Simplified Tutorial Application Note IP Addressing A Simplified Tutorial July 2002 COMPAS ID 92962 Avaya Labs 1 All information in this document is subject to change without notice. Although the information is believed to

More information

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address Objectives University of Jordan Faculty of Engineering & Technology Computer Engineering Department Computer Networks Laboratory 907528 Lab.4 Basic Network Operation and Troubleshooting 1. To become familiar

More information

Load Balancing Trend Micro InterScan Web Gateway

Load Balancing Trend Micro InterScan Web Gateway Load Balancing Trend Micro InterScan Web Gateway Deployment Guide rev. 1.1.7 Copyright 2002 2015 Loadbalancer.org, Inc. 1 Table of Contents About this Guide... 3 Loadbalancer.org Appliances Supported...

More information

Load Balancing Sophos Web Gateway. Deployment Guide

Load Balancing Sophos Web Gateway. Deployment Guide Load Balancing Sophos Web Gateway Deployment Guide rev. 1.0.9 Copyright 2002 2015 Loadbalancer.org, Inc. 1 Table of Contents About this Guide...3 Loadbalancer.org Appliances Supported...3 Loadbalancer.org

More information

Lab Objectives & Turn In

Lab Objectives & Turn In Firewall Lab This lab will apply several theories discussed throughout the networking series. The routing, installing/configuring DHCP, and setting up the services is already done. All that is left for

More information

Firewalls. Chien-Chung Shen cshen@cis.udel.edu

Firewalls. Chien-Chung Shen cshen@cis.udel.edu Firewalls Chien-Chung Shen cshen@cis.udel.edu The Need for Firewalls Internet connectivity is essential however it creates a threat vs. host-based security services (e.g., intrusion detection), not cost-effective

More information

1.0 Basic Principles of TCP/IP Network Communications

1.0 Basic Principles of TCP/IP Network Communications Section 1 Basic Principles of TCP/IP Network Communications Section 2 Introduction to Doors NetXtreme Section 3 Common Connection Issues Section 4 Common Causes Section 5 Tools Section 6 Contact Keri Systems

More information

50.XXX is based on your station number

50.XXX is based on your station number Lab 6: Dynamic Host Configuration Protocol The purpose of this lab is to configure a DHCP server for multiple subnets. You will configure additional options along with an IP address and netmask, and you

More information

Chapter 7 Troubleshooting

Chapter 7 Troubleshooting Chapter 7 Troubleshooting This chapter provides troubleshooting tips and information for your ProSafe VPN Firewall 200. After each problem description, instructions are provided to help you diagnose and

More information

Pre-lab and In-class Laboratory Exercise 10 (L10)

Pre-lab and In-class Laboratory Exercise 10 (L10) ECE/CS 4984: Wireless Networks and Mobile Systems Pre-lab and In-class Laboratory Exercise 10 (L10) Part I Objectives and Lab Materials Objective The objectives of this lab are to: Familiarize students

More information

Load Balancing Clearswift Secure Web Gateway

Load Balancing Clearswift Secure Web Gateway Load Balancing Clearswift Secure Web Gateway Deployment Guide rev. 1.1.8 Copyright 2002 2016 Loadbalancer.org, Inc. 1 Table of Contents About this Guide...3 Loadbalancer.org Appliances Supported...3 Loadbalancer.org

More information

Lab PC Network TCP/IP Configuration

Lab PC Network TCP/IP Configuration Lab PC Network TCP/IP Configuration Objective Identify tools used to discover a computer network configuration with various operating systems. Gather information including connection, host name, Layer

More information

Lab 1: Introduction to the network lab

Lab 1: Introduction to the network lab CSCI 312 - DATA COMMUNICATIONS AND NETWORKS FALL, 2014 Lab 1: Introduction to the network lab NOTE: Be sure to bring a flash drive to the lab; you will need it to save your data. For this and future labs,

More information

Quick Note 53. Ethernet to W-WAN failover with logical Ethernet interface.

Quick Note 53. Ethernet to W-WAN failover with logical Ethernet interface. Quick Note 53 Ethernet to W-WAN failover with logical Ethernet interface. Digi Support August 2015 1 Contents 1 Introduction... 2 1.1 Introduction... 2 1.2 Assumptions... 3 1.3 Corrections... 3 2 Version...

More information

Home Networking In Linux

Home Networking In Linux Home Networking In Linux Iptables Firewall, Routing, Wireless, and More Scott Paul Robertson http://spr.mahonri5.net spr@mahonri5.net December 10, 2006 Introduction Why Build My Own Router? With most ISPs,

More information

Linux Networking: IP Packet Filter Firewalling

Linux Networking: IP Packet Filter Firewalling Linux Networking: IP Packet Filter Firewalling David Morgan Firewall types Packet filter Proxy server 1 Linux Netfilter Firewalling Packet filter, not proxy Centerpiece command: iptables Starting point:

More information

Guideline for setting up a functional VPN

Guideline for setting up a functional VPN Guideline for setting up a functional VPN Why do I want a VPN? VPN by definition creates a private, trusted network across an untrusted medium. It allows you to connect offices and people from around the

More information

TCP/IP works on 3 types of services (cont.): TCP/IP protocols are divided into three categories:

TCP/IP works on 3 types of services (cont.): TCP/IP protocols are divided into three categories: Due to the number of hardware possibilities for a network, there must be a set of rules for how data should be transmitted across the connection media. A protocol defines how the network devices and computers

More information

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved. IP Addressing and Subnetting 2002, Cisco Systems, Inc. All rights reserved. 1 Objectives Upon completion, you will be able to: Discuss the Types of Network Addressing Explain the Form of an IP Address

More information

Savvius Insight Initial Configuration

Savvius Insight Initial Configuration The configuration utility on Savvius Insight lets you configure device, network, and time settings. Additionally, if you are forwarding your data from Savvius Insight to a Splunk server, You can configure

More information

How To Set Up A Network Map In Linux On A Ubuntu 2.5 (Amd64) On A Raspberry Mobi) On An Ubuntu 3.5.2 (Amd66) On Ubuntu 4.5 On A Windows Box

How To Set Up A Network Map In Linux On A Ubuntu 2.5 (Amd64) On A Raspberry Mobi) On An Ubuntu 3.5.2 (Amd66) On Ubuntu 4.5 On A Windows Box CSC-NETLAB Packet filtering with Iptables Group Nr Name1 Name2 Name3 Date Instructor s Signature Table of Contents 1 Goals...2 2 Introduction...3 3 Getting started...3 4 Connecting to the virtual hosts...3

More information

Chapter 7. Firewalls http://www.redhat.com/docs/manuals/enterprise/rhel-4-manual/security-guide/ch-fw.html

Chapter 7. Firewalls http://www.redhat.com/docs/manuals/enterprise/rhel-4-manual/security-guide/ch-fw.html Red Hat Docs > Manuals > Red Hat Enterprise Linux Manuals > Red Hat Enterprise Linux 4: Security Guide Chapter 7. Firewalls http://www.redhat.com/docs/manuals/enterprise/rhel-4-manual/security-guide/ch-fw.html

More information

Lab 10.4.1 IP Addressing Overview

Lab 10.4.1 IP Addressing Overview Lab 10.4.1 IP ing Overview Estimated time: 30 min. Objectives: Background: This lab will focus on your ability to accomplish the following tasks: Name the five different classes of IP addresses Describe

More information

Assignment 3 Firewalls

Assignment 3 Firewalls LEIC/MEIC - IST Alameda ONLY For ALAMEDA LAB equipment Network and Computer Security 2013/2014 Assignment 3 Firewalls Goal: Configure a firewall using iptables and fwbuilder. 1 Introduction This lab assignment

More information

Cork Institute of Technology Master of Science in Computing in Education National Framework of Qualifications Level 9

Cork Institute of Technology Master of Science in Computing in Education National Framework of Qualifications Level 9 Cork Institute of Technology Master of Science in Computing in Education National Framework of Qualifications Level 9 February 2005 System and Network Management (Time: 2 Hours) Answer any THREE questions

More information

Load Balancing Bloxx Web Filter. Deployment Guide

Load Balancing Bloxx Web Filter. Deployment Guide Load Balancing Bloxx Web Filter Deployment Guide rev. 1.1.8 Copyright 2002 2016 Loadbalancer.org, Inc. 1 Table of Contents About this Guide...4 Loadbalancer.org Appliances Supported...4 Loadbalancer.org

More information

Networking Basics for Automation Engineers

Networking Basics for Automation Engineers Networking Basics for Automation Engineers Page 1 of 10 mac-solutions.co.uk v1.0 Oct 2014 1. What is Transmission Control Protocol/Internet Protocol (TCP/IP)------------------------------------------------------------

More information

Broadband Router ESG-103. User s Guide

Broadband Router ESG-103. User s Guide Broadband Router ESG-103 User s Guide FCC Warning This equipment has been tested and found to comply with the limits for Class A & Class B digital device, pursuant to Part 15 of the FCC rules. These limits

More information

Instructor Notes for Lab 3

Instructor Notes for Lab 3 Instructor Notes for Lab 3 Do not distribute instructor notes to students! Lab Preparation: Make sure that enough Ethernet hubs and cables are available in the lab. The following tools will be used in

More information

Dynamic Host Configuration Protocol (DHCP) 02 NAT and DHCP Tópicos Avançados de Redes

Dynamic Host Configuration Protocol (DHCP) 02 NAT and DHCP Tópicos Avançados de Redes Dynamic Host Configuration Protocol (DHCP) 1 1 Dynamic Assignment of IP addresses Dynamic assignment of IP addresses is desirable for several reasons: IP addresses are assigned on-demand Avoid manual IP

More information

Smoothwall Web Filter Deployment Guide

Smoothwall Web Filter Deployment Guide Smoothwall Web Filter Deployment Guide v1.0.7 Copyright 2013 Loadbalancer.org, Inc. 1 Table of Contents About this Guide... 3 Loadbalancer.org Appliances Supported...3 Loadbalancer.org Software Versions

More information

Track 2 Workshop PacNOG 7 American Samoa. Firewalling and NAT

Track 2 Workshop PacNOG 7 American Samoa. Firewalling and NAT Track 2 Workshop PacNOG 7 American Samoa Firewalling and NAT Core Concepts Host security vs Network security What is a firewall? What does it do? Where does one use it? At what level does it function?

More information

Load Balancing Smoothwall Secure Web Gateway

Load Balancing Smoothwall Secure Web Gateway Load Balancing Smoothwall Secure Web Gateway Deployment Guide rev. 1.1.7 Copyright 2002 2015 Loadbalancer.org, Inc. 1 Table of Contents About this Guide...3 Loadbalancer.org Appliances Supported...3 Loadbalancer.org

More information

Corso di Configurazione e Gestione di Reti Locali

Corso di Configurazione e Gestione di Reti Locali Corso di Configurazione e Gestione di Reti Locali Marco Bonola Lorenzo Bracciale A.A. 2011/2012 TOC Netkit: installation, configuration, use Lab0-interfaces: basic IP configuration IP Networking (ifconfig,

More information

Internetworking and IP Address

Internetworking and IP Address Lecture 8 Internetworking and IP Address Motivation of Internetworking Internet Architecture and Router Internet TCP/IP Reference Model and Protocols IP Addresses - Binary and Dotted Decimal IP Address

More information

Evaluation guide. Vyatta Quick Evaluation Guide

Evaluation guide. Vyatta Quick Evaluation Guide VYATTA, INC. Evaluation guide Vyatta Quick Evaluation Guide A simple step-by-step guide to configuring network services with Vyatta Open Source Networking http://www.vyatta.com Overview...1 Booting Up

More information

2. IP Networks, IP Hosts and IP Ports

2. IP Networks, IP Hosts and IP Ports 1. Introduction to IP... 1 2. IP Networks, IP Hosts and IP Ports... 1 3. IP Packet Structure... 2 4. IP Address Structure... 2 Network Portion... 2 Host Portion... 3 Global vs. Private IP Addresses...3

More information

PC/POLL SYSTEMS Version 7 Polling SPS2000 Cash Register TCP/IP Communications

PC/POLL SYSTEMS Version 7 Polling SPS2000 Cash Register TCP/IP Communications PC/POLL SYSTEMS Version 7 Polling SPS2000 Cash Register TCP/IP Communications PC/POLL SYSTEMS supports native TCP/IP polling for the SPS2000 cash register. It is recommended users have the register updated

More information

Connect the Host to attach to Fast Ethernet switch port Fa0/2. Configure the host as shown in the topology diagram above.

Connect the Host to attach to Fast Ethernet switch port Fa0/2. Configure the host as shown in the topology diagram above. Lab 1.2.2 Capturing and Analyzing Network Traffic Host Name IP Address Fa0/0 Subnet Mask IP Address S0/0/0 Subnet Mask Default Gateway RouterA 172.17.0.1 255.255.0.0 192.168.1.1 (DCE) 255.255.255.0 N/A

More information

Multi-Homing Security Gateway

Multi-Homing Security Gateway Multi-Homing Security Gateway MH-5000 Quick Installation Guide 1 Before You Begin It s best to use a computer with an Ethernet adapter for configuring the MH-5000. The default IP address for the MH-5000

More information

Appliance Quick Start Guide. v7.6

Appliance Quick Start Guide. v7.6 Appliance Quick Start Guide v7.6 rev. 1.0.7 Copyright 2002 2015 Loadbalancer.org, Inc. Table of Contents Loadbalancer.org Terminology... 4 What is a Virtual IP Address?... 5 What is a Floating IP Address?...

More information

IPv6.marceln.org. marcel.nijenhof@proxy.nl

IPv6.marceln.org. marcel.nijenhof@proxy.nl IPv6.marceln.org marcel.nijenhof@proxy.nl RFC 1606 RFC 1606 A Historical Perspective On The Usage Of IP Version 9 1 April 1994, J. Onions Introduction The take-up of the network protocol TCP/IPv9 has been

More information

Definition of firewall

Definition of firewall Internet Firewalls Definitions: firewall, policy, router, gateway, proxy NAT: Network Address Translation Source NAT, Destination NAT, Port forwarding NAT firewall compromise via UPnP/IGD Packet filtering

More information

ipchains and iptables for Firewalling and Routing

ipchains and iptables for Firewalling and Routing ipchains and iptables for Firewalling and Routing Jeff Muday Instructional Technology Consultant Department of Biology, Wake Forest University The ipchains utility Used to filter packets at the Kernel

More information

1. Hardware Installation

1. Hardware Installation 4 Port 10/100M Internet Broadband Router with USB Printer server Quick Installation Guide #4824904AXZZ0 1. Hardware Installation A. System Requirement Before you getting started, make sure that you meet

More information

Load Balancing McAfee Web Gateway. Deployment Guide

Load Balancing McAfee Web Gateway. Deployment Guide Load Balancing McAfee Web Gateway Deployment Guide rev. 1.1.4 Copyright 2015 Loadbalancer.org, Inc. 1 Table of Contents About this Guide... 3 Loadbalancer.org Appliances Supported...3 Loadbalancer.org

More information

Load Balancing Router. User s Guide

Load Balancing Router. User s Guide Load Balancing Router User s Guide TABLE OF CONTENTS 1: INTRODUCTION... 1 Internet Features... 1 Other Features... 3 Package Contents... 4 Physical Details... 4 2: BASIC SETUP... 8 Overview... 8 Procedure...

More information

BASIC TCP/IP NETWORKING

BASIC TCP/IP NETWORKING ch01 11/19/99 4:20 PM Page 1 CHAPTER 1 BASIC TCP/IP NETWORKING When you communicate to someone or something else, you need to be able to speak a language that the listener understands. Networking requires

More information

Computer Firewalls. The term firewall was originally used with forest fires, as a means to describe the

Computer Firewalls. The term firewall was originally used with forest fires, as a means to describe the Pascal Muetschard John Nagle COEN 150, Spring 03 Prof. JoAnne Holliday Computer Firewalls Introduction The term firewall was originally used with forest fires, as a means to describe the barriers implemented

More information

ICS 351: Today's plan

ICS 351: Today's plan ICS 351: Today's plan Quiz, on overall Internet function, linux and IOS commands, network monitoring, protocols IPv4 addresses: network part and host part address masks IP interface configuration IPv6

More information

Linux Cluster Security Neil Gorsuch NCSA, University of Illinois, Urbana, Illinois.

Linux Cluster Security Neil Gorsuch NCSA, University of Illinois, Urbana, Illinois. Linux Cluster Security Neil Gorsuch NCSA, University of Illinois, Urbana, Illinois. Abstract Modern Linux clusters are under increasing security threats. This paper will discuss various aspects of cluster

More information

Hands On Activities: TCP/IP Network Monitoring and Management

Hands On Activities: TCP/IP Network Monitoring and Management Hands On Activities: TCP/IP Network Monitoring and Management 1. TCP/IP Network Management Tasks TCP/IP network management tasks include Examine your physical and IP network address Traffic monitoring

More information

Chapter 10 Troubleshooting

Chapter 10 Troubleshooting Chapter 10 Troubleshooting This chapter provides troubleshooting tips and information for your ProSafe Dual WAN Gigabit Firewall with SSL & IPsec VPN. After each problem description, instructions are provided

More information

DSL-G604T Install Guides

DSL-G604T Install Guides Internet connection with NAT...2 Internet connection with No NAT, IP Un-number...6 Port Forwarding...12 Filtering & Firewall Setup...20 Access Control... 21 DMZ Setup... 26 Allow Incoming Ping... 27 How

More information

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials. Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials. CHAPTER 5 OBJECTIVES Configure a router with an initial configuration. Use the

More information

Configuration Guide. DHCP Server. LAN client

Configuration Guide. DHCP Server. LAN client DHCP Server Configuration Guide 4.0 DHCP Server LAN client LAN client LAN client Copyright 2007, F/X Communications. All Rights Reserved. The use and copying of this product is subject to a license agreement.

More information

3.1 RS-232/422/485 Pinout:PORT1-4(RJ-45) RJ-45 RS-232 RS-422 RS-485 PIN1 TXD PIN2 RXD PIN3 GND PIN4 PIN5 T+ 485+ PIN6 T- 485- PIN7 R+ PIN8 R-

3.1 RS-232/422/485 Pinout:PORT1-4(RJ-45) RJ-45 RS-232 RS-422 RS-485 PIN1 TXD PIN2 RXD PIN3 GND PIN4 PIN5 T+ 485+ PIN6 T- 485- PIN7 R+ PIN8 R- MODEL ATC-2004 TCP/IP TO RS-232/422/485 CONVERTER User s Manual 1.1 Introduction The ATC-2004 is a 4 Port RS232/RS485 to TCP/IP converter integrated with a robust system and network management features

More information

Broadband Router User s Manual

Broadband Router User s Manual Broadband Router User s Manual Table of Contents Chapter 1 Introduction...4 1.1 The Broadband Router......4 1.2 Physical Features of Broadband Router...4 1.3 Non-Physical Features of Broadband Router..

More information

Homework 3 TCP/IP Network Monitoring and Management

Homework 3 TCP/IP Network Monitoring and Management Homework 3 TCP/IP Network Monitoring and Management Hw3 Assigned on 2013/9/13, Due 2013/9/24 Hand In Requirement Prepare a activity/laboratory report (name it Hw3_WebSys.docx) using the ECET Lab report

More information

Step-by-Step Guide for Setting Up IPv6 in a Test Lab

Step-by-Step Guide for Setting Up IPv6 in a Test Lab Step-by-Step Guide for Setting Up IPv6 in a Test Lab Microsoft Corporation Published: July, 2006 Author: Microsoft Corporation Abstract This guide describes how to configure Internet Protocol version 6

More information

Load Balancer LB-2. User s Guide

Load Balancer LB-2. User s Guide Load Balancer LB-2 User s Guide TABLE OF CONTENTS 1: INTRODUCTION...1 Internet Features...1 Other Features...3 Package Contents...4 Physical Details...4 2: BASIC SETUP...8 Overview...8 Procedure...8 3:

More information

Network: several computers who can communicate. bus. Main example: Ethernet (1980 today: coaxial cable, twisted pair, 10Mb 1000Gb).

Network: several computers who can communicate. bus. Main example: Ethernet (1980 today: coaxial cable, twisted pair, 10Mb 1000Gb). 1 / 17 Network: several computers who can communicate. Bus topology: bus Main example: Ethernet (1980 today: coaxial cable, twisted pair, 10Mb 1000Gb). Hardware has globally unique MAC addresses (IDs).

More information

BR-6624. Load Balancing Router. Manual

BR-6624. Load Balancing Router. Manual BR-6624 Load Balancing Router Manual TABLE OF CONTENTS 1: INTRODUCTION...1 Internet Features...1 Other Features...3 Package Contents...4 Physical Details...4 2: BASIC SETUP...8 Overview...8 Procedure...8

More information

ClusterLoad ESX Virtual Appliance quick start guide v6.3

ClusterLoad ESX Virtual Appliance quick start guide v6.3 ClusterLoad ESX Virtual Appliance quick start guide v6.3 ClusterLoad terminology...2 What are your objectives?...3 What is the difference between a one-arm and a two-arm configuration?...3 What are the

More information

Application Notes for the Ingate SIParator with Avaya Converged Communication Server (CCS) - Issue 1.0

Application Notes for the Ingate SIParator with Avaya Converged Communication Server (CCS) - Issue 1.0 Avaya Solution & Interoperability Test Lab Application Notes for the Ingate SIParator with Avaya Converged Communication Server (CCS) - Issue 1.0 Abstract These Application Notes describe the configuration

More information

Laboratory guide nº 2

Laboratory guide nº 2 Introduction to Computer Networks (IRC) Licenciatura in Electronics Engineering (LEE) Licenciatura in Communication Networks Engineering (LERC) Laboratory guide nº 2 1 Objectives To familiarize your- self

More information

LAN TCP/IP and DHCP Setup

LAN TCP/IP and DHCP Setup CHAPTER 2 LAN TCP/IP and DHCP Setup 2.1 Introduction In this chapter, we will explain in more detail the LAN TCP/IP and DHCP Setup. 2.2 LAN IP Network Configuration In the Vigor 2900 router, there are

More information

How To Configure A Network Monitor Probe On A Network Wire On A Microsoft Ipv6 (Networking) Device (Netware) On A Pc Or Ipv4 (Network) On An Ipv2 (Netnet) Or Ip

How To Configure A Network Monitor Probe On A Network Wire On A Microsoft Ipv6 (Networking) Device (Netware) On A Pc Or Ipv4 (Network) On An Ipv2 (Netnet) Or Ip 61700600L2-29.3D January 2014 Configuration Guide This configuration guide describes network monitoring and its use on ADTRAN Operating System (AOS) products. This guide contains information about the

More information

Chapter 15: Advanced Networks

Chapter 15: Advanced Networks Chapter 15: Advanced Networks IT Essentials: PC Hardware and Software v4.0 1 Determine a Network Topology A site survey is a physical inspection of the building that will help determine a basic logical

More information

Lab 8.5.3 Configuring the PIX Firewall as a DHCP Server

Lab 8.5.3 Configuring the PIX Firewall as a DHCP Server Lab 8.5.3 Configuring the PIX Firewall as a DHCP Server Objective Scenario Estimated Time: 15 minutes Number of Team Members: Two teams with four students per team. In this lab, students will learn the

More information

Load Balancing Web Proxies Load Balancing Web Filters Load Balancing Web Gateways. Deployment Guide

Load Balancing Web Proxies Load Balancing Web Filters Load Balancing Web Gateways. Deployment Guide Load Balancing Web Proxies Load Balancing Web Filters Load Balancing Web Gateways Deployment Guide rev. 1.4.9 Copyright 2015 Loadbalancer.org, Inc. 1 Table of Contents About this Guide... 3 Appliances

More information

CCNA Discovery 4.0.3.0 Networking for Homes and Small Businesses Student Packet Tracer Lab Manual

CCNA Discovery 4.0.3.0 Networking for Homes and Small Businesses Student Packet Tracer Lab Manual 4.0.3.0 Networking for Homes and Small Businesses Student Packet Tracer Lab Manual This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial

More information

ICS 351: Today's plan. IP addresses Network Address Translation Dynamic Host Configuration Protocol Small Office / Home Office configuration

ICS 351: Today's plan. IP addresses Network Address Translation Dynamic Host Configuration Protocol Small Office / Home Office configuration ICS 351: Today's plan IP addresses Network Address Translation Dynamic Host Configuration Protocol Small Office / Home Office configuration IP address exhaustion IPv4 addresses are 32 bits long so there

More information