# LSSDNF: A Lightweight Secure Software Defined Network Framework for Future Internet in 5G-6G
## 3 Proposed Approach  
The following discussion covers the many technological ideas connected to the proposed work:  
Using software-based controllers or application programming interfaces (APIs) to communicate with the network's underlying hardware architecture and control traffic is known as software-defined networking (SDN). This architecture is distinct from conventional networks, which manage network traffic using specialized hardware (such as switches and routers). Through software, SDN may build and manage a virtual network or manage conventional hardware. SDN has numerous advantages over traditional or conventional networks because it divides the control plane and the data plane and places the control in the application layer rather than the network layer. Blockchain data is stored in such a way that system changes, hacking, and cheating is made difficult or impossible. A blockchain is basically a network of nodes that replicates and distributes a digital record of transactions throughout the network. Each blockchain block is made up of numerous transactions, and each individual's ledger acquires a copy of every new transaction added to the blockchain. The term Distributed Ledger Technology (DLT) refers to a decentralized database maintained by many people. On a blockchain, transactions are stored with an unchangeable cryptographic fingerprint known as a hash. As a result, if a block occurred in only one chain, it would be obvious that it had been updated. To breach a blockchain system, hackers would need to change every block in the chain across all decentralized versions of the chain. **Smart Contracts**--A smart contract is a software program that, under specific conditions, controls the exchange of digital wealth between parties directly and autonomously. A smart contract, like any other contract, functions with automated enforcing compliance. Smart contracts are computer programs that run precisely how they are configured (coded, programmed) by their authors. A smart contract is enforceable by code, just way a conventional contract is by law. **iPerf:** The maximum possible bandwidth on IP networks can be actively measured using the iPerf. It allows numerous fine-tuning timing, buffer, and protocol-related factors (TCP, UDP, SCTP with IPv4 and IPv6). It provides parameters such as bandwidth, loss, and others for each test. **Multichain**--Multichain technology allows users to create specific private blockchains that businesses can utilize for financial transactions. Multichain offers us a command-line interface and a straightforward API. This aids in establishing the chain. The multichain platform cuts the time required for blockchain development by up to 80%. The steps involved in the proposed smart contract for storing routing information in the multichain are described in Algorithm 1 as follows:```
Procedure:Route(list, macAddress, IP, NextNode) Step1:if(device[macAddress]! = True]). Step1.1:thenmac_list.push(macAddress). Step1.2:device[macAddress] = True Step2.if(device[IPAAddress]! = True]). Step2.1:thenip_list.push(IPAAddress). Step2.2:device[IPAAddress] = True Step3.if(device[NextNode]! = True]). Step3.1:thenNextNode_list.push(NextNode). Step3.2:device[NextNode] = True Step6.endprocedureRoute
```

**Algorithm 1**_Routing Information Registering: MAC Address, IP Address, and Nest Node ID in Multichain_

The steps involved in the proposed LSSDNF approach are described as follows:
```
Step1: With the aid of the mininet network simulator, the new topology is set up. The topology components are computers, Openflow switches, and an Openflow remote SDN controller. Step2: The Openflow 1.0 protocol is then used to implement the aforementioned architecture in the mininet. Step3: Execute several instances of the cli within the same display when the command-line interface is provided in a window using the Xterm. Use Xterm to access the shells of the two network computers for testing. Step4: Configured one of the two chosen devices as a server and the other as a client using the Iperf utility.