[j-nsp] static arp with unnumbered-address

Alexander Arseniev arseniev at btinternet.com
Thu Feb 13 02:30:47 EST 2020


Hello,
Firstly, Your example configuration with static /24 routes and 
qualified-NH to IFL does not commit - even after fixing the host portion 
- with error message "subnet routes are not allowed with MAC NH".
Secondly, You could have second static  198.51.100.0/24 resolve via 1st 
/32:
set routing-instances internet routing-options static route 
192.0.2.11/32 qualified-next-hop et-0/0/0.2766
set routing-instances internet routing-options static route 
198.51.100.0/24 next-hop 192.0.2.11 resolve
Thanks
Alex

------ Original Message ------
From: "Baldur Norddahl" <baldur at gigabit.dk>
To: "Juniper List" <juniper-nsp at puck.nether.net>
Sent: 12/02/2020 23:04:37
Subject: [j-nsp] static arp with unnumbered-address

>Hello
>
>How do you program in a static arp entry on an interface that is using
>family inet unnumbered-address ?
>
>Eg.:
>
>interface ps1 {
>     unit 2766 {
>         proxy-arp restricted;
>         vlan-tags outer 402 inner 1016;
>         family inet {
>             unnumbered-address lo0.1;
>         }
>     }
>}
>routing instance internet routing-options {
>     interface et-0/0/0.2766;
>     static {
>         route 192.0.2.11/24 {
>             qualified-next-hop et-0/0/0.2766;
>         }
>           route  198.51.100.22/24 {
>             qualified-next-hop et-0/0/0.2766;
>         }
>
>It is not possible to have the juniper router do correct arp in this case.
>You can have the 192.0.2.0/24 range working or you can have the
>198.51.100.0/24 working using preferred source address but not both. So I
>figured I could get away with simply hard coding the arp entry. However
>static arp is in the family inet address subtree so can not be specified
>here. Seriously ?
>
>Regards,
>
>Baldur
>_______________________________________________
>juniper-nsp mailing list juniper-nsp at puck.nether.net
>https://puck.nether.net/mailman/listinfo/juniper-nsp


More information about the juniper-nsp mailing list