Skip to main content

NAT

More
17 years 6 months ago #21564 by arifmscelectronics
NAT was created by arifmscelectronics
suppost i have one router whose one port is connected to the internet ie by isp and another port by the switch . and with switch i have connected my ten pc .
The address given by the isp is 200.1.1.25 ok. and now i have to do the natting so what to do.
pls reply fast
More
17 years 6 months ago #21591 by anti-hack
Replied by anti-hack on topic Re: NAT
hi,

you have to configure the router to PAT all the hosts to one IP address of your serial interface,

normally it goes like this;

in global configuration mode;

access-list 20 permit 192.168.1.0 0.0.0.255
ip nat inside source list 20 interface Serial0 overload

on the serial interface;

ip nat outside

on the ethernet interface;

ip nat inside

thats just about it, this is all assuming that you have one IP address and everyone is going to use it, if you ave pool then things would be slightly different.
Time to create page: 0.111 seconds