Skip to main content

Juniper

Last Updated: April 24, 2015

DHCP Helper

DHCP Server: 10.0.0.2

You don't need to do this if they are all on the same VLAN. In my case my server vlan is 10 so I need to create a helper for 100, 101, and 105.

Make sure you already have a L3 interface set up or else your L3 switch won't know where to send the packets.

Here is a sample config:

interfaces {
vlan {
unit 100 {
family inet {
address 172.16.1.1/24;
}
}
}
}
vlans {
Computers {
description "Computers / All other devices";
vlan-id 100;
l3-interface vlan.100;
}
}

Creating the helper:

configure
edit forwarding-options helpers bootp

set server 10.0.0.2
set interface vlan.100
set interface vlan.101
set interface vlan.105

Updating

root> file copy "https://cdn.juniper.net/software/junos/20.3R3.8/<URL>" /tmp/image.tgz
root> request system software add /tmp/image.tgz

Clearing out storage space

root@:RE:0% pkg setop rm previous
root@:RE:0% pkg delete old

root> request system storage cleanup