Skip to main content

Dial-Peer Configuration

 







CONFIGURATION DIAL-PEER

STEP 1

CONFIGURATION IP PHONES R1

CONFIGURATION VOICE VLAN 1 OR IP PHONES

CONFIGURATION DIAL-PEER ON R1

ROUTER RIP CONIGURATION R1

STEP 2

CONFIGURATION IP PHONES R2

CONFIGURATION VOICE VLAN 1 OR IP PHONES

CONFIGURATION DIAL-PEER ON R2

ROUTER RIP CONIGURATION R2

__________________

STEP 1


IP ADDRESS CONFIGURE ON R1 CONFIGURATION MODE.

Router(config)# hostname R1

R1(config)#  interface FastEthernet0/1
R1(config-if)# ip address 1.1.1.1 255.0.0.0
R1(config-if)#  no shutdown
R1(config-if)# interface FastEthernet0/0
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# exit

DHCP CONFIGURATION ON R1.

R1(config)# ip dhcp pool manan
R1(dhcp-config)# network 192.168.1.0 255.255.255.0
R1(dhcp-config)#  default-router 192.168.1.1
R1(dhcp-config)# option 150 ip 192.168.1.1
R1(dhcp-config)# exit

CONFIGURATION IP PHONES ON R1.

R1(config)# telephony-service
R1(config-telephony)#  max-ephones 2
R1(config-telephony)#  max-dn 2
R1(config-telephony)#  ip source-address 192.168.1.1 port 2003
R1(config-telephony)#  auto assign 1 to 2
R1(config-telephony)# ephone-dn 1
R1(config-ephone-dn)# number 101
R1(config-telephony)# ephone-dn 2
R1(config-ephone-dn)# number 102
R1(config-ephone-dn)# exit 

CONFIGURATION ROUTER RIP ON R1.
\
R1(config)# router rip
R1(config-router)# network 1.0.0.0
R1(config-router)# network 192.168.1.0
 
CONFIGURATION DIAL-PEER ON R1.
R1(config) dial-peer voice 1 voip
R1(config-dial-peer)# destination-pattern 5..
R1(config-dial-peer)# session target ipv4:172.165.1.1

GO TO SWITCH CONFIGURATION MODE AND ENTER COMMANDS.


________________

STEP 2
IP ADDRESS CONFIGURE ON R1 CONFIGURATION MODE

Router(config)# hostname R2

R2(config)# interface FastEthernet0/0
R2(config-if)# ip address 1.1.1.1 255.0.0.0
R2(config-if)# no shutdown

R2(config-if)# interface FastEthernet0/1
R2(config-if)# ip address172.165.1.1 255.255.0.0
R2(config-if)# no shutdown
R2(config-if)# exit
DHCP CONFIGURATION ON R1.


R2(config)# ip dhcp pool Hanan
R2(dhcp-config)# network 172.165.1.0  255.255.0.0
R2(dhcp-config)#  default-router 172.165.1.1
R2(dhcp-config)# option 150 ip 172.165.1.1
R2(dhcp-config)# exit
CONFIGURATION IP PHONES ON R1.
R2(config)# telephony-service
R2(config-telephony)#  max-ephones 2
R2(config-telephony)#  max-dn 2
R2(config-telephony)#  ip source-address 172.165.1.1 port 2003
R2(config-telephony)#  auto assign 1 to 2
R2(config-telephony)# ephone-dn 1
R(config-ephone-dn)# number 101
R2(config-telephony)# ephone-dn 2
R2(config-ephone-dn)# number 102
R2(config-ephone-dn)# exit 

CONFIGURATION ROUTER RIP ON R1.
R2(config)# router rip
R2(config-router)# network 1.0.0.0
R2(config-router)# network 172.165.1.0

CONFIGURATION DIAL-PEER ON R1.
R2(config) dial-peer voice 1 voip
R2(config-dial-peer)# destination-pattern 1..
R2(config-dial-peer)# session target ipv4:192.168.1.1

________________

PING PC1 TO PC0 FOR CHECK COMMUNICATION BETWEEN NETWORK.

C:\>ping 192.168.1.2


CHECK COMMUNICATION BETWEEN IP PHONE.


THEN PICK THE CALL WILL BE CONNECTED.




SO CONFIGURATION COMPLETED DIAL-PEEER.

-------------------------






Comments

Popular posts from this blog

BRIDGE MODE AND NAT MODE AP

  BOTH BRIDGE MODE AND NAT MODE ARE WAYS TO CONFIGURE AN ACCESS POINT (AP) TO EXTEND A NETWORK, BUT THEY DIFFER IN HOW THEY HANDLE IP ADDRESSES AND NETWORK TRAFFIC: BRIDGE MODE: CONCEPT: ACTS AS A TRANSPARENT BRIDGE, SIMPLY RELAYING DATA BETWEEN WIRED AND WIRELESS DEVICES. IP ADDRESS: DEVICES OBTAIN THEIR IP ADDRESSES FROM AN UPSTREAM DHCP SERVER, TYPICALLY THE MAIN ROUTER ON THE NETWORK. NETWORK TRAFFIC: ALL DEVICES, BOTH WIRED AND WIRELESS, ARE SEEN AS PART OF THE SAME NETWORK AND CAN DIRECTLY COMMUNICATE WITH EACH OTHER. BENEFITS: SEAMLESS ROAMING: DEVICES CAN EFFORTLESSLY SWITCH BETWEEN APS WITHOUT LOSING THEIR IP ADDRESS OR CONNECTION. SIMPLIFIED NETWORK MANAGEMENT: ALL DEVICES ARE ON THE SAME SUBNET, MAKING CONFIGURATION AND TROUBLESHOOTING EASIER. INCREASED COMPATIBILITY: WORKS WITH DEVICES THAT DON'T SUPPORT NAT TRAVERSAL (E.G., SOME VPN CLIENTS). DRAWBACKS: LESS SECURITY : ALL DEVICES ARE DIRECTLY EXPOSED TO EACH OTHER, POTENTIALLY INCREAS

DOS AND DDOS ATTACK

A Dos (Denial-Of-Service) Attack and A DDOS (Distributed Denial-Of-Service) Attack Are Both Attempts to Make a Computer System or Network Resource Unavailable to Legitimate Users. However, They Differ in How They Achieve This: Dos Attack: Imagine A Single Person Throwing Rocks at A Castle Gate. A This Person Represents the Attacker, And the Rocks Represent the Malicious Traffic. The Castle Gate Represents the Target System or Network Resource. The Attacker Keeps Throwing Rocks, Trying to Overwhelm the Gate's Defenses and Gain Entry. Dos Attacks Are Typically Launched from A Single System. They Can Be Effective Against Small Systems or Networks, But Larger Systems Can Often Withstand Them. DDos Attack: Imagine An Army Throwing Rocks at A Castle Gate. This Army Represents the Attacker, And the Rocks Represent the Malicious Traffic. The Castle Gate Represents the Target System or Network Resource. The Attackers Coordinate Their Attack, Throwing Rocks from Multiple Directions at Once.

VSC (Virtual Cluster Switching)

  VIRTUAL CLUSTER SWITCHING (VCS): THIS IS A PROPRIETARY NETWORK FABRIC TECHNOLOGY DEVELOPED BY BROCADE, LATER ACQUIRED BY EXTREME NETWORKS. IT ALLOWS MULTIPLE PHYSICAL SWITCHES TO BE COMBINED AND MANAGED AS A SINGLE LOGICAL UNIT, OFFERING SEVERAL BENEFITS: SIMPLIFIED MANAGEMENT: MANAGE THE ENTIRE VCS AS ONE ENTITY, REDUCING CONFIGURATION OVERHEAD AND TROUBLESHOOTING COMPLEXITY. INCREASED PORT DENSITY: COMBINE PORTS FROM MULTIPLE SWITCHES TO CREATE A LARGER POOL OF AVAILABLE CONNECTIONS. IMPROVED PERFORMANCE:   ENHANCE LINK UTILIZATION AND LOAD BALANCING ACROSS MULTIPLE PHYSICAL LINKS, REDUCING BOTTLENECKS. ENHANCED REDUNDANCY:   PROVIDES FAILOVER PROTECTION IN CASE OF A SWITCH FAILURE. TRAFFIC WILL BE AUTOMATICALLY REROUTED TO OTHER SWITCHES WITHIN THE VCS. SIMPLIFIED NETWORK TOPOLOGY: ELIMINATES THE NEED FOR COMPLEX LINK AGGREGATION OR SPANNING TREE PROTOCOL (STP) CONFIGURATIONS. _________ VCS, OR VIRTUAL CLUSTER SWITCHING, CAN OPERATE IN DIFFERENT MODES DEPENDI