I have two ethernet port on my jetson orin nano. ethenet port (eth0 ) having a internet connection and with the other ethernet port (eth1 ) cameras are connected. i want to run dhcp server on my eth1 port so it can assign the ip to all the connected cameras.
Not really an answer, but I think adding a DHCP server on a Jetson would be no different than doing so on a desktop PC. You should find documentation for something like Ubuntu 20.04 (or 22.04 if JetPack 6.x/L4T R36.x; see “head -n 1 /etc/nv_tegra_release” for L4T version) applies to a Jetson.
A DHCP server is not a bad idea if it is correctly configured, but you might also consider a static address if the camera itself can be assigned a static address. This would be simpler.
Someone else can probably be more helpful if you do have DHCP server questions, but I have not done so on a Jetson, and have not done so for a long time on a PC.