JN0-102 · Question #88
You have two IP addresses configured on the ge-0/0/6 interface, as shown in the exhibit. You want to select the 172.16.10.101 address as the source address for packets sent from this interface to…
The correct answer is A. preferred. To ensure a specific IP address is used as the source for outgoing packets on a multi-addressed Junos interface, configure it as the preferred address.
Question
You have two IP addresses configured on the ge-0/0/6 interface, as shown in the exhibit. You want to select the 172.16.10.101 address as the source address for packets sent from this interface to hosts on a remote subnet. [edit interfaces ge-0/0/6] user@router# show { familyinet { address 172.16.10.100/24; address 172.16.10.101/24; } } Which parameter would you add to the 172.16.10.101 address to complete this task?
Options
- Apreferred
- Bbroadcast
- Cprimary
- Darp 172.16.10.101
How the community answered
(31 responses)- A84% (26)
- B3% (1)
- C3% (1)
- D10% (3)
Why each option
To ensure a specific IP address is used as the source for outgoing packets on a multi-addressed Junos interface, configure it as the `preferred` address.
The `preferred` parameter configures a specific IP address on an interface to be the preferred source address for locally generated packets originating from that interface, if no other policy dictates otherwise.
The `broadcast` parameter defines the broadcast address for the subnet, not for selecting a source IP.
The `primary` parameter designates an address as the primary address, typically for system services, but it doesn't guarantee it will be the source for all outgoing packets over a preferred address.
The `arp` parameter is used for static ARP entries, not for selecting a source IP address on the interface itself.
Concept tested: Junos interface address preference
Source: https://www.juniper.net/documentation/us/en/software/junos/routing-interfaces/topics/topic-map/interfaces-logical-address-properties.html
Topics
Community Discussion
No community discussion yet for this question.