Sei sulla pagina 1di 2

Full name: ____________________________________

Code: ________________________________________
Semester: ____________________________________

Activity

For the topology shown on the Figure 1, obtain:

1. The basic information of each net or subnet.


2. The configuration of the ports or terminals.
3. The routing configuration (Routing Static).

Figure 1.

Solution:
1. The topology of the Figure 1, only has one network/subnet.
The basic information is show below:

Obtaining network IP address. 166.100.16.30


IP-PC

166 . 100 . 16 . 30

1 1 0 0 0 0 0 0 . 1 0 1 0 1 0 0 0 . 0 0 0 0 0 0 0 1 . 0 0 0 0 1 0 1 0
Mask

255 . 255 . 255 . 0

1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 0 0 0 0 0 0 0 0
Network IP = IP-PC AND Mask
Network IP

192 . 168 . 1 . 0

1 1 0 0 0 0 0 0 . 1 0 1 0 1 0 0 0 . 0 0 0 0 0 0 0 1 . 0 0 0 0 0 0 0 0

Obtaining broadcast IP address.


IP-PC

192 . 168 . 1 . 10

1 1 0 0 0 0 0 0 . 1 0 1 0 1 0 0 0 . 0 0 0 0 0 0 0 1 . 0 0 0 0 1 0 1 0
Mask

255 . 255 . 255 . 0

1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 0 0 0 0 0 0 0 0
Complement Mask
0 . 0 . 0 . 255

0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0 . 1 1 1 1 1 1 1 1

Broadcast IP = IP-PC OR Complement Mask


Broadcast IP

192 . 168 . 1 . 255

1 1 0 0 0 0 0 0 . 1 0 1 0 1 0 0 0 . 0 0 0 0 0 0 0 1 . 1 1 1 1 1 1 1 1

Network data summary


Network IP 192.168.1.0
Mask 255.255.255.0
Gateway IP 192.168.1.1
Range host IP 192.168.1.2 – 192.168.1.254
Broadcast IP 192.168.1.255

2. The configuration of the ports is shown below.

 Configuration of gateway (Router R1)


Router>enable
Router#configure terminal
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#

 Configuration del PC
IP Address: 192.168.1.10
Subnet Mask:255.255.255.0
Default Gateway: 192.168.1.1

3. The routing configuration

As only has network one, has not configuration of routing static.

Potrebbero piacerti anche