Hub 1
172.30.1.21
255.255.255.0
172.30.1.22
255.255.255.0
172.30.1.23
255.255.255.0
172.30.1.24
255.255.255.0
Single Hub
Ÿ
One Network (IP Network Address - usually)
Ÿ
One Collision Domain
Ÿ
One Broadcast Domain
Single Hub - Two subnets
Ÿ
Two subnets
Ÿ
One Collision Domain
Ÿ
One Broadcast Domain
Hub 1
172.30.1.21
255.255.255.0
172.30.1.22
172.30.1.23
172.30.1.24
255.255.255.0
255.255.255.0
255.255.255.0
All Hubs
Ÿ
One Network Address
Ÿ
One Collision Domain
Ÿ
One Broadcast Domain
Hub 1
172.30.1.21
255.255.255.0
172.30.1.22
255.255.255.0
172.30.1.23
255.255.255.0
Hub 2
172.30.1.24
255.255.255.0
172.30.1.25
255.255.255.0
172.30.1.26
255.255.255.0
172.30.1.27
255.255.255.0
Ÿ
One Broadcast Domain
Hub
172.30.1.21
255.255.255.0
172.30.1.22
255.255.255.0
172.30.1.23
255.255.255.0
Switch
172.30.1.24
255.255.255.0
172.30.1.25
255.255.255.0
172.30.1.26
255.255.255.0
172.30.1.27
255.255.255.0
Two virtual circuits: (complete SAT tables)
Data traffic from 172.30.1.24 to 172.30.1.25
and from 172.30.1.26 to 172.30.1.27
Ÿ
One Broadcast Domain
Hub
172.30.1.21
255.255.255.0
172.30.1.22
255.255.255.0
172.30.1.23
255.255.255.0
Switch
172.30.1.24
255.255.255.0
172.30.1.25
255.255.255.0
172.30.1.26
255.255.255.0
172.30.1.27
255.255.255.0
As opposed to the Hub:
Data traffic from 172.30.1.21 to 172.30.1.22
and from 172.30.1.23 to 172.30.1.24
Collision!
Ÿ
One Broadcast Domain
Hub
172.30.1.21
255.255.255.0
172.30.1.22
255.255.255.0
172.30.1.23
255.255.255.0
Switch
172.30.1.24
255.255.255.0
172.30.1.25
255.255.255.0
172.30.1.26
255.255.255.0
172.30.1.27
255.255.255.0
Collisions and Switches:
What happens when two devices on a switch, send data to another device on the switch.
172.30.1.24 to 172.30.1.25 and 172.30.1.26 to 172.30.1.25
Ÿ
One Broadcast Domain
Hub
172.30.1.21
255.255.255.0
172.30.1.22
255.255.255.0
172.30.1.23
255.255.255.0
Switch
172.30.1.24
255.255.255.0
172.30.1.25
255.255.255.0
172.30.1.26
255.255.255.0
172.30.1.27
255.255.255.0
The switch keeps the frames in buffer memory, and queues the traffic for the host 172.30.1.25. This means that the sending hosts do not know about the collisions and do not have to re-send the frames.
Frames in buffer
All Switched Network
Ÿ
One Network
Ÿ
Several Collision Domains
Ÿ
One per switch port
Ÿ
One Broadcast Domain
Switch 1
172.30.1.21
255.255.255.0
172.30.1.22
255.255.255.0
172.30.1.23
255.255.255.0
Switch 2
172.30.1.25
255.255.255.0
172.30.1.26
255.255.255.0
172.30.1.27
255.255.255.0
172.30.1.28
255.255.255.0
172.30.1.24
255.255.255.0
Ÿ
One Broadcast Domain
Switch 1
172.30.1.21
255.255.255.0
172.30.2.10
255.255.255.0
172.30.1.23
255.255.255.0
Switch 2
172.30.1.25
255.255.255.0
172.30.2.14
255.255.255.0
172.30.1.27
255.255.255.0
172.30.2.16
255.255.255.0
172.30.2.12
255.255.255.0
A Switched Network with two subnets:
What are the issues? Can data travel within the subnet? Yes Can data travel between subnets? No, need a router! What is the impact of a layer 2 broadcast, like an ARP Request?
ARP Request
Ÿ
One Broadcast Domain
Switch 1
172.30.1.21
255.255.255.0
172.30.2.10
255.255.255.0
172.30.1.23
255.255.255.0
Switch 2
172.30.1.25
255.255.255.0
172.30.2.14
255.255.255.0
172.30.1.27
255.255.255.0
172.30.2.16
255.255.255.0
172.30.2.12
255.255.255.0
All devices see the ARP Request. One broadcast domain means the switches flood all broadcast out all ports, except the incoming port. Switches have no idea of the layer 3 information contained in the ARP Request. This consumes bandwidth on the network and processing cycles on the hosts.
Two Switched Networks
Ÿ
Two Subnets
Ÿ
Several Collision Domains
Ÿ
One per switch port
Ÿ
Two Broadcast Domain
Switch 1
172.30.1.21
255.255.255.0
172.30.1.23
255.255.255.0
172.30.1.25
255.255.255.0
Switch 2
172.30.2.10
255.255.255.0
172.30.2.12
255.255.255.0
172.30.2.14
255.255.255.0
172.30.2.16
255.255.255.0
172.30.1.26
255.255.255.0
172.30.2.10
255.255.255.0
172.30.2.12
255.255.255.0
172.30.2.14
255.255.255.0
172.30.2.16
255.255.255.0
172.30.1.26
255.255.255.0
Router
172.30.1.1
255.255.255.0
172.30.2.1
255.255.255.0
Routed Network:
Two separate broadcast domains, because the router will not forward the layer 2 broadcasts such as ARP Requests.
interface e 0
ip address 172.30.1.1 255.255.255.0
ip address 172.30.2.1 255.255.255.0 secondary
E0
E1
Routed Networks
Ÿ
Two Subnets
Ÿ
Communication between subnets
Switch 1
172.30.1.21
255.255.255.0
172.30.2.10
255.255.255.0
172.30.1.23
255.255.255.0
172.30.2.12
255.255.255.0
Router
172.30.1.1
172.30.2.1 sec
255.255.255.0
ARP Request
Routed Networks
Ÿ
Two Subnets
Ÿ
Communication between subnets
Switch 1
172.30.1.21
172.30.2.10
255.255.255.0
172.30.1.23
255.255.255.0
172.30.2.12
255.255.255.0
Router
172.30.1.1
172.30.2.1 sec
255.255.255.0
1 2 3 4 5 6 .
1 2 1 2 2 1 .
Port
VLAN
No VLANs
Ÿ
Same as a single VLAN
Ÿ
Two Subnets
172.30.1.21
255.255.255.0
172.30.2.10
255.255.255.0
172.30.1.23
255.255.255.0
172.30.2.12
255.255.255.0
Switch 1
X
Switch Port: VLAN ID
172.30.1.23
255.255.255.0
VLAN 1
172.30.2.12
255.255.255.0
VLAN 2
Router
172.30.1.1
255.255.255.0
VLAN 1
172.30.2.1
255.255.255.0
VLAN 2
Data between VLANs is routed through the router. Data from 172.30.1.21 to 172.30.2.12
Switch 1
172.30.1.21
255.255.255.0
172.30.2.10
255.255.255.0
172.30.1.23
255.255.255.0
172.30.2.12
255.255.255.0
Router
172.30.1.1
255.255.255.0
172.30.2.1
255.255.255.0
ARP Request
VLANs
Ÿ
Two Subnets
Ÿ
Communication between VLANs
Ÿ
NOTE
: VLANs assigned only to the
ports
Switch 1
172.30.1.21
255.255.255.0
VLAN 1
172.30.2.10
255.255.255.0
VLAN 2
172.30.1.23
255.255.255.0
VLAN 1
172.30.2.12
255.255.255.0
VLAN 2
Router
172.30.1.1
255.255.255.0
VLAN 1
172.30.2.1
255.255.255.0
VLAN 2
ARP Request
interface e 0
ip address 172.30.1.1 255.255.255.0
ip address 172.30.2.1 255.255.255.0 secondary
VLANs
Ÿ
Two Subnets
Ÿ
Communication between VLANs using trunking
Ÿ
NOTE
: VLANs assigned only to the ports
Switch 1
172.30.1.21
255.255.255.0
VLAN 1
172.30.2.10
255.255.255.0
VLAN 2
172.30.1.23
255.255.255.0
VLAN 1
172.30.2.12
255.255.255.0
VLAN 2
Router
172.30.1.1
172.30.2.1 secondary
255.255.255.0
Trunking ISLor 802.1Q
Trunking ISL or 802.1Q
Moe
Larry
VLAN 1: Port 1 on switch Moe is connected to Port 1 on Switch Larry.
VLAN 2: Port 2 on switch Moe is connected to Port 2 on Switch Larry.
Non-tagging Switches
For each VLAN, there must be a link between the two switches. One link per VLAN. Be sure the switch ports on the switches are configured for the proper VLAN.
1 2
1 2
Port 1 = VLAN 1 & Port 2 = VLAN 2
Если не удалось найти и скачать презентацию, Вы можете заказать его на нашем сайте. Мы постараемся найти нужный Вам материал и отправим по электронной почте. Не стесняйтесь обращаться к нам, если у вас возникли вопросы или пожелания:
Email: Нажмите что бы посмотреть