cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
498
Views
0
Helpful
1
Replies

nat balacing

stephtchoko
Level 7
Level 7

Please, is it possible to configure nat to translate address on two differents class on same router ? How ?

for example:

RTA

eth0/0 (WAN)

194.202.232.1

195.202.232.1

eth0/1

10.1.1.1

We want a specfic sunet of network 10.0.0.0 to be transalte on 194.202.232.1

and a second to be translate on 195.202.232.1.

Best regards

1 Reply 1

spremkumar
Level 11
Level 11

hi

though i havent done something yet on this line would suggest to try out something which may be a pathbreaker ..

ip nat pool pool-1 194.202.232.1 194.202.232.1 prefix-length 30

ip nat pool pool-2 195.202.232.1 195.202.232.1 prefix-length 30

ip nat inside source route-map MAP-101 pool pool-1

ip nat inside source route-map MAP-102 pool pool-2

interface ethernet0

ip address 194.202.232.1

ip address 195.202.232.1

ip nat outside

interface ethernet1

ip address 10.1.1.1

ip nat inside

access-list 101 permit ip 10.x.x.x y.y.y.y any

access-list 102 permit ip 10.a.a.a y.y.y.y any

route-map MAP-101 permit 10

match ip address 101

route-map MAP-102 permit 10

match ip address 102

i hvent mentioned the subnet mask info since you didnt post any info about that.

so i left it blank.

in the config just break the subnets into 2 based on the PAT ur gonna do with the public ip.

configure the ACLS matching them accordingly then bind it in the route maps.

After this just configure ur pool i assume u r having /30 block in ur outside interface.'

create 2 pools as i hve mentioned out ..

bind the route map in adjacent with the nat inside command .hope that may help u out in achieving ur requirement.

regds