ge-0/0/4 added to logical system LR3, in order to connect external device (in this case arm64 sbc) we will need dhcp server. Dhcp pool will be configured for /30 … will provide single ip address via dhcp 🙂
Configure dhcp-server
# configure ge-0/0/4 for dhcp-server
set system services dhcp-local-server group dhcp interface ge-0/0/4
# configure dhcp server pool
set access address-assignment pool dhcp family inet network 10.0.4.0/30
set access address-assignment pool dhcp family inet range dhcp low 10.0.4.2
set access address-assignment pool dhcp family inet range dhcp high 10.0.4.2
# configure dhcp server attributes
set access address-assignment pool dhcp family inet dhcp-attributes name-server 8.8.8.8
set access address-assignment pool dhcp family inet dhcp-attributes name-server 8.8.4.4
set access address-assignment pool dhcp family inet dhcp-attributes router 10.0.4.1
Validation
# connect device with dhcp client to port ge-0/0/4 and check local dhcp server
lr3@acx1100:lr3> show dhcp server binding
IP address Session Id Hardware address Expires State Interface
10.0.4.2 1 6e:6a:c9:b9:01:80 86365 BOUND ge-0/0/4.0
lr3@acx1100:lr3> ping count 3 10.0.4.2
PING 10.0.4.2 (10.0.4.2): 56 data bytes
64 bytes from 10.0.4.2: icmp_seq=0 ttl=64 time=1.231 ms
64 bytes from 10.0.4.2: icmp_seq=1 ttl=64 time=1.217 ms
64 bytes from 10.0.4.2: icmp_seq=2 ttl=64 time=1.291 ms
--- 10.0.4.2 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.217/1.246/1.291/0.032 ms