TOTAL
Since dec 2006
1'942'871 Visitors
4'218'042 Pages

Nov 2010 Stats
82'909 Visitors
146'476 Pages
196 countries
Full statistics



Help us translate
our tutorials!

JOIN the
OpenManiak Team.
OM TEAM
Director:
Blaise Carrera
Tutorials creation:
Blaise Carrera
Translaters:
Giovanni Fredducci
Angel Chraniotis
Moham. H. Karvan
Alexandro Silva
Blaise Carrera
Andrei Chertolyas
Sergiy Uvarov
Nickola Kolev
Łukasz Nowatkowski
Ivo Raisr
Catalin Bivolaru
Bogdan A. Costea
Kirill Simonov
Oliver Mucafir
JaeYoung Jeon
Seungyoon Lee
Jie Yu & Si Cheng
Tao Wei
YukiAlex
Fumihito Yoshida
Muhammad Takdir
Çağdaş Tülek
Auditors
Leslie Luthi
Joe Anderson
Jennifer Ockwell
Nigel Titley
Alison Rees
Webmaster:
Blaise Carrera
VYATTA - The Easy Tutorial - Case Study 2 - OPSF Simple

Vyatta Case 2 - OSPF Simple
Last Change : Dec 26 2007


Tool
Install
Ergonomy
Forum



Details What is Vyatta?
Screenshots
Prerequisites
Tutorial Vyatta
Vyatta & Cisco Commands
Vyatta/Cisco/Quagga Comparison (Quagga section)
Case Study 1 - Static routes (VC 2.0)
Case Study 2 - OSPF simple (VC 2.0)
Case Study 3 - OSPF advanced (VC 2.0)
Case Study 4 - BGP (VC 3.0)
Case Study 5 - VRRP (VC 2.2)
Case Study 6 - NAT (VC 2.0)
Case Study 7 - DHCP (VC 2.2)
Case Study 8 - IPSec (VC 2.2)
Case Study 9 - Packages (VC 3.0)
Case Study 10 - Bridging (VC 3.0)
Case Study 11 - CDP VC 3.0



⚠️⚠️⚠️
Please check our website about
attractions in Western Switzerland !! (Please use english translation).

⚠️⚠️⚠️
Merci de consulter notre site sur les
activités à faire en Suisse romande !!



1. CASE PRINCIPLE 2. PICTURE 3. CONFIGURATIONS 4. SHOW COMMANDS
See a similar scenario with the Quagga router.


1. CASE PRINCIPLE

Vyatta version used: VC 2.0 Feb 20, 2007
In this second case study, we will see an example where two Desktops are connected between each other through two routers, one Cisco 2651 router and one Vyatta router.
The routers use the OSPF dynamic routing protocol to advertise the IP networks.


Read the Vyatta policy about the Community Edition.


2. PICTURE

vyatta cisco case study 2651 ospf Functionalities tested:

(click on the web links to have more details about a protocol)

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


3. CONFIGURATIONS

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
SEE THE ENTIRE CONFIGURATION OF THE DEVICES:

2651 Cisco router
Vyatta router

You can use a Cisco 3750 L3 switch instead of the 2651 Cisco router:
3750 switch L3


4. SHOW COMMANDS

ROUTING TABLE

vyatta@Vyatta-Router#show route

vyatta output show route

cisco#show ip route

cisco output show ip route

ROUTE FOR A 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

ROUTE FOR A 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

OSPF DATABASE

vyatta@Vyatta-Router#show opsf4 database

vyatta output show opsf4 database

cisco#show ip ospf database

cisco output show ip ospf database

INTERFACE STATS 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

INTERFACE STATS 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

END TO END CONNECTIVITY CHECKS:

From Desktop A
C:\>tracert 10.2.0.3

windows output tracert

From Desktop B
C:\>tracert 10.2.0.3

windows output tracert

Top of the page