3.1.7CONFIGURATION DU
RÉSEAU
La topologie conçue est donnée sur la figure
ci-dessous, nous avons utilisé le routeur 819HG-4G-IOX pour les 4 LANs,
qui a une interface cellulaire permettant la connexion sans fil à une
station de base, et serveurs et des terminaux. Le détail de la
configuration de chaque équipement est donné ci-après.

Figure 13 : Configuration
Réseau
3.2 QUELQUES INTERFACES GRAPHIQUE
3.2.1 CONFIGURATION IP DE LA
MACHINE VIA DHCP

Figure 14 : configuration IP de la
machine via DHCP
3.2.2 TEST DE
CONNECTIVITÉ AVEC Ping

Figure 15 : test de connectivité
avec ping
3.2.3 QUELQUES CODES SOURCES
DE L'APPLICATION
3.2.4
CONFIGURATION DES VLAN ET INTERFACES
FIREWALL-ASA(config)# interface Vlan1
FIREWALL-ASA(config)# nameif inside
FIREWALL-ASA(config)# security-level 100
FIREWALL-ASA(config)# ip address 192.168.1.1 255.255.255.0
|
FIREWALL-ASA(config)# interface Vlan2
FIREWALL-ASA(config)# nameif outside
FIREWALL-ASA(config)# security-level 50
FIREWALL-ASA(config)# ip address 200.150.100.1
255.255.255.0
|
FIREWALL-ASA(config)# interface Vlan3
FIREWALL-ASA(config)# nameif DMZ
ERROR: This license does not allow configuring more than 2
interfaces with nameif and without a "no forward" command on this interface or
on 1 interface(s) with nameif already configured
FIREWALL-ASA(config)#no forward interface vlan 1
FIREWALL-ASA(config)# security-level 0
FIREWALL-ASA(config)# ip address 192.168.1.1 255.255.255.0
|
FIREWALL-ASA#conf t
FIREWALL-ASA(config)#int e0/1
FIREWALL-ASA(config-if)#switchport access vlan 1
FIREWALL-ASA(config-if)#no shut
FIREWALL-ASA(config-if)#exit
FIREWALL-ASA(config)#
|
FIREWALL-ASA(config)#int e0/0
FIREWALL-ASA(config-if)#switchport access vlan 2
FIREWALL-ASA(config-if)#exit
FIREWALL-ASA(config)#
|
FIREWALL-ASA(config)#int e0/2
FIREWALL-ASA(config-if)#switchport access vlan 3
FIREWALL-ASA(config-if)#exit
FIREWALL-ASA(config)#
|
FIREWALL-ASA#conf t
FIREWALL-ASA(config)#object network INSIDE-NET
FIREWALL-ASA(config-network-object)#subnet 192.168.1.0
255.255.255.0
FIREWALL-ASA(config-network-object)#nat (inside,outside)
dynamic interface
FIREWALL-ASA(config-network-object)#end
|
3.2.4 CONFIGURATION DHCP
FIREWALL-ASA#conf t
FIREWALL-ASA(config)# dhcpd address 192.168.1.10-192.168.1.41
inside
FIREWALL-ASA(config)#dhcpd dns 192.168.1.254
FIREWALL-ASA(config)#dhcpd enable inside
FIREWALL-ASA(config)#end
FIREWALL-ASA#
|
3.2.5 Routage OSPF
R_ISP(config)#router ospf 2
R_ISP(config-router)#network 87.150.100.0 255.255.255.0 area
2
R_ISP(config-router)#network 200.150.100.0 255.255.255.0 area
2
R_ISP(config-router)#network 192.168.10.0 255.255.255.240 area
2
R_ISP(config-router)#network 192.168.1.0 255.255.255.240 area
2
R_ISP(config-router)#end
R_ISP#
%SYS-5-CONFIG_I: Configured from console by console
R_ISP#wr
Building configuration...
[OK]
R_ISP#
|
3.2.6 Configuration des
class-map
FIREWALL-ASA#conf t
FIREWALL-ASA(config)#class-map inspection_default
FIREWALL-ASA(config-cmap)#match default-inspection-traffic
FIREWALL-ASA(config-cmap)#policy-map global_policy
FIREWALL-ASA(config-pmap)#class inspection_default
FIREWALL-ASA(config-pmap-c)#inspect icmp
FIREWALL-ASA(config-pmap-c)#service-policy global_policy
global
FIREWALL-ASA(config)#exit
FIREWALL-ASA#wr mem
|
|