VYATTA - Semplice guida - Caso Studio 2 - OPSF Simple

Vyatta Case 2 - OSPF Simple
Last Update: Jan 03 2008


Tool
Install
Ergonomy
Forum



Details Cosa è Vyatta?
Screenshots
Prerequisiti
Tutorial Vyatta
Confronto comandi Vyatta & Cisco
Vyatta/Cisco/Quagga confronto (sezione Quagga)
Caso Studio 1 - Static routes (VC 2.0)
Caso Studio 2 - OSPF simple (VC 2.0)
Caso Studio 3 - OSPF advanced (VC 2.0)
Caso Studio 4 - BGP (VC 3.0)
Caso Studio 5 - VRRP (VC 2.2)
Caso Studio 6 - NAT (VC 2.0)
Caso Studio 7 - DHCP (VC 2.2)
Caso Studio 8 - IPSec (VC 2.2)
Caso Studio 9 - Packages (VC 3.0)
Caso Studio 10 - Bridging (VC 3.0)
Caso Studio 11 - CDP (VC 3.0)

Italian translation by Giovanni Fredducci.



⚠️⚠️⚠️
Please check our page about COVID-19!!
100 Questions and answers about Coronavirus.

⚠️⚠️⚠️
Merci de consulter notre page sur la COVID-19 !!
227 questions et réponses sur le Coronavirus.



1. CASO 2. IMMAGINI 3. CONFIGURAZIONE 4. COMANDI
Vedi uno scenario simile con Quagga router.


1. CASO

Vyatta versione: VC 2.0 Feb 20, 2007
In questo secondo caso , vedremo due desktop connessi con due router , un Cisco 2651 router e Vyatta router.
I routers usano OSPF dynamic routing protocol per propagare gli IP networks.
Leggi Vyatta policy della versione Community Edition.


2. IMMAGINI

vyatta cisco case study 2651 ospf Funzionalità testate:

(click sui link per avere maggiori dettagli sui protocolli)

Interface settings
OSPF - backbone area
SSH access
Telnet access
Web access
 
 
 
 
 
 


3. CONFIGURAZIONE

CISCO ROUTER VYATTA ROUTER
interface FastEthernet0/0
  description link to Vyatta router
  ip address 200.0.0.2 255.255.255.0
  duplex full
  speed 100
edit interfaces ethernet eth0
  set description "link to Cisco router"
  set address 200.0.0.1 prefix-length 24
  set duplex full
  set speed 100
interface FastEthernet0/1
  description link to Desktop A
  ip address 10.1.0.2 255.255.255.0
edit interfaces ethernet eth1
  set description "Desktop B"
  set address 10.2.0.1 prefix-length 24
interface Loopback1
  ip address 10.200.1.1 255.255.255.255
edit interfaces loopback lo
  set address 10.200.1.2 prefix-length 32
 
router ospf 1
 
  network 10.1.0.0 0.0.0.255 area 0
  network 10.200.1.1 0.0.0.0 area 0
  network 200.0.0.0 0.0.0.255 area 0
set protocols ospf4
edit protocols ospf4
  set router-id 10.200.1.2
  set area 0.0.0.0 interface eth0 address 200.0.0.1
  set area 0.0.0.0 interface eth1 address 10.2.0.2
  set area 0.0.0.0 interface lo address 10.200.1.2
hostname cisco set system host-name Vyatta-Router
line vty 0 4
  no login
ip http server
 
set service telnet
 
set service http
set service ssh
enable secret password edit system login user vyatta
  set authentification plaintext-password password

Desktop A Desktop B
ip address:
subnet mask:
gateway:
 
10.1.0.3
255.255.255.0
10.1.0.2
Screenshot
ip address:
subnet mask:
gateway:
 
10.2.0.3
255.255.255.0
10.2.0.2
Screenshot
CONFIGURAZIONE DEGLI APPARATI:

2651 Cisco router
Vyatta router

Puoi usare un Cisco 3750 L3 switch al posto del Cisco 2651 router:
3750 switch L3


4. COMANDI

ROUTING TABLE

vyatta@Vyatta-Router#show route

vyatta output show route

cisco#show ip route

cisco output show ip route

ROUTER per una SUBNET

vyatta@Vyatta-Router#show route | match 10.1.0.0

vyatta output show route | match

cisco#show ip route | include 10.2.0.0

cisco output show route | include

ROUTER per un NEXT-HOP

vyatta@Vyatta-Router#show route next-hop 200.0.0.2

cisco output show route next-hop

cisco#show ip route | include 200.0.0.1

cisco output show ip route | include

OSPF NEIGHBORS

vyatta@Vyatta-Router#show opsf4 neighbor

vyatta output show opsf4 neighbor

cisco#show ip ospf neighbor

cisco output show ip ospf neighbor

DATABASE OSPF

vyatta@Vyatta-Router#show opsf4 database

vyatta output show opsf4 database

cisco#show ip ospf database

cisco output show ip ospf database

STATISTICHE INTERFACCIA 1

vyatta@Vyatta-Router#show interfaces ethernet eth0 statistics

vyatta output show interfaces ethernet eth0 statistics


cisco#show interfaces FastEthernet 0/0

cisco output show interfaces FastEthernet 0/0

STATISTICHE INTERFACCIA 2
vyatta@Vyatta-Router#show interfaces ethernet eth0 physical

vyatta output show interfaces ethernet eth0 physical

cisco#show ip interface brief

cisco output show ip interface brief

controllo connettività END TO END:

Da Desktop A
C:\>tracert 10.2.0.3

windows output tracert

Da Desktop B
C:\>tracert 10.2.0.3

windows output tracert

Inizio pagina