I'm trying to configure a basic DHCP server on a Juniper MX5. Although I have a significant experience of configuring DHCP servers on a branch Juniper devices, the standard approach mysteriously doesn't work: as soon as I switch to DHCP on a client host, the connectivity breaks, the only protocol that is working is ARP (the host even cannot ping a router). The most astonishing aspect is that I assign the same IPv4 address as static as the MX5 gives as dynamic, yet when received by DHCP it doesn't work.
I've found a book where it's explained how to configure DHCP on a high-end JunOS devices using vlan-ranges, dynamic profiles and bound variables; is this even possible without all of this ?
I'm using the following config:
[access]
profile local {
authentication-order none;
}
address-assignment {
pool vlan116v6 {
family inet6 {
prefix 2a04:8681::/64;
dhcp-attributes {
dns-server {
2001:4860:4860::8844;
2001:4860:4860::8888;
}
}
}
}
pool vlan116v4 {
family inet {
network 10.10.116.0/24;
range vlan116-dynamic {
low 10.10.116.51;
high 10.10.116.249;
}
dhcp-attributes {
domain-name hosting-telecom.uk;
name-server {
8.8.4.4;
8.8.8.8;
}
router {
10.10.116.1;
}
}
}
}
}
[system services]
ssh;
dhcp-local-server {
dhcpv6 {
overrides {
interface-client-limit 100;
}
group vlan116 {
interface irb.116;
}
}
pool-match-order {
ip-address-first;
}
authentication {
username-include {
mac-address;
}
}
group default {
interface irb.116;
}
}