Created on 10-28-2022 08:26 AM Edited on 10-28-2022 08:27 AM
I've inherited a rack system with a Fortigate 60e that was setup by some other company. I am trying to understand how they created a static IP ( 192.168.1.51 ) for a raspberry pi video camera device sitting in the site. When I go to "Addresses" I see this for the pi:
And under Addresses I see this is where they assigned the static IP:
However, the confusing part is I don't see where Camera 1 points to pi003? If I edit the Camera 1 or pi003 I see no reference to each other?
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Yes that will accomplish the same thing as the CLI instructions I posted.
pi003 is a layer 2 MAC address and Camera 1 is a layer 3 IP address.
Created on 11-01-2022 09:47 AM Edited on 11-01-2022 09:48 AM
What I am confused about is how is Camera 1 associated with pi003? See screenshots below for Camera 1 and pi003. I don't see any reference to each other in the settings:
They don't really relate to each other. They are just logical objects representing two different things: one is an object referencing a Layer 3 IP address and the other is an object referencing a Layer 2 MAC address. In this case they are belonging to the same device but there is no real connection on the FGT.
Now, re-reading your original question I think maybe you are asking how to create a static IP or IP reservation for DHCP? Is this so? If the FortiGate is the DHCP server for the network you can add a reservation for the L2 MAC address: https://docs.fortinet.com/document/fortigate/7.2.2/cli-reference/60620/config-system-dhcp-server (look at "config reserved-address" command) or under Interface settings in the GUI you can add DHCP reservations there too.
Created on 11-02-2022 07:35 AM Edited on 11-02-2022 07:39 AM
Correct. I am mainly interested to know how to assign static ips to some devices in the center. Do I go to DHCP Monitor -> Right mouse click on the device -> "Create DHCP reservation" -> "OK" ? I want the IP to be permanent even after a complete power outage/reboot of the system. See below:
Yes that will accomplish the same thing as the CLI instructions I posted.
If Camera1 or pi003 is already connected to the network, you can view the ARP table to verify if it is learned by Fortigate.
get system arp
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1705 | |
1093 | |
752 | |
446 | |
230 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.