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...
Bardzo fajnie napisane. Jestem pod wrażeniem i pozdrawiam.
ReplyDelete