Skip to main content

Assigning IP Address in Cisco Router and Juniper Router (Cisco vs Juniper).


Assigning IP Address in Cisco Router and Juniper (Cisco vs Juniper).

This tutorial will help you to understand the difference between assigning IP address in cisco router and juniper router. Both Router has their own IOS so that the configuration also be difference.
So we will start by configure Cisco router then juniper router.


In cisco router for LAN  we are using network 192.168.1.0/24 and for say WAN IP 195.185.110.3/30 and in juniper side for  LAN 172.16.10.1/24 and for say WAN IP  103.195.11.3/30

Cisco Router:

For IP configuration, first we have to login router configuration mode. Then set all ip  addresses in interface and no shutdown command using for up the interface from administratively down because of by default router port is always administratively down. Finally save all changes or configuration by using command copy run start.

Router>
Router>enable
Router#
Router#configure terminal
Router(config)#        
Router(config)#interface fastethernet0/1        
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#description LAN interface - default gateway
Router(config-if)#no shutdown
Router(config-if)#exit

Router(config)#interface serial 0/0
Router(config-if)#ip add 195.185.110.3 255.255.255.252
Router(config-if)#no shutdown
Router(config-if)#clock rate 64000
Router(config-if)#description WAN interface connected to Internet/ISP
Router(config-if)#exit
Router(config)#end
Router#copy run start


Now we will go for configure Juniper router:


Juniper Router:

First, we will login configure mode by using command configure or edit.Then edit interface for LAN ge-1/1/0 and set ip address and then edit interface ge-1/0/1 for WAN and assign ip address and description. Finally save all configuration by using command commit.


# cli
 root@Router>
 root@Router> configure
[edit]
 root@Router# edit interfaces ge-1/1/0
[edit interfaces ge-1/1/0]
 root@Router# set description LAN interface - default gateway
[edit interfaces ge-1/1/0]
 root@R1# set unit 0 family inet address 172.16.10.1/24
[edit interfaces ge-1/1/0]

 root@Router# edit interfaces ge-1/0/1
[edit interfaces ge-1/0/1]
 root@Router# set description WAN interface connected to Internet/ISP
[edit interfaces ge-1/0/1]
 root@Router# set unit 0 family inet address 103.195.11.3/24
[edit interfaces ge-1/0/1]
 root@Router# commit


Thanks...

If any one has feedback about this blog please comment or send feedback and if you have any topics that i can discuss please share.I will try my best to make tutorial based on your topics.Take Care.

Comments

Post a Comment

Popular posts from this blog

"How To Set up NAT on a Mikrotik Router: A Comprehensive Guide"

  In this tutorial, we will configure Source NAT (srcnat) on Mikrotik router. From diagram we see that local network is 192.168.0.0/24 and our public network is 10.5.8.0/24 and local interface or gateway ip is 192.168.0.1/24 and public interface ip is 10.5.8.10/24. By Using Winbox: 1. First, configure the local gateway ip address 192.168.0.1/24 in ether1 and public ip 10.5.8.10/24 interface in ether2. 2. Then click on IP tab    3. After click IP tab click on Firewall tab 4. In Firewall we can see NAT tab and click on NAT tab then click + sign.then NAT RULE will appear. 5. In NAT RULE, click General tab. here we select chain will be srcnat select by drop down list.then select ether2 in Out.Interface select by drop down list.  6. Then click Action tab in NAT Rule page and action will be masquerade select by drop down list.then click OK. After click OK NAT configuration will be done. By Using Termina

How to Setup DHCP Server and IP Pool in Mikrotik Devices

DHCP( Dynamic Host Configuration Protocol),basically a network management protocol used to dynamically assign ip address to any network device. We will try to configure DHCP server in Mikrotik router in this tutorial. Consider following diagram we can see LAN gateway configure on ether1 interface.we will setup DHCP server for LAN 192.168.0.0/24. First, we have login Mikrotik with admin privilege.click IP tab and then click pool to create ip pool for dhcp server. In IP Pool window,click on Pools,  then click + symbol and then mention a pool name in Name here we use Local_Pool then mention range of ip address, we use 192.168.0.2-192.168.0.254  then click OK . But you can create ip range as you like and create multiple pool.Here Next pool is selected none but you can select another created pool in Next Pool if more ip requirements over existing pool. Then Local_Pool will create. Now click IP then click  DHCP Server to create dhcp server.

How to Setup VPN PPTP Server in Mikrotik Router? (Tutorial)

PPTP Server is using for VPN. Its so easy to configure pptp server in Mikrotik. Now we can see how easily configure pptp server in Mikrotik router. Lets see the below diagram. Login to the Mikrotik Router via Winbox and click IP then Pool : Click on the “ + Symbol ” to add new pool, Name will be whatever you want like I named it VPN_Pool_20  add the address range ( 192.168.20.2-192.168.20.30 , in my case), then click  OK. Now go to the PPP Section and Click “ PPTP Server ” and check the Enabled : Now on the PPP  page, switch to the “ Profiles ” tab. Click on the + sign to create new profile, Name will be whatever you like (like I use VPN-POOL ), set the pool that we have created earlier for “Local Address” AND “Remote address“, then click  OK . Now click on  the “ Secrets ” tab of the PPP window. Click on the + sign to create new user, add the name(which act as username), password and service may be any or pptp and profile that we