Junos
Highlighted
Junos

Simple IP config won't ping

‎03-11-2020 09:06 PM

Why doesn't the config of these 2 interfaces with IP addresses work? Thanks

 

left-qfx5k       xe-0/0/44 (192.168.10.1)   <--------->     (192.168.10.1)  et-0/0/24:0        right-ptx1k

root@left-qfx5k# show interfaces xe-0/0/44 | display set 
set interfaces xe-0/0/44 unit 0 family inet address 192.168.10.1/32

{master:0}[edit]

root@left-qfx5k#

root@left-qfx5k> show interfaces terse 
Interface               Admin Link Proto    Local                 Remote
.......
xe-0/0/44               up    up
xe-0/0/44.0             up    up   inet     192.168.10.1        --> 0/0

-------------------------------------
root@right-ptx1k# show interfaces et-0/0/24:0 | display set
set interfaces et-0/0/24:0 unit 0 family inet address 192.168.10.2/32

[edit]
root@right-ptx1k# run show interfaces terse 
Interface               Admin Link Proto    Local                 Remote
et-0/0/24:0.0           up    up   inet     192.168.10.2        --> 0/0
                                   inet6    fe80::f6a7:39ff:febe:e8b3/64
                                   mpls    
                                   multiservice
et-0/0/24:1             up    up
et-0/0/24:2             up    up
et-0/0/24:3             up    up

 

3 REPLIES 3
Highlighted
Junos
Solution
Accepted by topic author PL2
‎03-11-2020 09:40 PM

Re: Simple IP config won't ping

‎03-11-2020 09:13 PM

Change /32 subnet to /30 on both sides..

 

Thanks,
Nellikka
JNCIE x3 (SEC #321; SP #2839; ENT #790)
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too!!!
Highlighted
Junos

Re: Simple IP config won't ping

‎03-11-2020 09:39 PM
Why doesn't Junos allow host address on its interface? Thanks
Highlighted
Junos

Re: Simple IP config won't ping

‎03-11-2020 09:51 PM


This is because the /32 subnet only allows a single IPv4 address and all traffic will go directly between the device with that address and the default gateway (If any) from a host perspective. The device would not be able to communicate with other devices on the network since he is basically alone and there is no gateway.

 

For p2p links use /30 or /31 but never 32 

 

If this solves your problem, please mark this post as "Accepted Solution" so we can help others too \:)/

Regards,

Lil Dexx
JNCIE-ENT#863, 3X JNCIP-[SP-ENT-DC], 4X JNCIA [cloud-DevOps-Junos-Design], Champions Ingenius, SSYB

Feedback