Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 442
  • Last Modified:

Cisco Natting

Dear EE

I had two 5 public ip let say X.X.X.5 ------ x.x.x.9
and I had full class C network with 400 subscribe

now I make all 400 subscribe NAT to one Public IP and leave the other 4 free !!??
because I don't know how to make NAT all 400 with 5 public

I think its like that but I not test it because I not buy Cisco router till now



int f0/0
ip add X.X.X.6 255.255.255.248
ip nat outside

int f0/1
ip add 192.168.0.1 /24
ip nat inside


access list 1 permit 192.168.0.0 .0.0.0.255
ip nat pool myconfig x.x.x.6 x.x.x.9 netmask 255.255.255.248
ip nat  inside source list 1 pool myconfig overload



Is this work ?? or just NAT whole class C with X.X.X.6 and when there is no port free it use the second ip x.x.x.7
if yes can I put port range for NAT like just transulate 10 port per public IP ?
 


Regards
0
majedalanni
Asked:
majedalanni
  • 8
  • 8
1 Solution
 
rsivanandanCommented:
Yes the above would work.

Cheers,
Rajesh
0
 
majedalanniAuthor Commented:
Dear

Can I put port range for NAT like just 10 port per public IP and when full use the other public from pool ?
0
 
rsivanandanCommented:
hmm for outgoing you don't need to do that.

Cheers,
Rajesh
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
majedalanniAuthor Commented:
Dear

I had problem with all my subscribe that out with one public and some of them cannot use yahoo vioce chat and about that I need my private network NAT with pool public
0
 
rsivanandanCommented:
Sorry I didn't get that, can you type in more detail what the problem is ?

Cheers,
Rajesh
0
 
majedalanniAuthor Commented:
Dear

I had 500 clients that natted with one public IP
For that not all my clients can get yahoo voice chat at same time not the 500 but maybe 150

So for that I need to they natted with more than one public ip let say 10 public ip?

Regards
Majed
0
 
rsivanandanCommented:
You already have 4 public ip address there and I would believe that should solve the problem.

Cheers,
Rajesh
0
 
majedalanniAuthor Commented:
Yes I had 4 public
but when I check just use one IP  !!! not 4
0
 
rsivanandanCommented:
how are you checking ?

show xlate and show conn would show you the ip details.

Cheers,
Rajesh
0
 
majedalanniAuthor Commented:
Dear

I use pocket sniffer (ethreal) and see just on ip !!!

regards
0
 
rsivanandanCommented:
From couple of machines from the internal network, launch http://whatismyip.com/ in a browser.

Look at it and let me know if you just see only one ip address.

Cheers,
Rajesh
0
 
majedalanniAuthor Commented:
Dear
it show same pubil IP
0
 
rsivanandanCommented:
No, it cannot be :-( Actually the configuration line tells to do round robin.

Cheers,
Rajesh
0
 
majedalanniAuthor Commented:
Dear

I think when the first public ip use all avialable port then use the second public ip.

Regards
0
 
rsivanandanCommented:
Can you post the full config here of the router as of now ?

Cheers,
Rajesh
0
 
majedalanniAuthor Commented:
Dear
sorry for my late I had personal problem

I see that Ip cef is not enabled and I enabled it
and know it ok

many thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 8
  • 8
Tackle projects and never again get stuck behind a technical roadblock.
Join Now