Ruijie Community

Title: How to configure NAT on AC? [Print this page]

Author: GTAC-Daisy    Time: 2021-12-16 14:24
Title: How to configure NAT on AC?
The NAT configuration guide is shown as below:



I. Configuration Steps


1. Configure DHCP pool for intranet users
Ruijie(config)#ip dhcp pool sta
Ruijie(dhcp-config)#network 192.168.1.0 255.255.255.0
Ruijie(dhcp-config)#dns-server 8.8.8.8
Ruijie(dhcp-config)#default-router 192.168.1.1


2. Configure ACL match intranet users' traffic
Ruijie(config)#ip access-list standard 1
Ruijie(config-std-nacl)#10 permit any


3. Configure IP address on the interface and set it as outside NAT interface
Ruijie(config)#interface GigabitEthernet 0/1
Ruijie(config-if-GigabitEthernet 0/1)# ip address 100.168.12.200 255.255.255.0
Ruijie(config-if-GigabitEthernet 0/1)#ip nat outside
                 
4. Configure IP address on BVI interface 1 and set is as inside NAT interface
Ruijie(config)#interface BVI 1
Ruijie(config-if-BVI 1)#ip address 192.168.1.1 255.255.255.0
Ruijie(config-if-BVI 1)# ip nat inside
                 
5. Configure address translation table
Ruijie(config)#ip nat inside source list 1 interface GigabitEthernet 0/1 overload
                 
6. Configure default route pointing to gateway
Ruijie(config)#ip route 0.0.0.0 0.0.0.0 100.168.12.1


II. Verification


Intranet users are able to access the Internet.


Author: nullblp@gmail.c    Time: 2021-12-23 23:45
Geat post! It is really informative. thanks a lot.
five nights at freddy's
Author: annajimmy3007@g    Time: 2022-12-27 11:56
Thank you very much. Your post presented me with a wealth of information, allowing me to broaden my horizons


Five Nights at Freddy's







Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2