[j-nsp] SRX DHCP server not in default routing-instance
Mircho Mirchev
mircho at gmail.com
Thu Oct 22 09:55:46 EDT 2009
Hi,
Does anyone has ever tried to use the build-in Junos DHCP server into other
routing-instance.
Here's the conf statement:
system {
dhcp {
traceoptions {
file dhcp_debug.log size 5m files 10;
level all;
flag all;
}
pool 192.168.1.0/24 {
address-range low 192.168.1.10 high 192.168.1.20;
router {
192.168.1.1;
}
}
pool 192.168.2.0/24 {
address-range low 192.168.2.10 high 192.168.2.20;
router {
192.168.2.1;
}
}
}
}
interfaces {
fe-0/0/0 {
unit 0 {
family inet {
address 192.168.254.15/24;
}
}
}
fe-0/0/1 {
unit 0 {
family inet {
address 192.168.254.100/24;
}
}
}
fe-0/0/2 {
unit 0 {
family inet {
address 192.168.1.1/24;
}
}
}
fe-0/0/3 {
unit 0 {
family inet {
address 192.168.254.200/24;
}
}
}
fe-0/0/4 {
unit 0 {
family inet {
address 192.168.2.1/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 10.10.10.1/32;
}
}
}
}
routing-instances {
isp1 {
instance-type virtual-router;
interface fe-0/0/1.0;
interface fe-0/0/2.0;
routing-options {
static {
route 0.0.0.0/0 next-hop 192.168.254.1;
}
}
}
isp2 {
instance-type virtual-router;
interface fe-0/0/3.0;
interface fe-0/0/4.0;
routing-options {
static {
route 0.0.0.0/0 next-hop 192.168.254.1;
}
}
}
}
And here is the result:
Oct 22 21:45:32 changed ifd fe-0/0/2 to down
Oct 22 21:45:34 rtsock ifd message for fe-0/0/2
Oct 22 21:45:34 changed ifd fe-0/0/2 to up
Oct 22 21:45:35 received packet from 0.0.0.0 port 68 interface fe-0/0/2.0
routing instance isp1
Oct 22 21:45:35 packet from 0.0.0.0 discarded: not default routing instance
Oct 22 21:45:39 received packet from 0.0.0.0 port 68 interface fe-0/0/2.0
routing instance isp1
Oct 22 21:45:39 packet from 0.0.0.0 discarded: not default routing instance
Oct 22 21:45:42 received packet from 0.0.0.0 port 68 interface fe-0/0/2.0
routing instance isp1
Oct 22 21:45:42 packet from 0.0.0.0 discarded: not default routing instance
Seems that DHCP server is working only in default routing-instance, but this
is not stated anywhere.
Asking here first, then preparing to raise case in JTAC
Mircho
JNCIS-M, JNCIS-ES, JNCIA-EX
More information about the juniper-nsp
mailing list