<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259694#M43895</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;What exactly are you building? You mentioned Vagrant. Is this about reproducible lab environments?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It's exactly this! I am using netlab (&lt;A href="https://netlab.tools" target="_blank"&gt;https://netlab.tools&lt;/A&gt;) to create a virtual lab, similar to Eve-NG or GNS3, but quite different as well. I have a number of different vendors and platform, and the goal is to have a lab fully automated, so there is no manual action to get it to its intended state. netlab deals with a huge amount of that configuration for the supported vendors, and for the other, I am using some script to apply what I want.&lt;/P&gt;&lt;P&gt;My issue with Check Point, is related to the First Time Wizard, so I decided to create a vagrant box after completing the FTW. This way, when I create a new VM based on the vagrant box, it would have already completed this step, ready to be used in the lab, and for the script to apply the specific configuration that I want (ospf/lldp/ntp...)&lt;/P&gt;&lt;P&gt;But obviously, there is now the issue with the management IP address, as the VM used to create the box is not on the same subnet as the subnet for the lab, and I'm not sure if I can do this, hence I am playing with DHCP. I understand DHCP is not recommended for the management interface, but once the VM is created, the DHCP address will not change. So it will stay the same for the life of that VM.&lt;/P&gt;&lt;P&gt;I also attempted to use automation for the FTW, but without success, and it's not my preferred option, as I would prefer the FW to be ready once created and booted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;You can, it's just a headache because you have to include &lt;STRONG&gt;&lt;EM&gt;all&lt;/EM&gt;&lt;/STRONG&gt; the interfaces in the object you pass in the API call.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't mind this too much, if that could solve my problem, I'd be happy to find a way to generate the payload based on all the interfaces.&lt;/P&gt;&lt;P&gt;Unless of course, there is another (simpler?) approach I haven't considered!&lt;/P&gt;</description>
    <pubDate>Fri, 10 Oct 2025 22:52:15 GMT</pubDate>
    <dc:creator>NoodleOps</dc:creator>
    <dc:date>2025-10-10T22:52:15Z</dc:date>
    <item>
      <title>Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259354#M43887</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;For a project that I am working on, where the Check Point VM can be destroyed and brought back up, I am trying to automatically assign the Management interface via DHCP client. This works fine, so when my VM boots, it will get the IP address via DHCP as I would expect.&lt;/P&gt;&lt;P&gt;Now my problem, is when I go to &lt;A href="https://community.checkpoint.com/" target="_blank"&gt;https://&amp;lt;dhcp-assigned-ip&amp;gt;/smartconsole,&lt;/A&gt;&amp;nbsp;I can see a different IP, which was the one I entered when I went through the First Time Wizard.&lt;/P&gt;&lt;P&gt;Here are some logs from the device:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cpfw&amp;gt; show interface eth0
state on
mac-addr 08:4f:a9:01:00:00
type ethernet
link-state link up
mtu 1500
auto-negotiation off
speed N/A
ipv6-autoconfig Not configured
monitor-mode Not configured
duplex N/A
link-speed Not configured
comments
ipv4-address 10.194.59.200/24 (dhcp)
ipv6-address Not Configured
ipv6-local-link-address Not Configured

Statistics:
TX bytes:30073470 packets:211552 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:29424053 packets:219016 errors:0 dropped:3 overruns:0 frame:0

SD-WAN: Not Configured
cpfw&amp;gt; show configuration interface
set interface eth0 state on
set interface eth0 auto-negotiation off
set interface eth0 ipv4-address 192.168.122.105 mask-length 24
set interface eth1 state off
set interface eth1 auto-negotiation off
set interface eth2 state off
set interface eth2 auto-negotiation off
set interface lo state on
set interface lo ipv4-address 127.0.0.1 mask-length 8
cpfw&amp;gt; show configuration dhcp-client
add dhcp client interface eth0
set dhcp client interface eth0 timeout 60
set dhcp client interface eth0 retry 300
set dhcp client interface eth0 reboot 10
cpfw&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see the command `show interface eth0` display the correct IP address, the one assigned by DHCP. Which is great.&lt;/P&gt;&lt;P&gt;But when I look at the configuration, there is the line: `set interface eth0 ipv4-address 192.168.122.105 mask-length 24`&lt;/P&gt;&lt;P&gt;I have tried to remove this line, but without success.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cpfw&amp;gt; delete interface eth0 ipv4-address
NMSETH0029  Management interface must have an IP address.
cpfw&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will see attach the screenshot showing the view from a SmartConsole, where we have the same static IP, but not the one assigned via DHCP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now my question is pretty simple: is this something that can work, and if so, how can I do it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;BR /&gt;Seb&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 08:50:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259354#M43887</guid>
      <dc:creator>NoodleOps</dc:creator>
      <dc:date>2025-10-08T08:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259357#M43888</link>
      <description>&lt;P&gt;Actually, even when trying to fix it manually, by changing the IP address, it doesn't work:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cpfw&amp;gt; set interface eth0 ipv4-address 10.194.59.200 mask-length 24
NMSETH0029  Dhcp client is enabled for this interface, IP address can't be configured.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 09:03:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259357#M43888</guid>
      <dc:creator>NoodleOps</dc:creator>
      <dc:date>2025-10-08T09:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259407#M43889</link>
      <description>&lt;P&gt;Your management server should not have a DHCP address in the first place. SIC with the security GWs will not work properly if the IP of your SMS is changing all the time&lt;BR /&gt;&lt;BR /&gt;You need to rethink your design.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 10:52:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259407#M43889</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2025-10-08T10:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259415#M43890</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I was able to connect to the SmartConsole and manually update the IP address there, and it worked. Is there a way I can perform this operation via CLI, or worse case via API call?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 11:19:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259415#M43890</guid>
      <dc:creator>NoodleOps</dc:creator>
      <dc:date>2025-10-08T11:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259418#M43891</link>
      <description>&lt;P&gt;It's only at the creation of the VM that I want to use DHCP to assign the IP address, once the VM is created, that IP will not change. But the disk I am using to create the VM has already gone through the First Time Wizard. It was easier for me to do it this way, rather than using the script described in&amp;nbsp;&lt;A href="https://community.checkpoint.com/t5/Security-Gateways/Automating-the-First-Time-Configuration-Wizard/td-p/179689" target="_blank" rel="noopener"&gt;this discussion&lt;/A&gt;, which makes it a more complex solution.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 11:40:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259418#M43891</guid>
      <dc:creator>NoodleOps</dc:creator>
      <dc:date>2025-10-08T11:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259419#M43892</link>
      <description>&lt;P&gt;Maybe this?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;clish&amp;gt; add interface eth0 alias &amp;lt;dhcp-ip&amp;gt;/24
clish&amp;gt; save config&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Oct 2025 11:50:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259419#M43892</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-10-08T11:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259654#M43893</link>
      <description>&lt;P&gt;This is a great idea, I forgot about this command, I saw it a little while ago. It does work pretty well, but it doesn't solve my problem.&lt;/P&gt;&lt;P&gt;What I've now realised, is when I delete and recreate my VM based on the vagrant box I have created, I have the following:&lt;/P&gt;&lt;P&gt;1. In the UI (&lt;A href="https://dhcp-ip/" target="_blank"&gt;https://dhcp-ip/&lt;/A&gt;) I can see the correct IP is showing, but when I look in the CLI, I do have the static IP I used when creating the box, which is no longer used...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cpfw&amp;gt; show configuration interface
set interface eth0 state on
set interface eth0 auto-negotiation off
set interface eth0 ipv4-address 192.168.122.105 mask-length 24
cpfw&amp;gt; show configuration dhcp-client
add dhcp client interface eth0
set dhcp client interface eth0 timeout 60
set dhcp client interface eth0 retry 300
set dhcp client interface eth0 reboot 10&lt;/LI-CODE&gt;&lt;P&gt;So this is pretty good, but a bit annoying that I can't remove the line:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;set interface eth0 ipv4-address 192.168.122.105 mask-length 24&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;2. On the SmartConsole, this is where I need to do a manual update, but I would like to do it via API. If I go to &lt;A href="https://community.checkpoint.com/" target="_blank"&gt;https://&amp;lt;dhcp-ip&amp;gt;/smartconsole&lt;/A&gt;&amp;nbsp;I can see the IP of my firewall is showing the one of the old address, not the dhcp. I need to change it from the UI, using a proper SmartConsole, as the WebUI doesn't allow me to change this. Is there a way to do this via API?&lt;/P&gt;&lt;P&gt;It also seems that I need to do it in two places (as per the screenshot), I would really appreciate some help on where to find the API documentation to do those actions programmatically, instead of manually.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SCR-20251010-nvtz.png" style="width: 844px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/31713iF6AA18C02D3F6482/image-dimensions/844x376?v=v2" width="844" height="376" role="button" title="SCR-20251010-nvtz.png" alt="SCR-20251010-nvtz.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 14:43:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259654#M43893</guid>
      <dc:creator>NoodleOps</dc:creator>
      <dc:date>2025-10-10T14:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259684#M43894</link>
      <description>&lt;P&gt;You can, it's just a headache because you have to include &lt;STRONG&gt;&lt;EM&gt;all&lt;/EM&gt;&lt;/STRONG&gt; the interfaces in the object you pass in the API call.&lt;/P&gt;
&lt;P&gt;What exactly are you building? You mentioned Vagrant. Is this about reproducible lab environments?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 20:05:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259684#M43894</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2025-10-10T20:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259694#M43895</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;What exactly are you building? You mentioned Vagrant. Is this about reproducible lab environments?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It's exactly this! I am using netlab (&lt;A href="https://netlab.tools" target="_blank"&gt;https://netlab.tools&lt;/A&gt;) to create a virtual lab, similar to Eve-NG or GNS3, but quite different as well. I have a number of different vendors and platform, and the goal is to have a lab fully automated, so there is no manual action to get it to its intended state. netlab deals with a huge amount of that configuration for the supported vendors, and for the other, I am using some script to apply what I want.&lt;/P&gt;&lt;P&gt;My issue with Check Point, is related to the First Time Wizard, so I decided to create a vagrant box after completing the FTW. This way, when I create a new VM based on the vagrant box, it would have already completed this step, ready to be used in the lab, and for the script to apply the specific configuration that I want (ospf/lldp/ntp...)&lt;/P&gt;&lt;P&gt;But obviously, there is now the issue with the management IP address, as the VM used to create the box is not on the same subnet as the subnet for the lab, and I'm not sure if I can do this, hence I am playing with DHCP. I understand DHCP is not recommended for the management interface, but once the VM is created, the DHCP address will not change. So it will stay the same for the life of that VM.&lt;/P&gt;&lt;P&gt;I also attempted to use automation for the FTW, but without success, and it's not my preferred option, as I would prefer the FW to be ready once created and booted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;You can, it's just a headache because you have to include &lt;STRONG&gt;&lt;EM&gt;all&lt;/EM&gt;&lt;/STRONG&gt; the interfaces in the object you pass in the API call.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't mind this too much, if that could solve my problem, I'd be happy to find a way to generate the payload based on all the interfaces.&lt;/P&gt;&lt;P&gt;Unless of course, there is another (simpler?) approach I haven't considered!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 22:52:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259694#M43895</guid>
      <dc:creator>NoodleOps</dc:creator>
      <dc:date>2025-10-10T22:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259695#M43896</link>
      <description>&lt;P&gt;I would just use cloud-init to handle the first-time config when the VM is built. I did something similar a while ago and &lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion/Long-Lived-Lab-API-Target/m-p/217058" target="_self"&gt;documented my process for building Check Point VMs in a repeatable way&lt;/A&gt;. The advantage of doing the first-time config from scratch is you get a new 15-day plug-and-play license each time.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 23:38:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259695#M43896</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2025-10-10T23:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259698#M43897</link>
      <description>&lt;P&gt;I have all the confidence what&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/27871"&gt;@Bob_Zimmerman&lt;/a&gt;&amp;nbsp; gave you will work. He is after all, API king.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2025 00:23:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259698#M43897</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-10-11T00:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259712#M43898</link>
      <description>&lt;P&gt;This is interesting, I tend to disregard every mention of `cloud-init` because I struggle with it, but maybe it's now time to embrace it...&lt;/P&gt;&lt;P&gt;If I understand correctly, I need to:&lt;/P&gt;&lt;P&gt;1. check this page to create my cloud-init config:&amp;nbsp;&lt;A href="https://support.checkpoint.com/results/sk/sk179752" target="_blank"&gt;https://support.checkpoint.com/results/sk/sk179752&lt;/A&gt;, somehow adding all the management and gateway config together as I am using the standalone mode. I will later need to find a way of generating this file automatically to ensure it has the correct variables (password, IP addresses...)&lt;/P&gt;&lt;P&gt;2. Then I need to create my VM, using the disk image and the ISO created from the cloud-init config, following the instructions &lt;A href="https://support.checkpoint.com/results/sk/sk180452" target="_self"&gt;here&lt;/A&gt;. I will search for the `virt-install` command to do so (it would have been nice to have this in the instructions page, but with a bit of AI, and some testing it shouldn't be too hard)&lt;/P&gt;&lt;P&gt;3. Now my VM should be pretty much good to go, I will want to add the option to allow the API from any IP, if I'm not doing this as part of the cloud-init, I could run the following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# Set up the API to allow connections from remote clients.
login "System Data"
mgmtCmd set api-settings accepted-api-calls-from "All IP addresses"
logout
api restart&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this sound good, am I missing something? I would be more than happy to share the details on how to do it, step by step, to make it easy to reproduce, once I get to the bottom of it (but I'm not there yet!)&lt;/P&gt;&lt;P&gt;Last comment, I have read something about Blink image, is this something I should investigate/consider, would this make the process easier, or is this just to use a more recent version (with hotfixes) of the OS?&lt;/P&gt;&lt;P&gt;Thanks for your help on this!&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2025 15:29:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259712#M43898</guid>
      <dc:creator>NoodleOps</dc:creator>
      <dc:date>2025-10-11T15:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259782#M43899</link>
      <description>&lt;P&gt;1. Exactly. The cloud-init config is basically config_system, but in YAML. It has a few options which aren't in config_system.&lt;/P&gt;
&lt;P&gt;2. You can try building a config drive like that, but I never got it to work for me. Might have just been a quirk of my VM environment. I ended up taking the web service option.&lt;/P&gt;
&lt;P&gt;3. Note that 'login', 'mgmtCmd', and 'logout' there are not normal commands. They're functions defined earlier in the script.&lt;/P&gt;
&lt;P&gt;You may be able to use Blink to skip some of the initial installation (and to save time installing a jumbo). I personally haven't had much luck with that, but again, might have been a quirk of my environment.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 15:00:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259782#M43899</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2025-10-13T15:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259784#M43900</link>
      <description>&lt;P&gt;Actually, it looks like &lt;A href="https://developer.hashicorp.com/vagrant/docs/cloud-init/usage" target="_self"&gt;Vagrant has some support for providing data to cloud-init&lt;/A&gt;. Looks almost undocumented, but that could be a better option than building a config drive.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 15:17:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259784#M43900</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2025-10-13T15:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259815#M43901</link>
      <description>&lt;P&gt;Thanks, I will investigate both approach, it might (and likely will) take me some time. At the moment, I don't think there is one approach that looks easier than another at the moment, so it'll be a slow ramp up on my side to understand each options, and play with those.&lt;/P&gt;&lt;P&gt;Thank you very much for your inputs and advice, it gives me a lot to think of, and also a good guidance on what to investigate next!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 08:16:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259815#M43901</guid>
      <dc:creator>NoodleOps</dc:creator>
      <dc:date>2025-10-14T08:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259817#M43902</link>
      <description>&lt;P&gt;Once again, I want to stress my previous message:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Dynamic IP address for the management server is not supported&lt;/STRONG&gt;. Even if you find a reliable way to update your MGMT IP address on the management object itself, this situation is not covered by the product design.&lt;BR /&gt;&lt;BR /&gt;Once your MGMT server IP changes, you will lose the ability to install policy and to maintain certificates. MGMT to GW communication is covered by the implied rules, and the SMS IP is hardcoded there when you install the policy. The CRL distribution point will not be available for certificate validation, and SIC will also not work once the MGMG IP shifts.&lt;BR /&gt;&lt;BR /&gt;In my opinion, &lt;STRONG&gt;this is a very bad idea&lt;/STRONG&gt;. I urge you to rethink the design and the conditions. Today, you cannot have your security management server using DHCP.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 08:38:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259817#M43902</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2025-10-14T08:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259821#M43903</link>
      <description>&lt;P&gt;EXCELLENT points&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/181"&gt;@_Val_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 10:14:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259821#M43903</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-10-14T10:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259822#M43904</link>
      <description>&lt;P&gt;I understand the management address is not designed to be using DHCP, but in my case, I don't know what the management subnet will be where the management interface will be connected to. This is the part that can vary.&lt;/P&gt;&lt;P&gt;I only want to be able to auto assign this IP when the VM gets created, then I'm more than happy to keep it as a fix IP and perform the rest of the configuration with this fixed IP.&lt;/P&gt;&lt;P&gt;For all other devices in this virtual lab, DHCP is used to assigned the management address, but when the lab is up, there is no change in the management IP. Behind the scene it is a static assignment, based on a subnet which may vary from one server to another.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will test the cloud-init method (with config drive or using the Vagrant cloud-init), mixed with the script mentioned &lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion/BASH-Framework-for-Management-API-Commands/m-p/195822/highlight/true#M8097" target="_self"&gt;above&lt;/A&gt;&amp;nbsp;to see if I can achieve what I want. I &lt;EM&gt;just&lt;/EM&gt; want a ready to use Check Point FW in my lab, with &lt;STRONG&gt;zero&lt;/STRONG&gt; manual configuration, and knowing that I am not sure what the management subnet will be until I start the lab... easier said than done&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If this is too difficult, my other option would be to create the vagrant box with the IP address that the lab will use. I need&amp;nbsp;to create easy to use instructions on how to create such box (knowing that the IP we want to use, may not be reachable at the time of the box creation...)&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 10:50:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259822#M43904</guid>
      <dc:creator>NoodleOps</dc:creator>
      <dc:date>2025-10-14T10:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259823#M43905</link>
      <description>&lt;P&gt;For those playing along at home is the Firewall management interface being confused with the Security Management (SMS) IP address?&lt;/P&gt;
&lt;P&gt;I assume these are gateways being deployed correct?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 11:14:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259823#M43905</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2025-10-14T11:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Management Interface (eth0) assigned via DHCP - cannot remove the static IP of the interface</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259824#M43906</link>
      <description>&lt;P&gt;As they say, its a bit of "catch 22" situation...&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 11:35:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Management-Interface-eth0-assigned-via-DHCP-cannot-remove-the/m-p/259824#M43906</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-10-14T11:35:35Z</dc:date>
    </item>
  </channel>
</rss>

