Sangfor Jojo Posted 14 Nov 2023 10:32

Configuration Guide# DHCP Configuration: Router on a Stick (ROAS) Setup

Product: NGAFVersion: 8.0.47
1. Introduction1.1 ScenarioIn a small Enterprise Network, the network design is a Router-on-a-Stick (ROAS) setup in which the different VLANs can pass through a single connection. Configure the Sangfor NGAF as the DHCP Server and provide IPv4 addresses on all the endpoints on the network in a ROAS setup.
1.2 Other Details 1) The VLANs (Virtual LANs) are VLAN10 (172.16.10.0/ 24) and VLAN20 (172.16.20.0/ 24).2) The Core Switch port that is directly connected to the Sangfor NGAF is configured as a trunk port3) Desktops’ IPs are assigned dynamically.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2. Configuration Guide2.1 NGAF ConfigurationStep 1. Choose the interface eth1 and create Subinterface for VLAN 10 and 20.Go to Network > Interfaces >Subinterfaces and click Add, as shown below:
Step 2. A new window will pop up when you click the Add Button. Then put the following details:Physical Interfaces: eth11) VLAN ID: 102) Description: Sub-interface for VLAN103) Static IP: 172.16.10.1/255.255.255.0Then click Save.
Step 3. Repeat Step 2 for VLAN 20.1) Physical Interfaces: eth12) VLAN ID: 203) Description: Sub-interface for VLAN104) Static IP: 172.16.20.1/255.255.255.0Then click Save. Step 4. Configure the subinterface (eth1.10) for DHCP.Go to Network > DHCP > DHCP Options and click Add, and put the following details as shown below:1) Service Type: DHCP Server2) Name: DHCP_Vlan103) Description: DHCP for Vlan104) Interface: eth1.105) IP Range: 172.16.10.100-172.16.10.2546) Netmask: 255.255.255.07) DHCP Gateway: 172.16.10.18) DNS Server: Specified9) Preferred DNS: 8.8.8.8Then click Save
Step 5. Configure the subinterface (eth1.20) for DHCPGo to Network > DHCP > DHCP Options and click Add, and put the following details as shown below:1) Service Type: DHCP Server2) Name: DHCP_Vlan203) Description: DHCP for Vlan204) Interface: eth1.205) IP Range: 172.16.20.100-172.16.20.2546) Netmask: 255.255.255.07) DHCP Gateway: 172.16.20.18) DNS Server: Specified9) Preferred DNS: 8.8.8.8Then click Save.
Step 6. Verify the 2 DHCP Poll added as shown below:
Step 7. Verify if the devices can get dynamic IP Addresses by issuing the ipconfig/all at the cmd. PC1 PC2
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
3. Precaution1). Always verify the VLAN configuration if the endpoint can’t get the right IP Address.2). DHCP in ROAS is a real-world scenario but its single line makes it subject to failure. I suggest to have another line for redundancy.
--------------------------------------------- https://community.sangfor.com/data/attachment/forum/202310/20/113016y154n4m91rom1n61.png This article is contributed by https://community.sangfor.com/data/attachment/forum/202310/20/113016y154n4m91rom1n61.png   ----------------------------

Wanna get to know him? Click here.

Sangfor Jojo Posted 14 Nov 2023 14:44

We warmly welcome engineers to share your creations like configuration guides or troubleshooting cases with us. Each article will be rewarded with at least 4000 coins.

For more details please click here: https://community.sangfor.com/forum.php?mod=viewthread&tid=7706


j_sutio Posted 26 Jan 2024 11:11

Hello, thanks for sharing. Can you share what will be the configuration of STATIC ROUTES, should I still add the IP Sub netmask ofVLAN 10 & VLAN 20? Thanks in advance.
page: [1]
查看完整版本: Configuration Guide# DHCP Configuration: Router on a Stick (ROAS) Setup