Question:
i have a Cisco 2921 Catalyst Switches Price Router,
with 3 giga interfaces
i have a leased line for the internet with
a public ip address and i want to configure this router as NAT /PAT gateway, so
that users in my network can ue the internet by the router,
my wan interface is g0/0 - ip 122.xx.xx.xx
lan is g 0/1 -- 192.168.1.1 /24
please advice me the configuration.
i have tried doing nat once but i was not
able to make the wan port up.
using cisco CP when i test the interface it
givves error and i dont get internet to my users.
Please guide the configuration.
Answer:
Please try the following commands and let
me know the results:
access-list 1 permit 192.168.1.0 0.0.0 .255
ip nat inside source list 1 interface
GigabitEthernet0/0 overload
ip route 0.0.0 .0
0.0.0.0 gigabitEthernet 0/0
For more Cisco Switch news about Price ans Specification, you can click here.
没有评论:
发表评论