show ip interface brief

~ online log book

Tag Archives: dynamic routing protocol

Cisco dynamic routing

20 Tuesday Mar 2012

Posted by Jia Jing in Cisco

≈ Leave a comment

Tags

cisco, dynamic routing protocol, eigrp, ospf, rip, route redistribution, v2

RIPv2

R0# conf t
R0# int lo0
R0# ip add 10.10.10.1 255.255.255.0
R0# no shut
R0# exit
R0# int f0/0
R0# ip add 10.10.1.1 255.255.255.0
R0# no shut
R0# exit
R0# router rip
R0# version 2
R0# no auto
R0# network 10.10.10.0 255.255.255.0
R1# conf t
 R1# int lo0
 R1# ip add 10.10.11.1 255.255.255.0
 R1# no shut
 R1# exit
 R1# int f0/0
 R1# ip add 10.10.1.2 255.255.255.0
 R1# no shut
 R1# exit
 R1# router rip
 R1# version 2
 R1# no auto
 R1# network 10.10.11.0 255.255.255.0

 

OSPF

R1# conf t
 R1# int f0/1
 R1# ip add 10.10.2.1 255.255.255.0
 R1# no shut
 R1# exit
 R1# router ospf 1
 R1# network 10.10.2.0 0.0.0.255 area 0
 R1# network 10.10.11.0 0.0.0.255 area 0
R2# conf t
 R2# int lo0
 R2# ip add 10.10.12.1 255.255.255.0
 R2# no shut
 R2# exit
 R2# int f0/1
 R2# ip add 10.10.2.2 255.255.255.0
 R2# no shut
 R2# exit
 R2# router ospf 1
 R2# network 10.10.2.0 0.0.0.255
 R2# network 10.10.12.0 0.0.0.255

 

EIGRP

R2# conf t
 R2# int f0/0
 R2# ip add 10.10.3.1 255.255.255.0
 R2# no shut
 R2# exit
 R2# router eigrp 1
 R2# network 10.10.3.0 0.0.0.255
 R2# network 10.10.12.0 0.0.0.255
R3# conf t
 R3# int lo0
 R3# ip add 10.10.13.1 255.255.255.0
 R3# no shut
 R3# exit
 R3# int f0/1
 R3# ip add 10.10.3.2 255.255.255.0
 R3# no shut
 R3# exit
 R3# router eigrp 1
 R3# network 10.10.3.0 0.0.0.255
 R3# network 10.10.13.0 0.0.0.255

 

Route redistribution

R1# conf t
R1# router rip
R1# redistribute ospf 1 metric 1 match internal
R1# exit
R1# router ospf 1
R1# redistribute rip metric 1 subnets
R2# conf t
R2# router ospf 1
R2# redistribute eigrp 1 subnets
R2# exit
R2# router eigrp 1
R2# redistribute ospf 1 metric 1544 2000 255 1 1500 match internal external 2

 

Advertisements

Categories

Archives

1800 active domain annoying apache2 apt-cacher-ng authentication backup backup and restore Bitlocker bridged network cisco cisco router configuration register debian dhcp disgusting dns domain name system dynamic dynamic host configuration protocol encrypting enterprise file sharing hard disk hardwares http http proxy intel matrix storage manager ipv6 irritating isatap join kerberos linksys logging mirroring mount from debian multiple hosts network file system NFS ntp obnoxious packages parity password recovery proxy radius raid redundant array of independant disk remove router rsyslog samba single ip address squid ssh static stripping synching system beep teredo time tunelling VirtualBox virtualhost Virtualisation VMware web hosting winbind windows 7 windows server windows server 2008 wireless www zone-based firewall

Blog Stats

  • 8,859 hits

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.com
Advertisements

Create a free website or blog at WordPress.com.

Cancel