Example Network Configuration: External/Internal IPs, DHCP, Routing, ACL, and NAT
This article provides a step‑by‑step network configuration example showing how to set external and internal IP addresses, enable DHCP, define static routes, create ACL rules, and configure NAT outbound translation on a router.
Example: External network IP: 202.100.1.1/24, Gateway: 202.100.1.2.
Internal network IP: 192.168.1.1/24.
Configuration:
[route]dhcp enable[route] int g0/0/0[route] int g0/0/0 ip address 192.168.1.1 24dhcp select interfacedhcp server dns-list 218.85.152.99int g0/0/1ip address 202.100.1.1 24ip route-static 0.0.0.0 0.0.0.0 202.100.1.2acl 2000rule permit source 192.168.1.0 0.0.0.255int g0/0/1nat outbound 2000exitAll the above are practical configuration commands.
Reference link: http://mp.weixin.qq.com/s?__biz=MzA3MTQxNDk3NQ==∣=208189827&idx=1&sn=2fcb9a9e7dcdc160f4d2b6f4aa8a2007#rd
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
