TP Quagga

Télécharger au format pdf ou txt
Télécharger au format pdf ou txt
Vous êtes sur la page 1sur 3

TP Serveur Quagga TRC NABOU Abdellah

1. PRINCIPE

Dans cette première étude, nous allons voir un exemple très simple où le routage est fait par des routes statiques
uniquement.

2. SCHÉMA

Fonctionnalités testées:

Paramétrage interfaces
Routes statiques
Accès Telnet

3. CONFIGURATIONS

Vous devez configurer votre système Linux correctement pour pouvoir lancer Quagga avec succès.
Référez-vous au tutorial Quagga pour de l'assistance.

CONFIGURATIONS LINUX

Vérifiez que le démon zebra est activé sur Quagga A et Quagga B:

#vim /etc/quagga/daemons

zebra=yes
bgpd=no
ospfd=no
ospf6d=no
ripd=no
ripngd=no
isisd=no

Si vous avez effectués des changements dans vos fichiers daemon sur , redémarrez le service quagga:

#vim /etc/init.d/quagga restart

Stopping Quagga daemons (prio:0): ospfd zebra (bgpd) (ripd) (ripngd) (ospf6= d) (isisd).
Removing all routes made by zebra.
Nothing to flush.
Loading capability module if not yet done.
Starting Quagga daemons (prio:10): zebra.

Configurez le nom d'hôte (hostname) de Quagga A dans le fichier /etc/quagga/vtysh.conf:

#vim /etc/quagga/vtysh.conf

!
! Sample
!
! service integrated-vtysh-config
hostname Quagga_A
username root nopassword
!

Configurez le nom d'hôte (hostname) de Quagga B dans le fichier /etc/quagga/vtysh.conf:


TP Serveur Quagga TRC NABOU Abdellah

#vim /etc/quagga/vtysh.conf

!
! Sample
!
! service integrated-vtysh-config
hostname Quagga_B
username root nopassword
!

N'oubliez pas d'activer la redirection IP (IP forwarding) sur le routeur Quagga A!


Il n'est pas nécessaire d'activer la redirection IP sur le routeur Quagga B parce qu'il n'a qu'une interface réseau.

CONFIGURATIONS DES ROUTEURS

ROUTEUR CISCO 2651 IOS: 12.2-23a ROUTEUR QUAGGA A 0.99.6

interface FastEthernet0/1 interface eth0


ip address 10.1.3.2 255.255.255.0 ip address 10.1.3.1/24
no shutdown link-detect

interface FastEthernet0/0 interface eth1


ip address 10.1.4.2 255.255.255.0 ip address 10.1.1.1/24
no shutdown link-detect

hostname Cisco-2651

ip route 10.1.0.0 255.255.0.0 10.1.3.1 ip route 10.1.0.0/16 10.1.3.2


ip route 10.200.1.4 255.255.255.255 10.1.4.1 ip route 10.200.1.4/32 10.1.3.2
ip route 10.200.1.1 255.255.255.255 10.1.3.1 ip route 10.200.1.1/32 10.1.1.2

line vty 0 4 line vty


no login no login

enable secret password enable password password

SWITCH CISCO L3 3750 IOS: 12.2-25.SEE2 ROUTEUR QUAGGA B 0.99.6

interface vlan 1 interface eth0


ip address 10.1.1.2 255.255.255.0 ip address 10.1.4.1/24
no shutdown link-detect

interface Loopback 1 interface lo


ip address 10.200.1.1 255.255.255.255 ip address 10.200.1.4/32
link-detect

hostname 3750_L3 hostname quagga-router-b

ip route 0.0.0.0 0.0.0.0 10.1.1.1 ip route 0.0.0.0/0 10.1.4.2

line vty 0 4 line vty 0 4


no login no login

enable secret password enable password password

ip routing
ip multicast-routing distributed

4. COMMANDES SHOW

TABLE DE ROUTAGE

Quagga_A#show ip route

Quagga_A (Linux level)#route -n

Cisco-2651#show ip route
TP Serveur Quagga TRC NABOU Abdellah

Quagga_B#show ip route

Quagga_B (Linux level)#route -n

3750_L3#show ip route

INTERFACES

Quagga_A#show interface eth0

Cisco-2651#show interface FastEthernet 0/0

VERSIONS DES LOGICIELS

Quagga_A#show version

Cisco-2651#show version

PROCESSES DES DÉMONS QUAGGA

Quagga_A (Linux level)#ps -ef | grep quagga

UID PID PPID C STIME TTY TIME CMD

quagga 10525 1 0 11:36 ? 00:00:00 /usr/lib/quagga/zebra --daemon

REDIRECTION IP LINUX (IP FORWARDING)

Quagga_A#show ip forwarding

IP forwarding is on

Vous aimerez peut-être aussi

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy