(Portuguese Version)
Situation
In a firm/business (office or enterprise) there are some sectors as above and many hosts as needed.
Data Base & Development ( 71 hosts)
network 192.168.1.0
netmask 255.255.255.128
hosts 192.168.1.1 ~ 192.168.1.126
broadcast 192.168.1.127
======================
Comercial ( 25 hosts )
network 192.168.1.128
netmask 255.255.255.224
hosts 192.168.1.129 ~ 192.168.1.158
broadcast 192.168.1.159
======================
Finances ( 10 hosts )
network 192.168.1.160
netmask 255.255.255.240
hosts 192.168.1.161 ~ 192.168.1.174
broadcast 192.168.1.175
=======================
Human Resources ( 12 hosts )
network 192.168.1.176
netmask 255.255.255.240
hosts 192.168.1.177 ~ 192.168.1.190
broadcast 192.168.1.191
=======================
More about sub-netting:
192.168.1.0
netmask 1 0 0 0 0 0 0 0 / 25
2^7 hosts = 128
192.168.1.128
netmask 1 0 1 0 0 0 0 0 / 27
2^5 hosts = 32
192.168.1.160
netmask 1 0 1 0 0 0 0 0 / 28
2^5 hosts = 32
192.168.1.176
netmask 1 0 1 1 0 0 0 0 / 28
2^5 hosts = 32
Cisco Packet Tracer 5.1 - Project View
Setting Router 3COM(Internet-DB&Dev)
IP
FastEthernet0/0
IP Address 192.168.1.124
Net Mask 255.255.255.128
FastEthernet0/1
IP Address 10.0.4.254
Net Mask 255.255.255.0
Routes
go to ROUTING > Static
For the 192.168.1.0 network we do
Network 192.168.1.0
Mask 255.255.255.128
Next Hop 192.168.1.126
>Add
on CLI(console): ip route 192.168.1.0 255.255.255.128 192.168.1.126
For the 192.168.1.128 network we do:
Network 192.168.1.128
Mask 255.255.255.224
Next Hop 192.168.1.126
>Add
on CLI(console): ip route 192.168.1.128 255.255.255.224 192.168.1.126
For the 192.168.1.160 and 192.168.1.176 networks we create the supernet 192.168.1.160
Network 192.168.1.160
Mask 255.255.255.224
Next Hop 192.168.1.126
>Add
on CLI(console): ip route 192.168.1.128 255.255.255.224 192.168.1.126
Setting Router R1(DB&Dev-Comercial)
IP
FastEthernet0/0
IP Address 192.168.1.126
Net Mask 255.255.255.128
FastEthernet0/1
IP Address 192.168.1.158
Net Mask 255.255.255.224
Routes
go to ROUTING > Static
For the 192.168.1.160 and 192.168.1.176 networks we create the supernet 192.168.1.160
Network 192.168.1.160
Mask 255.255.255.224
Next Hop 192.168.1.157
>Add
on CLI(console): ip route 192.168.1.160 255.255.255.224 192.168.1.157
Default route (forwards the packets to the board/internet)
Network 0.0.0.0
Mask 0.0.0.0
Next Hop 192.168.1.124
>Add
on CLI(console): ip route 0.0.0.0 0.0.0.0 192.168.1.124
Setting Router R2(Comercial-Finances)
IP
FastEthernet0/0
IP Address 192.168.1.157
Net Mask 255.255.255.224
FastEthernet0/1
IP Address 192.168.1.174
Net Mask 255.255.255.240
Routes
go to ROUTING > Static
For the 192.168.1.176 network we do
Network 192.168.1.176
Mask 255.255.255.240
Next Hop 192.168.1.173
>Add
on CLI(console): ip route 192.168.1.176 255.255.255.240 192.168.1.173
Default route (forwards the packets to the board/internet)
Network 0.0.0.0
Mask 0.0.0.0
Next Hop 192.168.1.158
>Add
on CLI(console): ip route 0.0.0.0 0.0.0.0 192.168.1.158
Setting Router R3(Finances-Human Resources)
IP
FastEthernet0/0
IP Address 192.168.1.173
Net Mask 255.255.255.240
FastEthernet0/1
IP Address 192.168.1.190
Net Mask 255.255.255.240
Routes
go to ROUTING > Static
Default route (forwards the packets to the board/internet)
Network 0.0.0.0
Mask 0.0.0.0
Next Hop 192.168.1.174
>Add
on CLI(console): ip route 0.0.0.0 0.0.0.0 192.168.1.174
Server Machine - Internet
go to Desktop > Ip Configuration
IP Configuration
IP Address 10.0.4.1
Subnet Mask 255.255.255.0
Default Gateway 10.0.4.254
go to Config > DNS
DNS
Service On
Domain Name www.internet.com
IP Address 10.0.4.1
To configure the hosts we only need to set a different IP(for wich network it belongs to):
Desktop > Ip Configuration
IP Address 192.168.1.x
Subnet Mask 255.255.255.128
DNS Server 10.0.4.1
note: "x" must be one of the addresses in the network range.
Must look like this:
For the host H11 in DB&Dev(192.168.1.0):
go to Desktop > Ip Configuration
IP Address 192.168.1.1
Subnet Mask 255.255.255.128
DNS Server 10.0.4.1
Regards,







0 comments:
Postar um comentário