Quantcast
Channel: SRX Services Gateway topics
Viewing all articles
Browse latest Browse all 3959

Bug ? Sometime the dhcp IP is wrong for the client when I move a client from VLAN ID to another VLAN ID (using JDHCP)

$
0
0

 SRX240H2   --  JUNOS 12.3X48-D30.7

 

example ,

I plugged my laptop to vlan14 where the pool is 192.168.14.0/23 so it get the right dhcp Ip 

then 

 I plugged the same laptop to vlan2  where the pool is 192.168.2.0/24 and the result :
the dhcp is wrong keep on vlan14 and gateway is correct 192.168.2.1., the laptop should be Client pool name: "LAN2"

 

similar behavior I had with other 2 different laptops . 

 

Screen Shot 2016-11-17 at 16.07.00.pngScreen Shot 2016-11-17 at 16.08.22.png

 

 

 

configuration only for the vlan2 and vlan14

   dhcp-local-server {
            group JDHCP {
                interface vlan.14;
                interface vlan.2;
   }
}

access {
    address-assignment {
        pool LAN14-15 {
            family inet {
                network 192.168.14.0/23;
                range dhcprange {
                    low 192.168.14.10;
                    high 192.168.14.254;
                }
                dhcp-attributes {
                    maximum-lease-time 3600;
                    name-server {
                        8.8.8.8;
                        8.8.4.4;
                    }
                    router {
                        192.168.14.1;
                    }
                    propagate-settings vlan.14;
                }
            }
        }
        pool LAN2 {
            family inet {
                network 192.168.2.0/24;
                range dhcprange {
                    low 192.168.2.50;
                    high 192.168.2.152;
                }
                dhcp-attributes {
                    maximum-lease-time 3600;
                    name-server {
                        8.8.8.8;
                        8.8.4.4;
                    }
                    router {
                        192.168.2.1;
                    }
                    propagate-settings vlan.2;
                }
        
            }
        }
    }
}


security    {
zones {
security-zone trust {
tcp-rst;
host-inbound-traffic {
system-services {
all;
}
protocols {
all;
}
}
  interfaces {
vlan.2 vlan.14
} } interfaces { ge-0/0/3 { description LAN; unit 0 { family ethernet-switching { port-mode trunk; vlan { members [ 2 14 ]; } } } } vlan { unit 2 { family inet { address 192.168.2.2/24 { vrrp-group 2 { virtual-address 192.168.2.1; priority 200; preempt { hold-time 10; } accept-data; authentication-type md5; authentication-key "XXXXXXXXXXXX"; track { route 0.0.0.0/0 routing-instance default priority-cost 60; } } } } } unit 14 { family inet { address 192.168.14.2/23 { vrrp-group 14 { virtual-address 192.168.14.1; priority 200; preempt { hold-time 10; } accept-data; authentication-type md5; authentication-key "XXXXXX"; ## SECRET-DATA track { route 0.0.0.0/0 routing-instance default priority-cost 60; } } } } } } vlans{ GUEST2 { vlan-id 2; l3-interface vlan.2; } GUESTS14 { vlan-id 14; l3-interface vlan.14; }

Any suggestion ?

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 3959

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>