Pages

Friday, February 24, 2012

EIGRP Frame Relay Hub and Spoke




Configuring the Frame Relay Switch


hostname FRS
!
frame-relay switching
!
interface Serial 0/0
description FR to HQ
encapsulation frame-relay
clock rate 6400
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 102 interface Serial 0/1 201
frame-relay route 103 interface Serial 0/2 301
no shutdown
!
interface Serial 0/1
description FR to East
no ip address
encapsulation frame-relay
clock rate 64000
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 201 interface Serial 0/0 102
no shutdown
!
Interface Serial 0/2
description FR to West
no ip address
encapsulation frame-relay
clock rate 64000
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 301 interface Serial 0/0 103
no shutdown

Configuring the Frame Relay Endpoints


R1# conf t
R1(config)# interface serial 0/0
R1(config-if)# ip address 10.1.1.1 255.255.255.0
R1(config-if)# encapsulation frame-relay
R1(config-if)# no frame-relay inverse-arp
R1(config-if)# frame-relay map ip 10.1.1.1 103
R1(config-if)# frame-relay map ip 10.1.1.2 102 broadcast
R1(config-if)# frame-relay map ip 10.1.1.3 103 broadcast
R1(config-if)# no shutdown

R2# conf t
R2(config)# interface serial 0/1
R2(config-if)# ip address 10.1.1.2 255.255.255.0
R2(config-if)# encapsulation frame-relay
R2(config-if)# no frame-relay inverse-arp
R2(config-if)# frame-relay map ip 10.1.1.2 201
R2(config-if)# frame-relay map ip 10.1.1.1 201 broadcast
R2(config-if)# frame-relay map ip 10.1.1.3 201 broadcast
R2(config-if)# no shutdown

R3# conf t
R3(config)# interface serial 0/2
R3(config-if)# ip address 10.1.1.3 255.255.255.0
R3(config-if)# no frame-relay inverse-arp
R3(config-if)# encapsulation frame-relay
R3(config-if)# frame-relay map ip 10.1.1.3 301
R3(config-if)# frame-relay map ip 10.1.1.1 301 broadcast
R3(config-if)# frame-relay map ip 10.1.1.2 301 broadcast
R3(config-if)# clock rate 64000
R3(config-if)# no shutdown

Configuring EIGRP


R1(config)# router eigrp 1
R1(config-router)# network 10.0.0.0
R1(config-router)# network 172.16.0.0
R1(config-router)# no auto-summary

R2(config)# router eigrp 1
R2(config-router)# network 10.0.0.0
R2(config-router)# network 172.16.0.0
R2(config-router)# no auto-summary

R3(config)# router eigrp 1
R3(config-router)# network 10.0.0.0
R3(config-router)# network 172.16.0.0
R3(config-router)# no auto-summary


R2# show ip eigrp topology
IP-EIGRP Topology Table for AS(1)/ID(172.16.124.2)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status

P 172.16.1.0/24, 1 successors, FD is 128256 via Connected, Loopback1
P 172.16.1.0/24, 1 successors, FD is 40640000 via 172.16.124.1 (40640000/128256), Serial0/0/1
P 10.1.1.0/24, 1 successors, FD is 40512000 via Connected, Serial 0/1

Note:- By Default split horizon is enabled so troute advertisements from R2 to R1 do not travel to R3 and vice versa, as shown in the above output.

R1 needs the no ip split-horizon eigrp 1 command on its serial Frame Relay interface. to fix this issue

R1(config)# interface serial 0/0
R1(config-if)# no ip split-horizon eigrp 1


Verify that you see the correct EIGRP adjacencies with the show ip eigrp neighbors command:

R1# show ip eigrp neighbors
IP-EIGRP neighbors for process 1
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
1 10.1.1.2 Se0/0 176 00:00:05 1588 5000 0 6
0 10.1.1.3 Se0/0 176 00:00:05 23 1140 0 6

R2# show ip eigrp neighbors
IP-EIGRP neighbors for process 1
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 10.1.1.1 Se0/1 129 00:00:52 20 2280 0 20


Verify that you have IP routes on all three routers and verify full connectivity

R2# ping 10.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!

R2# ping 10.1.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:
!!!!!

Thursday, February 23, 2012

How to Configure Frame Relay



Configuration of Frame Relay..............

DLCI Number:-
201 – 102 = Headoffice to Mumbai
301 - 103 = Headoffice to AHE
204 – 206 = AHE to Mumbai
Frame Relay Switch:-

FRS(Config)#frame-relay switching
FRS (Config)#int s0/0
FRS (Config-if) #encapsulation frame-relay
FRS (Config-if)#Frame-relay int-type dce
FRS (Config-if)#clock rate 64000
FRS (Config-if)#no frame-relay inverse-arp
FRS (Config-if)#frame-relay lmi-type cisco
FRS (Config-if)#no shut
FRS (Config-if)#frame-relay route 102 int s0/1 201
FRS (Config-if)#frame-relay router 103 int s0/2 301
FRS (Config)#int s0/1
FRS (Config-if) #encapsulation frame-relay
FRS (Config-if)#Frame-relay int-type dce
FRS (Config-if)#clock rate 64000
FRS (Config-if)#no frame-relay inverse-arp
FRS (Config-if)#frame-relay lmi-type cisco
FRS (Config-if)#no shut
FRS (Config-if)#frame-relay route 201 int s0/1 102
FRS (Config-if)#frame-relay router 206 int s0/2 204
FRS (Config)#int s0/2
FRS (Config-if) #encapsulation frame-relay
FRS (Config-if)#Frame-relay int-type dce
FRS (Config-if)#clock rate 64000
FRS (Config-if)#no frame-relay inverse-arp
FRS (Config-if)#frame-relay lmi-type cisco
FRS (Config-if)#no shut
FRS (Config-if)#frame-relay route 301 int s0/1 103
FRS (Config-if)#frame-relay router 204 int s0/2 206
Headoffice:-

Headoffice(config)#int s0/0
Headoffice(config-if)#ip address 10.0.0.1 255.255.255.0
Headoffice(config-if)#frame-relay int-type dte
Headoffice(config-if)#no frame-relay inverse-arp
Headoffice(config-if)#frame-relay map ip 10.0.0.2 102 broadcast
Headoffice(config-if)#frame- relay map ip 10.0.0.3 103 broadcast
Headoffice(config-if)#no shut
Mumbai:-

Mumbai(config)#int s0/0
Mumbai(config-if)#ip address 10.0.0.2 255.255.255.0
Mumbai (config-if)#frame-relay int-type dte
Mumbai (config-if)#no frame-relay inverse-arp
Mumbai (config-if)#frame-relay map ip 10.0.0.1 201 broadcast
Mumbai (config-if)#frame- relay map ip 10.0.0.3 206 broadcast
Mumbai (config-if)#no shut
AHE:-

AHE(config)#int s0/0
AHE(config-if)# ip address 10.0.0.3 255.255.255.0
AHE(config-if)#frame-relay int-type dte
AHE(config-if)#no frame-relay inverse-arp
AHE(config-if)#frame-relay map ip 10.0.0.1 204 broadcast
AHE(config-if)#frame- relay map ip 10.0.0.2 301 broadcast
AHE(config-if)#no shut

How to Configure RIS Server in Linux




Configuration Setup of RIS Server:-

Step 1) Configure the DNS Server (Netexpertsindia.COM) Server Name:- server.netexpertsindia.com ( DNS Server use for Name Resloution )
Step 2) Configure the DHCP Server (1.0.0.10-1.0.0.254) ( DHCP Server Provide IP Address to Client PC)
Step 3) Yum Server

*****How to Configure YUM Server *******

#mount /dev/cdrom /mnt
#Cd /mnt/Server
#rpm –ivh vsftpd
#cp –av /mnt/. /var/ftp/pub/
#cp /mnt/Server/repodata/comps-rhel5-server-core-xml /var/ftp/pub/Server
#cp /mnt/VT/repodata/comps-rhel5-vt-xml /var/ftp/pub/VT
#cp /mnt/Cluster/repodata/comps-rhel5-cluster-xml /var/ftp/pub/Cluster
#cp /mnt/ClusterStorage/repodata/comps-rhel5-cluster-st- xml /var/ftp/pub/ClusterStorage
#rpm –ivh createrepo
#creatrepo -vg comps-rhel5-server-core-xml /var/ftp/pub/Server
#creatrepo -vg comps-rhel5-vt-xml /var/ftp/pub/VT
#creatrepo -vg comps-rhel5-cluster-xml /var/ftp/pub/Cluster
#creatrepo -vg comps-rhel5-cluster-st-xml /var/ftp/pub/ClusterStorage

#vim /etc/yum.repos.d/yum.repo
Press i
[server]
Name=yum
Baseurl=ftp://1.0.0.1/pub/Server
Gpgcheck=0
[VT]
Name=yum
Baseurl=ftp://1.0.0.1/pub/VT
Gpgcheck=0
[Cluster]
Name=yum
Baseurl=ftp://1.0.0.1/pub/Cluster
Gpgcheck=0
[ClusterStorage]
Name=yum
Baseurl=ftp://1.0.0.1/pub/ClusterStorage
Gpgcheck=0
:wq (Save and Exit)
#yum grouplist

Step 4) TFTP Server

*****How to Configure TFTP Server *******


Step:-

#yum install tftp
#vim /etc/xinetd.d/tftp

disable = no (default yes change to no)
:wq
#cd /tftpboot
#mkdir /tftpboot/pxelinux.cfg
#cp –av /var/ftp/pub/isolinux/. /tftpboot
#cp –av /tftpboot/isolinux.cfg /tftpboot/pxelinux.cfg/default
#vim /tftpboot/pxelinux.cfg/default
default local (default set linux change into local )
:wq


Setup 5) Editing in DHCP Configuration File:-

Step :-
#vim /etc/dhcpd.conf
After the
Ignore client-update line inset following line:-
allow bootp;
allow booting;
class “pxeclients” {
match if substring(option vendor-class-identifier, 0, 9) = “PXEClient”;
next-server 1.0.0.1;
filename “pxelinux.0”;
}
:wq


6) Start the Following Services:-

#service vsftpd restart
#service named restart
#service dhcpd restart
#service xinted restart
Note: - If you have get error “File not Found” run the Following Command:-
#cp /usr/lib/syslinux/pxelinux.0 /tftp



*******************Enjoy*******************