How to Configure IP Address in Juniper Router Interface

On Router 1
[edit interfaces]
root@Router-1# set ge-1/1/0 unit 0 description "Router-1 to Router-2"
root@Router-1set ge-1/1/0 unit 0 family inet address 10.1.60.1/24
root@Router-1#commit

On Router 2
[edit interfaces]
root@Router-2# set ge-1/1/0 unit 0 description "Router-2 to Router-1"
root@Router-2set ge-1/1/0 unit 0 family inet address 10.1.60.2/24
root@Router-2#commit

Check connectivity on both routers
root@router-1> ping 10.1.60.2
PING 10.1.60.2 (10.1.60.2): 56 data bytes
64 bytes from 10.1.60.2: icmp_seq=0 ttl=64 time=156.126 ms
64 bytes from 10.1.60.2: icmp_seq=1 ttl=64 time=120.393 ms
64 bytes from 10.1.60.2: icmp_seq=2 ttl=64 time=175.361 ms


root@router-1> ping 10.1.60.1
PING 10.1.60.1 (10.1.60.1): 56 data bytes
64 bytes from 10.1.60.1: icmp_seq=0 ttl=64 time=156.126 ms
64 bytes from 10.1.60.1: icmp_seq=1 ttl=64 time=120.393 ms
64 bytes from 10.1.60.1: icmp_seq=2 ttl=64 time=175.361 ms

Interface Verification Commands
show interface terse

Comments