Hello, i making dhcp server on custom routing instance virtual router and the host cant got gateway. Host have IP adress, but gateway dont have. Where is the problem?
Sorry for bad english.
set interfaces fe-0/0/2 description "L2 to vil_pagr_gijos_mokykla"
set interfaces fe-0/0/2 unit 0 family inet address 172.16.150.254/24 primary
set interfaces fe-0/0/2 unit 0 family inet address 10.33.150.254/24
set interfaces fe-0/0/7 unit 0 description "darzelio LAN"
set interfaces fe-0/0/7 unit 0 family inet address 10.33.44.129/26
set routing-instances darzelio_vr instance-type virtual-router
set routing-instances darzelio_vr system services dhcp-local-server group darz interface fe-0/0/7.0
set routing-instances darzelio_vr access address-assignment pool darzelio_lan family inet network 10.33.44.128/26
set routing-instances darzelio_vr access address-assignment pool darzelio_lan family inet range mokyklos_dhcp low 10.33.44.130
set routing-instances darzelio_vr access address-assignment pool darzelio_lan family inet range mokyklos_dhcp high 10.33.44.190
set routing-instances darzelio_vr interface fe-0/0/7.0
set routing-instances darzelio_vr interface st0.1
set routing-instances darzelio_vr routing-options static route 0.0.0.0/0 next-hop 10.33.255.254
set routing-instances mokyklos_vr instance-type virtual-router
set routing-instances mokyklos_vr system services dhcp-local-server group mok interface fe-0/0/2.0
set routing-instances mokyklos_vr access address-assignment pool mokyklos_lan family inet network 172.16.150.0/24
set routing-instances mokyklos_vr access address-assignment pool mokyklos_lan family inet range mokyklos_dhcp low 172.16.150.20
set routing-instances mokyklos_vr access address-assignment pool mokyklos_lan family inet range mokyklos_dhcp high 172.16.150.200
set routing-instances mokyklos_vr interface fe-0/0/2.0
set routing-instances mokyklos_vr interface st0.0
set routing-instances mokyklos_vr routing-options static route 0.0.0.0/0 next-hop 10.33.254.126