Quantcast
Channel: All SRX Services Gateway posts
Viewing all articles
Browse latest Browse all 17645

Re: services dhcp-local-server vs service dhcp and vlan

$
0
0

Sometime is wrong with the arp timeout or refeshing the dhcp table in this case jdhcp table

 

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

and 

pool LAN3 {
    family inet {
        network 192.168.3.0/24;
        range wired {
            low 192.168.3.50;
            high 192.168.3.254;         
        }                               
        dhcp-attributes {               
            name-server {                        
                8.8.8.8;                
            }                           
            router {                    
                192.168.3.1;            
            }                           
            propagate-settings vlan.3;  
        }                               
        host maclaptop {                 
            hardware-address AA:BB:XX:XX:XX:XX;
            ip-address 192.168.3.20;    
        }                               
    }                                   
}     

after added "host maclaptop" to get internal static ip, the IP remains the same (192.168.3.50) only after I rebooted the SRX240 I get the IP 192.168.3.20, look like it doesn't refresh the ip after the commit 

now another example if I remove the "host maclaptop" and I commit  the ip of the maclaptop remain 192.168.3.20 it doesn't get ip from the pool range 192.168.3.50-254 ,even after "renew DHCP lease" on mac or unplug and plug the cable from the laptop.

 

run show arp 
MAC Address       Address         Name                      Interface           Flags

AA:BB:XX:XX:XX 192.168.3.15    192.168.3.15              vlan.3              permanent

any idea ?


Viewing all articles
Browse latest Browse all 17645

Trending Articles



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