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 24 dhcp select interface dhcp server dns-list 218.85.152.99 int g0/0/1 ip address 202.100.1.1 24 ip route-static 0.0.0.0 0.0.0.0 202.100.1.2 acl 2000 rule permit source 192.168.1.0 0.0.0.255 int g0/0/1 nat outbound 2000 exitAll 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.
Practical DevOps Architecture
Hands‑on DevOps operations using Docker, K8s, Jenkins, and Ansible—empowering ops professionals to grow together through sharing, discussion, knowledge consolidation, and continuous improvement.
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.
