Breaking News
Loading...
Showing posts with label ip Address. Show all posts
Showing posts with label ip Address. Show all posts

Sunday, 1 November 2015

How To Bypass School Filters

How To Bypass School Filterstagged:

How To Bypass School Filters






Wanna know how to bypass school filters ? This is step by step tutorial that will help you trough process .

How To Bypass School Filters By Using TOR

1. Download TOR from this LINK
This will be probably blocked , so put the executable on a flash drive at home. It can then be run off the flash drive at school or use a proxy service listed below to access the download page .
2. Once you downloaded TOR extract it to your school computer and start TOR browser
3. Once you started the TOR browser it should appear window with your new IP address and congratulation message .
4. That’s it . You should now be able to bypass school filters

How To Bypass School Filters By Using Proxy Service

There are many proxy services and mostly will be blocked by your school filters . But , in most cases, they cannot block proxies that use SSL (secured connections), eg https://. Here is a list of good proxies that utilize SSL

1. btunnel.com

2. vtunnel.com
If those are blocked , here is the list of 1000 proxy services proxy.org

How To Bypass School Filters By Using Own Proxy Server

1. Find free web hosting service an unblocked computer and upload proxy script . Check this listBest Free Web Hosting
2. In previous article I wrote step by step tutorial that explains How To Create Your Own Proxy Server
3. Type in the address of your Proxy script into your school computer. Here is example of my proxy server http://websecurityexamples.com/proxyserver/ .

How To Bypass School Filters By IP address

Sometimes, a block is only applied to just the name of the website and not the actual address of the website .
1. Go to selfseo.com/find_ip_address_of_a_website.php and find ip address of website that you want to visit .
2. Enter the IP address into the address bar

Monday, 12 October 2015

How to Flush DNS



How to Flush DNS

Most DNS clients cache the results of name resolution requests. This means that the DNS clients
will temporarily store the website names that you have been visiting lately. This process speeds
up name resolution if multiple lookups are done to the same address, such as is common when
browsing the web. Hence, if you visit Yahoo.com second time, the DNS client will already have
the name mapped and hence will retrieve the mapping quickly.
Sometimes a bad DNS entry will be cached and you will need to either flush the DNS cache to
get rid of it, or wait up to 24 hours for it to be dropped from the cache automatically. Given
below is a comprehensive step-by-step process to flush the DNS.
How to Flush DNS in Microsoft Windows
In Microsoft Windows, you can use the command ipconfig /flushdns to flush the DNS resolver
cache. Open the command prompt and type the following:
C:>ipconfig /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.


The above command will completely flush the DNS, deleting any incorrect entries too. You can
also use the command ipconfig /displaydns to view the DNS resolver cache.


Turning Off DNS Caching under Microsoft Windows
If you experience frequent issues with DNS caching under Microsoft Windows, you can disable
client-side DNS caching with either of these two commands: net stop dnscache sc servername stop dnscache This will disable DNS caching until the next reboot. To make the change permanent, use the Service Controller tool or the Services tool to set the DNS Client service startup type to Disabled. You can permanently disable DNS Client by following the below steps:
 Goto Start and click on Run.
 Type Services.msc in the Run command box.
 A window listing all the services will popup. Search for a service called DNS Client.
 Double click on the listed DNS Client service and click Stop. Similarly, you can restart it by clicking Start.
Tuning DNS Caching under Microsoft Windows You can modify the behavior of the Microsoft Windows DNS caching algorithm by setting two registry entries in the HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesDnscacheParameters registry key. The MaxCacheTtl represents the maximum time that the results of a DNS lookup will be cached. The default value is 86,400 seconds. If you set this value to 1, DNS entries will only be cashed for a single second. MaxNegativeCacheTtl represents the maximim time that the results of a failed DNS lookup will be cached. The default value is 900 seconds. If you set this value to 0, failed DNS lookups will not be cached. Flush DNS in Mac OSX In Mac OSX Leopard, you can use the command dscacheutil -flushcache to flush the DNS resolver cache: bash-2.05a$ dscacheutil -flushcache In Mac OSX versions 10.5.1 and before, the command lookupd -flushcache performed the same task: bash-2.05a$ lookupd -flushcache Flush DNS in Linux
In Linux, the nscd daemon manages the DNS cache. To flush the DNS cache, restart the nscd
daemon. To restart the nscd daemon, use the command `/etc/init.d/nscd restart`.

IP how to change...?????????????????????

IP how to change...?????????????????????

Before you can change your IP you need some information. This information includes your IP range, subnet mask, default gateway, dhcp server, and dns servers.


1. Getting your IP range - Getting information about your IP range is not difficult, I recommend using Neo Trace on your own IP. But for my test just look at your IP address, say it's 24.193.110.13 you can definitely use the IP's found between 24.193.110.1 < [new IP] < 24.193.110.255, don't use x.x.x.1 or x.x.x.255. To find your IP simply open a dos/command prompt window and type ipconfig at the prompt, look for "IP Address. . . . . . . . . . . . : x.x.x.x".


2. Subnet Mask, Default Gateway, DHCP Server - These are very easy to find, just open a dos/command prompt window and type 'ipconfig /all' without the ' '. You should see something like this:
Windows IP Configuration:

Host Name . . . . . . . . . . . . . . : My Computer Name Here
Primary Dns Suffix . . . . . . . . . :
Node Type . . . . . . . . . . . . . . .: Unknown
IP Routing Enabled. . . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . . . . . . .: xxxx.xx.x
Description . . . . . . . . . . . . . . . . . . . . : NETGEAR FA310TX Fast Ethernet Adapter (NGRPCI)
Physical Address. . . . . . . . . . . . . . . . . : XX-XX-XX-XX-XX-XX
Dhcp Enabled. . . . . . . . . . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . . . . . . : Yes
IP Address. . . . . . . . . . . . . . . . . . . . . : 24.xxx.xxx.xx
Subnet Mask . . . . . . . . . . . . . . . . . . . .: 255.255.240.0
Default Gateway . . . . . . . . . . . . . . . . . : 24.xxx.xxx.x
DHCP Server . . . . . . . . . . . . . . . . . . . .: 24.xx.xxx.xx
DNS Servers . . . . . . . . . . . . . . . . . . . . : 24.xx.xxx.xxx
24.xx.xxx.xx
24.xx.xxx.xxx
Lease Obtained. . . . . . . . . . . . . . . . . . .:Monday, January 20, 2003 4:44:08 PM
Lease Expires . . . . . . . . . . . . . . . . . . . .:Tuesday, January 21, 2003 3:43:16 AM


This is all the information you will need for now, I suggest you either keep your dos/command prompt window open or copy & paste the information somewhere, to copy right click the window and select text and click once.



III. Changing your IP Address


To change your IP address first pick any IP you like out of your IP range and remember it or write it down. It is usualy a good idea to make sure the IP is dead (except for what we are going to do later on) so just ping it via "ping x.x.x.x" and if it times out then you can use it. Now go to My Computer, then Control Panel. In Control Panel select Network Connections and pick your active connection, probably Local Area Connection or your ISP name. Open that connection by double clicking on the icon in Network Connections, then select Properties under the General Tab. In the new window that pops up select Internet Protocol (TCP/IP) and click properties, it's under the general tab. In this new window select the General tab and choose "Use the following IP address" and for the IP address enter the IP you would like to use (the one you picked from your subnet earlier) and for the Subnet Mask enter the subnet mask you got when your ran ipconfig /all, same goes for the Default Gateway. Now select "Use the following DNS server addresses" and enter the information you got earlier. Now just click OK. Test that it worked, try to refresh a website and if it works you know everything is okay and you are connected. To make sure the change worked type ipconfig again and the IP address should have changed to your new one.



IV. DDoS & DoS Protection


If your firewall shows that you are being DDoSed, this is usually when you are constantly getting attempted UDP connections several times a second from either the same IP address or multiple IP addresses (DDoS), you can protect your self by changing your IP address via the method I described above.



V. Web servers & Other Services


If you know someone on your IP range is running a web server and he or she has pissed you off or you just like messing around you can "steal" their IP address so any DNS going to that IP will show your site instead because you would be running a web server yourself.

To "steal" an IP is to basically use the changing IP address method above and picking an IP that someone that is running a web server has in use. Often you will be able to keep that IP at least for some time, other times you wont be able to use it so just keep trying until it works. You your self will need to have a web server on the same port with your message. You can do this with other services too. You can also DoS or DDoS the IP address you are trying to steal to kick him off the net, but I don't recommend as its pretty illegal, an your ISP will get pissed ;)

The basis of protection for Windows users

The basis of protection for Windows users

How to Block an IP Address Using the Windows Firewall

An IP address is the numeric label or sequence of numbers that is assigned to a computer or device used on the Internet or a local area network. It is a means of identification and determining the user's address online. When an IP address is blocked, network connections to or from that address are not permitted. An IP address can only be blocked through a firewall that is installed on the computer. Windows users have two options for blocking an IP address: 1) Through the built-in Windows firewall or 2) by using third party software such as Norton Internet Security. If a different firewall is installed on the computer, the steps will be similar to those used for Norton or the built-in firewall to block an IP address.

Step 1 – Select “Start” and “Settings” then open the “Control Panel.”
Step 2 – Double click the “Windows Firewall” icon on the subsequently displayed screen.
Step 3 – Choose “Inbound Rules” then click “New Rule.”
Step 4 – Click the “Custom” radio button then click “Next.”
Step 5 – Select “All Programs” then click “Next” twice in a row.
Step 6 – Pick the “These IP Addresses” menu option and click “Add.”
Step 7 – Enter the IP address to be blocked in the text field, then click “Ok” and “Next.”
Step 8 – Choose the “Block the Connection” menu option then enter a name for the new firewall rule.
Step 9 – Click “Next” and “Finish” to complete blocking the IP address.
How to Block an IP Address on Norton Internet Security
Step 1 – Open the Norton Internet Security Control Panel by either double clicking its icon on the computer's desktop or by selecting from the Windows System Tray.
Step 2 – Click “Settings” under the “Internet” menu.
Step 3- Select the “Advanced Settings” and “Smart Firewall” menu options then click “General Rules” and “Add.”
Step 4 – Click “Block” then “Next.”
Step 5 – Choose “Connections to and from other computers” then “Next.”
Step 6 – Select “Only computers and sites listed below” then click “Add.”
Step 7 – Enter the IP address to be blocked in the subsequently displayed text field, then click “Ok” and “Next” and the IP address will be blocked.

TestinsideCCNA640-802 v12


TestinsideCCNA640-802 v12


TestinsideCCNA640-802 v12: Download here:
http://rapidshare.com/#!download|167tl3|66726333|TestInside_CCNA640-802_v12.rar|5295

Free Speed Test

How Do I Configure a Backup for an Easy VPN Connection?

How Do I Configure a Backup for an Easy VPN Connection?



To configure a backup for an Easy VPN Remote connection, your router must have an ISDN, async, or analog modem interface available for the backup.

If the ISDN, async, or analog modem interface has not been configured, follow these steps:


1.From the left frame, click Interfaces and Connections.

2.Click the Create Connection tab.

3.Choose an ISDN, async, or analog modem interface from the list.

4.Click the Create New Connection button and use the wizard to configure the new interface

5.In the appropriate wizard window, set the new interface as a backup for an Easy VPN Remote connection.

If the ISDN, async, or analog modem interface has been configured, follow these steps:

1.From the left frame, click Interfaces and Connections.

2.Click the Edit Interface/Connection tab.

3.Choose an ISDN, async, or analog modem interface from the list of configured interfaces.

4.Click the Edit button.

5.Click the Backup tab and configure the backup for an Easy VPN Remote connection.

6.When you have finished configuring the backup, click OK.

How Do I Create a VPN to More Than One Site?

How Do I Create a VPN to More Than One Site?


You can use Cisco SDM to create multiple VPN tunnels on one interface on your router. Each VPN tunnel will connect the selected interface on your router to a different subnet at the destination router. You can configure multiple VPN tunnels to connect to the same interface but to different subnets on the destination router, or you can configure multiple VPN tunnels that will connect to different interfaces on the destination router.

First, you must create the initial VPN tunnel. The steps below describe how to create the initial VPN tunnel. If you have already created your first VPN tunnel and need to add an additional tunnel to the same interface, skip the first procedure and perform the steps in the next procedure in this help topic.
Create the initial VPN tunnel:

1. From the left frame, select VPN.
2. Select Create a Site-to-Site VPN .
3. Click Launch the Selected Task.

The VPN Wizard starts.

1. Click Quick Setup.
2. Click Next>.
3. From the Select the Router Interface for this VPN Connection field, choose the interface on the source router on which to create the VPN tunnel. This is the interface connected to the Internet on the Local system in the Use Case Scenario diagram.
4. In the Peer Identity field, enter the IP address of the destination router interface.
5. In the Authentication fields, enter and reenter the pre-shared key that the two VPN peers will use.
6. In the Source field, select the interface that connects to the subnet whose IP traffic you want to protect. This is the Local router in the Use Case Scenario diagram, and is usually an interface connected to the LAN.
7. In the Destination fields, enter the IP address and subnet mask of the destination router.
8. Click Next>.
9. Click Finish.

Create an Additional Tunnel from the Same Source Interface

After you have created the initial VPN tunnel, follow these steps to create an additional tunnel from the same source interface to a different destination interface or destination subnet:

1. From the left frame, select VPN.
2. Select Create a Site-to-Site VPN.
3. Click Launch the Selected Task.

The VPN Wizard starts.

1. Click Quick Setup.
2. Click Next>.
3. From the Select the Router Interface for this VPN Connection field, choose the same interface that you used to create the initial VPN connection.
4. In the Peer Identity field, enter the IP address of the destination router interface. You can enter the same IP address that you entered when you created the initial VPN connection. This indicates that this second VPN connection should use the same interface on the destination router as the initial VPN connection. If you do not want both VPN connections to connect to the same destination interface, enter the IP address of a different interface on the destination router.
5. In the Authentication fields, enter and reenter the pre-shared key that the two VPN peers will use.
6. In the Source field, select the same interface used to create the initial VPN connection.
7. In the Destination fields, you have the following options:
8. If, in the Peer Identity field, you entered the IP address of a different interface on the destination router and want to protect the IP traffic coming from a specific subnet, enter the IP address and subnet mask of that subnet in the appropriate fields.
9. If you entered the same IP address in the Peer Identity field as you used for the initial VPN connection, indicating that this VPN tunnel will use the same router interface as the initial VPN tunnel, then enter the IP address and subnet mask of the new subnet that you want to protect in the appropriate fields.
10. Click Next>.
11. Click Finish.

Cisco Systems' Private VLANs

  Cisco Systems' Private VLANs:

Scalable Security in a Multi-Client Environment

Abstract

This document describes a mechanism to achieve device isolation
through the application of special Layer 2 forwarding constraints.
Such a mechanism allows end devices to share the same IP subnet while
being Layer 2 isolated, which in turn allows network designers to
employ larger subnets and so reduce the address management overhead.

Some of the numerous deployment scenarios of the aforementioned
mechanism (which range from data center designs to Ethernet-to-the-
home-basement networks) are mentioned in the following text to
exemplify the mechanism's possible usages; however, this document is
not intended to cover all such deployment scenarios nor delve into
their details.

Status of This Memo

This document is not an Internet Standards Track specification; it is
published for informational purposes.

This is a contribution to the RFC Series, independently of any other
RFC stream. The RFC Editor has chosen to publish this document at
its discretion and makes no statement about its value for
implementation or deployment. Documents approved for publication by
the RFC Editor are not a candidate for any level of Internet
Standard; see Section 2 of RFC 5741.

Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
http://www.rfc-editor.org/info/rfc5517.


Copyright Notice

Copyright (c) 2010 IETF Trust and the persons identified as the
document authors. All rights reserved.

This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document.

Table of Contents

1. Introduction ....................................................2
1.1. Security Concerns with Sharing a VLAN ......................3
1.2. The Traditional Solution and Its Related Problems ..........3
2. Private VLANs Architecture ......................................4
2.1. VLAN Pairings and Their Port-Related Characteristics .......7
3. Extending Private VLANs across Switches .........................9
4. A More Flexible IP Addressing Scheme ............................9
5. Routing Considerations .........................................10
6. Security Considerations ........................................10
7. Acknowledgements ...............................................11
8. References .....................................................11
8.1. Normative References ......................................11
8.2. Informative References ....................................11

1. Introduction

In an Ethernet switch, a VLAN is a broadcast domain in which hosts
can establish direct communication with one another at Layer 2. If
untrusted devices are introduced into a VLAN, security issues may
arise because trusted and untrusted devices end up sharing the same
broadcast domain.

The traditional solution to this kind of problem is to assign a
separate VLAN to each user concerned about Layer 2 security issues.
However, the IEEE 802.1Q standard [802.1Q] specifies that the VLAN ID
field in an Ethernet frame is 12 bits wide. That allows for a
theoretical maximum of 4094 VLANs in an Ethernet network (VLAN
numbers 0 and 4095 are reserved). If the network administrator
assigns one VLAN per user, then that equates to a maximum of 4094
users that can be supported. The private VLANs technology described
in this memo addresses this scalability problem by offering more
granular and more flexible Layer 2 segregation, as explained in the
following sections.


1.1. Security Concerns with Sharing a VLAN

Companies who have Internet presence can either host their servers in
their own premises or, alternatively, they can locate their servers
at the Internet Service Provider's premises. A typical ISP would
have a server farm that offers web-hosting functionality for a number
of customers. Co-locating the servers in a server farm offers ease
of management but, at the same time, may raise security concerns.

Let us assume that the ISP puts all the servers in one big VLAN.
Servers residing in the same VLAN can listen to Layer 2 broadcasts
from other servers. Once a server learns the Media Access Control
(MAC) address associated to the IP address of another computer in the
same VLAN, it can establish direct Layer 2 communication with that
device without having to go through a Layer 3 gateway/firewall. If,
for example, an attacker gets access to one of the servers, he or she
can use that compromised host to launch an attack on other servers in
the server farm. To protect themselves from malicious attacks, ISP
customers want their machines to be isolated from other machines in
the same server farm.

The security concerns become even more apparent in metropolitan area
networks. Metropolitan Service Providers may want to provide Layer 2
Ethernet access to homes, rental communities, businesses, etc. In
this scenario, the subscriber next door could very well be a
malicious network user.

It is therefore very important to offer Layer 2 traffic isolation
among customers. Customer A would not want his Layer 2 frames being
broadcast to customer B, who happens to be in the same VLAN. Also,
customer A would not want customer B to bypass a router or a firewall
and establish direct Layer 2 communication with him/her.

1.2. The Traditional Solution and Its Related Problems

The traditional solution would be to assign a separate VLAN to each
customer. That way, each user would be assured of Layer 2 isolation
from devices belonging to other users.

However, with the VLAN-per-customer model, if an ISP wanted to offer
web-hosting services to, say, 4000 customers, it would consume 4000
VLANs. Theoretically, the maximum number of VLANs that an 802.1Q-
compliant networking device can support is 4094. In reality, many
devices support a much smaller number of active VLANs. Even if all
devices supported all 4094 VLANs, there would still be a scalability
problem when the 4095th customer signed up.


A second problem with assigning a separate VLAN per customer is
management of IP addresses. Since each VLAN requires a separate
subnet, there can be potential wastage of IP addresses in each
subnet. This issue has been described by RFC 3069 [RFC3069] and will
not be discussed in detail in this document.

2. Private VLANs Architecture

The private VLANs architecture is similar to but more elaborate than
the aggregated VLAN model proposed in RFC 3069. The concepts of
'super VLAN' and 'sub VLAN' used in that RFC are functionally similar
to the concepts of 'primary VLAN' and 'secondary VLAN' used in this
document.

On the other hand, the private VLANs technology differs from the
mechanism described in [RFC4562] because instead of using a MAC-
address-based 'forced forwarding' scheme it uses a VLAN-based one.

A regular VLAN is a single broadcast domain. The private VLANs
technology partitions a larger VLAN broadcast domain into smaller
sub-domains. So far, two kinds of special sub-domains specific to
the private VLANs technology have been defined: an 'isolated' sub-
domain and a 'community' sub-domain. Each sub-domain is defined by
assigning a proper designation to a group of switch ports.

Within a private VLAN domain, three separate port designations exist.
Each port designation has its own unique set of rules, which regulate
a connected endpoint's ability to communicate with other connected
endpoints within the same private VLAN domain. The three port
designations are promiscuous, isolated, and community.

An endpoint connected to a promiscuous port has the ability to
communicate with any endpoint within the private VLAN. Multiple
promiscuous ports may be defined within a single private VLAN domain.
In most networks, Layer 3 default gateways or network management
stations are commonly connected to promiscuous ports.

Isolated ports are typically used for those endpoints that only
require access to a limited number of outgoing interfaces on a
private-VLAN-enabled device. An endpoint connected to an isolated
port will only possess the ability to communicate with those
endpoints connected to promiscuous ports. Endpoints connected to
adjacent isolated ports cannot communicate with one another. For
example, within a web-hosting environment, isolated ports can be used
to connect hosts that require access only to default gateways.

A community port is a port that is part of a private VLAN community,
which is a grouping of ports connected to devices belonging to the



same entity (for example, a group of hosts of the same ISP customer
or a pool of servers in a data center). Within a community,
endpoints can communicate with one another and can also communicate
with any configured promiscuous port. Endpoints belonging to one
community cannot instead communicate with endpoints belonging to a
different community or with endpoints connected to isolated ports.

The aforementioned three port designations directly correspond to
three different VLAN types (primary, isolated, and community) with
well-defined, port-related characteristics, which are described in
detail in Section 2.1 below.

Figure 1 below illustrates the private VLAN model from a switch port
classification perspective.

-----------
| R |
-----------
|
|
|
----------------------------------------
| p1 |
| |
=====| t1 |
| switch |
| |
| |
|i1 i2 c1 c2 |
----------------------------------------
| | | |
| | | |
| | | |
A B C D

A, B - Isolated devices
C, D - Community devices
R - Router (or other L4-L7 device)
i1, i2 - Isolated switch ports
c1, c2 - Community switch ports
p1 - Promiscuous switch port
t1 - Inter-switch link port (a VLAN-aware port)

Figure 1. Private VLAN classification of switch ports

With reference to Figure 1, each of the port types is described
below.



Isolated ports: An isolated port, e.g., i1 or i2, cannot talk to any
other port in the private VLAN domain except for promiscuous ports
(e.g., p1). If a customer device needs to have access only to a
gateway router, then it should be attached to an isolated port.

Community ports: A community port, e.g., c1 or c2, is part of a group
of ports. The ports within a community can have Layer 2
communications with one another and can also talk to any
promiscuous port. If an ISP customer has, say, 2 devices that
he/she wants to be isolated from other customers' devices but to
be able to communicate among themselves, then community ports
should be used.

Promiscuous ports: As the name suggests, a promiscuous port (p1) can
talk to all other types of ports. A promiscuous port can talk to
isolated ports as well as community ports and vice versa. Layer 3
gateways, DHCP servers, and other 'trusted' devices that need to
communicate with the customer endpoints are typically connected
via promiscuous ports.

Please note that isolated, community, and promiscuous ports can
either be access ports or hybrid/trunk ports (according to the
terminology presented in Annex D of the IEEE 802.1Q specification, up
to its 2004 revision).

The table below summarizes the communication privileges between the
different private VLAN port types.

---------------------------------------------------------------
| | isolat-| promis-| commu-| commu-| interswitch |
| | ted | cuous | nity1 | nity2 | link port |
---------------------------------------------------------------
| isolated | deny | permit | deny | deny | permit |
---------------------------------------------------------------
| promiscuous | permit | permit | permit| permit| permit |
---------------------------------------------------------------
| community1 | deny | permit | permit| deny | permit |
---------------------------------------------------------------
| community2 | deny | permit | deny | permit| permit |
---------------------------------------------------------------
| interswitch | | | | | |
| link port | deny(*)| permit | permit| permit| permit |
---------------------------------------------------------------

Table 1

(*) Please note that this asymmetric behavior is for traffic
traversing inter-switch link ports over an isolated VLAN only.



Traffic from an inter-switch link port to an isolated port will
be denied if it is in the isolated VLAN. Traffic from an inter-
switch link port to an isolated port will be permitted if it is
in the primary VLAN (see below for the different VLAN
characteristics).

N.B.: An inter-switch link port is simply a regular port that
connects two switches (and that happens to carry two or more
VLANs).

2.1. VLAN Pairings and Their Port-Related Characteristics

In practice, the Layer 2 communication constraints described in the
table above can be enforced by creating sub-domains within the same
VLAN domain. However, a sub-domain within a VLAN domain cannot be
easily implemented with only one VLAN ID. Instead, a mechanism of
pairing VLAN IDs can be used to achieve this notion. Specifically,
sub-domains can be represented by pairs of VLAN numbers:

Vp is the primary VLAN ID ------
Vs is the secondary VLAN ID | Vp |
------
where Vs can be: / \
- Vi (an isolated VLAN) / \
- Vc (a community VLAN) / \
------ ------
| Vi | | Vc |
------ ------


Figure 2. A private VLAN domain can be
implemented with one or more VLAN ID pairs.

A private VLAN domain is built with at least one pair of VLAN IDs:
one (and only one) primary VLAN ID (Vp) plus one or more secondary
VLAN IDs (Vs). Secondary VLANs can be of two types: isolated VLANs
(Vi) or community VLANs (Vc).

A primary VLAN is the unique and common VLAN identifier of the whole
private VLAN domain and of all its VLAN ID pairs.

An isolated VLAN is a secondary VLAN whose distinctive characteristic
is that all hosts connected to its ports are isolated at Layer 2.
Therefore, its primary quality is that it allows a design based on
private VLANs to use a total of only two VLAN identifiers (i.e., a
single private VLAN pairing) to provide port isolation and serve any
number of end users (vs. a traditional design in which one separate
plain VLAN ID would be assigned to each port).



A community VLAN is a secondary VLAN that is associated to a group of
ports that connect to a certain "community" of end devices with
mutual trust relationships.

While only one isolated VLAN is allowed in a private VLAN domain,
there can be multiple distinct community VLANs.

Please note that this VLAN pairing scheme simply requires that all
traffic transported within primary and secondary VLANs be tagged
according to the IEEE 802.1Q standard (see for example [802.1Q],
Section B.1.3), with at most a single standard VLAN tag. No special
double-tagging is necessary due to the 1:1 correspondence between a
secondary VLAN and its associated primary VLAN.

(Also note that this document makes use of the "traditional" VLAN
terminology, whereas the IEEE 802.1ag standard [802.1ag] amends key
sections of IEEE 802.1Q-2005 to make the distinction between "VLANs"
and "VLAN IDs" so that every "VLAN" can be assigned one or more VLAN
IDs, similarly to the pairing scheme described in this document.)

The ports in a private VLAN domain derive their special
characteristics (as described in Section 2) from the VLAN pairing(s)
they are configured with. In particular, a promiscuous port is a
port that can communicate with all other private VLAN port types via
the primary VLAN and any associated secondary VLANs, whereas isolated
or community ports can communicate over their respective secondary
VLANs only.

For example, with reference to Figure 1, a router R connected to the
promiscuous port can have Layer 2 communication with a device A
connected to an isolated port and also with a device C connected to a
community port. Devices C and D can also have Layer 2 communication
between themselves since they are part of the same community VLAN.
However, devices A and B cannot communicate at Layer 2 due to the
special port segregation property of the isolated VLAN. Also,
devices A and C cannot communicate at Layer 2 since they belong to
different secondary VLANs.

The impact of these enforced forwarding restrictions is two-fold.
Firstly, service providers can assign multiple customers to the same
isolated VLAN, thereby conserving VLAN IDs. Secondly, end users can
be assured that their Layer 2 traffic cannot be sniffed by other end
users sharing the same isolated VLAN or connected to a different
secondary VLAN.


3. Extending Private VLANs across Switches

Some switch vendors have attempted to provide a port isolation
feature within a VLAN by implementing special logic at the port
level. However, when implemented at the port level, the isolation
behavior is restricted to a single switch.

When a VLAN spans multiple switches, there is no standard mechanism
to propagate port-level isolation information to other switches and,
consequently, the isolation behavior fails in other switches.

In this document, the proposal is to implement the port isolation
information implicitly at the VLAN level. A particular VLAN ID can
be configured to be the isolated VLAN. All switches in the network
would give special "isolated VLAN" treatment to frames tagged with
this particular VLAN ID. Thereby, the isolated VLAN behavior can be
maintained consistently across all switches in a Layer 2 network.

In general, isolated, community, and primary VLANs can all span
multiple switches, just like regular VLANs. Inter-switch link ports
need not be aware of the special VLAN type and will carry frames
tagged with these VLANs just like they do any other frames.

One of the objectives of the private VLANs architecture is to ensure
that traffic from an isolated port in one switch does not reach
another isolated or community port in a different switch even after
traversing an inter-switch link. By implicitly embedding the
isolation information at the VLAN level and by transporting it along
with the packet, it is possible to maintain a consistent behavior
throughout the network. Therefore, the mechanism discussed in
Section 2, which will restrict Layer 2 communication between two
isolated ports in the same switch, will also restrict Layer 2
communication between two isolated ports in two different switches.

4. A More Flexible IP Addressing Scheme

The common practice of deploying multiple VLANs in a network for
security reasons and of allocating a subnet to each VLAN has led to a
certain number of inefficiencies in network designs, such as the
suboptimal utilization of the IP addressing space (as exemplified in
the introduction of RFC 3069 [RFC3069]). Moreover, each subnet
requires addresses to be set aside for internetworking purposes (a
subnetwork address, a directed broadcast address, default gateway
address(es), etc.). So a high number of used VLANs traditionally
translates into a significant number of special addresses to be
consumed.


On the other hand, in a private VLAN domain, all members can share a
common address space that is part of a single subnet associated to
the primary VLAN. An end device can be assigned an IP address
statically or by using a DHCP server connected to a promiscuous port.
Since IP addresses are no longer allocated on a smaller subnet basis
but are assigned from a larger address pool shared by all members in
the private VLAN domain, address allocation becomes much more
efficient: fewer addresses are consumed for internetworking purposes,
while most of the address space is allotted to end devices, leaving
ample flexibility in the way available addresses are (re-)assigned.

5. Routing Considerations

The entire private VLANs architecture confines secondary VLANs within
the 2nd layer of the OSI model. With reference to Figure 2, the
secondary VLANs are internal to a private VLAN domain. Layer 3
entities are not directly aware of their existence: to them it
appears as if all the end devices are part of the primary VLAN.

With reference to Figure 1, the isolation behavior between devices A
and B is at the Layer 2 level only. Devices A and B can still
communicate at the Layer 3 level via the router R. Since A and B are
part of the same subnet, the router assumes that they should be able
to talk directly to each other. That however is prevented by the
isolated VLAN's specific behavior. So, in order to enable A and B to
communicate via the router, a proxy-ARP-like functionality needs to
be supported on the router interface.

With regard to the specific version of the IP protocol in use, all
routing considerations apply to both IPv4 and IPv6 for the case of
unicast traffic. On the other hand, due to their complexity,
considerations about multicast bridging and routing within a private
VLAN domain transcend the scope of this introductory document, and
are therefore omitted.

6. Security Considerations

In a heterogeneous Layer 2 network that is built with switches from
multiple vendors, the private VLAN feature should be supported and
configured on all the switches. If a switch S in that network does
not support this feature, then there may be undesired forwarding of
packets, including permanent flooding of Layer 2 unicast frames.
That is because switch S is not aware of the association between
primary and secondary VLANs and consequently cannot apply the
segregation rules and constraints characteristic of the private VLANs
architecture (an example of one such constraint is explained in
[802.1Q], Section B.1.3). This impact is limited to traffic within
the private VLAN domain and will not affect the regular Layer 2
forwarding behavior on other VLANs.

If the private VLAN feature is properly deployed, it can be used at
Layer 2 to segregate individual users or groups of users from each
other: this segregation allows a network designer to more effectively
constrain Layer 2 forwarding so as to, for instance, block or contain
unwanted inter-device communication like port scans or Address
Resolution Protocol (ARP) poisoning attacks.

7. Acknowledgements

Many people have contributed to the private VLANs architecture. We
would particularly like to thank, in alphabetical order, Senthil
Arunachalam, Jason Chen, Tom Edsall, Michael Fine, Herman Hou, Kannan
Kothandaraman, Milind Kulkarni, Heng-Hsin Liao, Tom Nosella, Prasanna
Parthasarathy, Ramesh Santhanakrishnan, Mukundan Sudarsan, Charley
Wen, and Zhong Xu for their significant contributions.

8. References

8.1. Normative References

[802.1Q] Institute of Electrical and Electronics Engineers,
"Virtual Bridged Local Area Networks", IEEE Standard
802.1Q, 2005 Edition, May 2006.

[802.1ag] Institute of Electrical and Electronics Engineers,
"Connectivity Fault Management", IEEE Standard 802.1ag,
2007 Edition, December 2007.

8.2. Informative References

[RFC3069] McPherson, D. and B. Dykes, "VLAN Aggregation for
Efficient IP Address Allocation", RFC 3069, February 2001.

[RFC4562] Melsen, T. and S. Blake, "MAC-Forced Forwarding: A Method
for Subscriber Separation on an Ethernet Access Network",
RFC 4562, June 2006.

How To Configure DNS Server On A Cisco Router

How To Configure DNS Server On A Cisco Router

The DNS protocol is used to resolve FQDN (Fully Qualified Domain Names) to IP addresses around the world. This allows us to successfully find and connect to Internet websites and services no matter where they are. Its usefulness, however, doesn't stop there: local company and private networks also rely on DNS to operate efficiently and correctly.
In many cases, where a local DNS server is not available, we are forced to either use our ISP's DNS servers or some public DNS server, however, this can sometimes prove troublesome. Today, small low-end routers have the ability to integrate DNS functionality, making life easier, but so do Cisco routers - they simply have to be setup and you're done.
This article will show you how to configure your Cisco router to provide DNS services to your network, and make all clients use it as a DNS server. Our easy to follow step-by-step process ensures you'll understand the process and have it running within minutes.

Example Scenario

Consider the following network diagram. This is our example network, we'd like to enable the DNS Service so our workstations can properly resolve Internet domains but also local network names.

First step is to enable the DNS service on the router.


Next, we need to configure the router with a public name-server, this will force the router to perform recursive DNS lookups, in other words, for every request it receives from our
workstations the router will try to find the answer by asking as many DNS servers it needs, and finally return with an answer.


The Cisco IOS will allow you to enter up to 6 different name servers (essentially DNS servers). Usually you would use your ISP's DNS server to ensure you have quick responses, then place a few free public DNS servers such as the ones above. This will ensure that you'll get a DNS response from either your ISP or public DNS servers.
Next step is to configure your DNS server with the host names of your local network, this way when Alan's PC trys to ping or connect to Wayne, the router will successfully resolve its netbios name to the appropriate IP address.


If you now try to ping 'wayne' directly from your router's CLI prompt, you should receive an answer:


At this point, you can configure your workstations to use your router's IP address as the primary DNS server.


Article Summary
We've covered how a Cisco router can be used as a basic DNS server to enable network clients to perform DNS queries for the local network and Internet.
Future articles in DNS will cover more advanced configurations, including full domain resource records, DNS load balancing and more.
If you have found the article useful, we would really appreciate you sharing it with others by using the provided services on the top left corner of this article. Sharing our articles takes only a minute of your time and helps Firewall.cx reach more people through such services.

The Defense Advance Research Projects Agency (DARPA) originally developed Transmission Control Protocol/Internet Protocol (TCP/IP)

The Defense Advance Research Projects Agency (DARPA) originally developed Transmission Control Protocol/Internet Protocol (TCP/IP)

The Defense Advance Research Projects Agency (DARPA) originally developed Transmission Control Protocol/Internet Protocol (TCP/IP) to interconnect various defense department computer networks. The Internet, an international Wide Area Network, uses TCP/IP to connect government and educational institutions across the world. TCP/IP is also in widespread use on commercial and private networks. The TCP/IP suite includes the following protocols:

Physical



Data Link Layer
ARP/RARP: Address Resolution Protocol/Reverse Address
DCAP: Data Link Switching Client Access Protocol

Network Layer
DHCP: Dynamic Host Configuration Protocol
DVMRP :Distance Vector Multicast Routing Protocol
ICMP/ICMPv6: Internet Control Message Protocol
IGMP: Internet Group Management Protocol
IP: Internet Protocol version 4
IPv6: Internet Protocol version 6
MARS: Multicast Address Resolution Server
PIM: Protocol Independent Multicast-Sparse Mode (PIM-SM)
RIP2: Routing Information Protocol
RIPng: for IPv6 Routing Information Protocol for IPv6
RSVP: Resource ReSerVation setup Protocol
VRRP: Virtual Router Redundancy Protocol

Transport Layer
ISTP:
Mobile: IP Mobile IP Protocol
RUDP: Reliable UDP
TALI: Transport Adapter Layer Interface
TCP: Transmission Control Protocol
UDP: User Datagram Protocol
Van: Jacobson compressed TCP
XOT: X.25 over TCP

Session Layer
BGMP: Border Gateway Multicast Protocol
Diameter:
DIS: Distributed Interactive Simulation
DNS: Domain Name Service
ISAKMP/IKE: Internet Security Association and Key Management Protocol and
Internet Key Exchange Protocol
iSCSI: Small Computer Systems Interface
LDAP: Lightweight Directory Access Protocol
MZAP: Multicast-Scope Zone Announcement Protocol
NetBIOS/IP: NetBIOS/IP for TCP/IP Environment

Application Layer
COPS: Common Open Policy Service
FANP: Flow Attribute Notification Protocol
Finger: User Information Protocol
FTP: File Transfer Protocol
HTTP: Hypertext Transfer Protocol
IMAP4: Internet Message Access Protocol rev 4
IMPPpre/IMPPmes: Instant Messaging and Presence Protocols
IPDC: IP Device Control
IRC: ·Internet Relay Chat Protocol
ISAKMP: Internet Message Access Protocol version 4rev1
ISP:
NTP: Network Time Protocol
POP3: Post Office Protocol version 3
Radius: Remote Authentication Dial In User Service
RLOGIN: Remote Login
RTSP: Real-time Streaming Protocol
SCTP: Stream Control Transmision Protocol
S-HTTP: Secure Hypertext Transfer Protocol
SLP: Service Location Protocol
SMTP: Simple Mail Transfer Protocol
SNMP: Simple Network Management Protocol
SOCKS: Socket Secure (Server)
TACACS+: Terminal Access Controller Access Control System
TELNET: TCP/IP Terminal Emulation Protocol
TFTP: Trivial File Transfer Protocol
WCCP: Web Cache Coordination Protocol
X-Window: X Window

Routing
BGP-4: Border Gateway Protocol
EGP: Exterior Gateway Protocol
EIGRP: Enhanced Interior Gateway Routing Protocol
HSRP: Cisco Hot Standby Router Protocol
IGRP: Interior Gateway Routing
NARP: NBMA Address Resolution Protocol
NHRP: Next Hop Resolution Protocol
OSPF: Open Shortest Path First
TRIP: Telephony Routing over IP

Tunneling
ATMP: Ascend Tunnel Management Protocol
L2F: The Layer 2 Forwarding Protocol
L2TP: Layer 2 Tunneling Protocol
PPTP: Point to Point Tunneling Protocol

Security
AH: Authentication Header
ESP: Encapsulating Security Payload
TLS: Transport Layer Security Protocol The

TCP/IP suite is illustrated here in relation to the OSI model:
Click the map to see more details.

Configuring NTP On A Cisco Router

Configuring NTP On A Cisco Router

Network Time Protocol (NTP) is a vital service not only for Cisco devices but almost every network device. Any computer-based device needs to be accurately synchronised with a reliable time source such as an NTP server.
When it comes to Cisco routers, obtaining the correct time is extremely important because a variety of services depend on it. The logging service shows each log entry with the date and time - very critical if you're trying to track a specific incident or troubleshoot a problem.
Generally, most Cisco routers have two clocks (most people are unaware of this!): a battery-powered hardware clock, referenced as the 'calendar' in the IOS CLI, and a software clock, referenced as the 'clock' in the IOS CLI.
The software clock is the primary source for time data and runs from the moment the system is up and running. The software clock can be updated from a number of sources:
• NTP Server
• SNTP (Simple NTP)
• VINES Time Source
• Hardware clock (built into the router)

Because the software clock can be configured to be updated from an external source, it is considered more accurate in comparison to the hardware clock. The hardware clock can be configured to be updated from the software clock.

Example Scenario
This article will show you how to configure your Cisco router to synchronise its software clock from external sources such as NTP servers. We will also show you how to configure your router to act as an NTP server for your internal network devices, ensuring all devices are synchronised.
First example involves setting up the router to request NTP updates and synchronise itself from a public NTP server. This will ensure the router's time is constantly synchronised, however it will not act as an NTP server for internal hosts:
We'll need to configure the router to resolve FQDN using our ISP's name server:
Now we instruct our Cisco router to obtain its updates from the public NTP server.
As soon we issue the command, the router will resolve the FQDN into an ip address and begin its synchronisation. Right after issuing the command, we can verify the router is correctly configured and awaiting synchronisation:
The 'show ntp associations' command shows that the system is configured (~) to synchronise with our selected NTP server, however, it is not yet synchronised. When it is, expect to see the star (*) symbol in front of the tilde (~). The 'ref. clock' column shows the IP address of the NTP server from which our public server (1.gr.pool.ntp.org) is synchronising.
It is also worth noting the column named 'st' which is equal to two (2). This represents the stratum level. The higher the stratum, the closer to the Atomic clock source we are. As a general rule, always try to synchronise with a server that has a low stratum.
The 'show ntp status' command confirms that we are yet to be synchronised with the NTP server as it clearly states that the 'clock is unsynchronised' and also shows us the current system time: 1st of Jan. 1900.
After a couple of minutes, we re-visit the CLI prompt and re-issue the commands with the following results:
Looking at the new output, we can see that our Cisco router is now synchronising with the configured peer (*) - public NTP server. Polling of the public NTP server will occur every 64 seconds, as shown in the command output.
The 'show ntp status' command also confirms the synchronisation, however, notice that the router has set its stratum level to 3. This is expected as the reference is stratum 2. The time is now correctly shown (01:17:15.562 Athens Sun Apr 19 2009).

Synchronising Software clock and Hardware clock
Here we'll see how in fact the software and hardware clocks on a Cisco router can have different times and how we can synchronise them between each other.
The following two commands show the difference in time between the two clocks on our Cisco router:
While the difference is small, we want to keep everything in our network synchronised as precisely as possible.
Keep in mind that 'show clock' refers to the software clock and 'show calendar' refers to the hardware clock.
To synchronise the two clocks all we need to do is issue the following command:
The 'ntp update-calendar' forces the hardware clock to synchronise with the system's software clock. After a couple of minutes, we check to see if the two clocks have synchronised:
We can see now that both clocks are accurately synchronised.

Configuring The System as an Authoritative NTP Server
If you want your system to become an authoritative NTP server from which other internal routers or machines can synchronise, you can achieve this with the following command:
The router now acts as an NTP server and is able to respond to internal clients NTP requests. Checking the 'ntp association' will reveal that the router is obtaining its time synchronisation from itself:
Troubleshooting and Monitoring NTP Status
Troubleshooting NTP messages and events is important when you are trying to verify everything is working correctly. You might notice that your Cisco router is not able to create a peer connection with a configured NTP server or your internal LAN clients might not be able to synchronise with your Cisco router; In any case, knowing how to troubleshoot NTPs is something every engineer must be aware of.
Thankfully Cisco provides a number of options that allow you to troubleshoot many aspects of your NTP service.
The most useful debug commands are the 'debug ntp events', 'debug ntp adjust' and 'debug ntp core'. These three commands provide enough debugging to help you troubleshoot problems you might encounter.
Closing, if you would like more information on the ntp associations created by your router you can try the following command:
The 'show ntp associations detail' command will provide much information on the association created with the NTP servers. This is most helpful when you see you are unable to create an association with an NTP server.

Article Summary
This article provided an insight to NTP configuration on Cisco routers. We analysed why the NTP service is important and how it can be used to keep every node in a network synchronised. We examined different methods of NTP synchronisation and provided a fairly in-depth analysis.
If you have found the article useful, we would really appreciate you sharing it with others by using the provided services on the top left corner of this article. Sharing our articles takes only a minute of your time and helps Firewall.cx reach more people through such services.