cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1248
Views
0
Helpful
3
Replies

NAT a whole subnet to secondary address?

sbrown6079
Level 1
Level 1

I've got an 1811 router running 15.4 IOS and a cable modem with 5 static IP's attached to Fa0. I would like to dedicate one of those IP's to a dedicated internal subnet (10.0.30.0/24) but I am not sure how to accomplish this?

What would be the best method to accomplish this? Unsure of where to begin.....

Thanks for any insight.

1 Accepted Solution

Accepted Solutions

John Blakley
VIP Alumni
VIP Alumni

Stephen,

If you want 10.0.30.0/24 to go out as 192.168.1.5/24, you could do something like:

int fa0/0

ip address 192.168.1.1 255.255.255.0

ip nat out

int fa0/1

ip address 10.0.30.1 255.255.255.0

ip nat insid

access-list 101 permit ip 10.0.30.0 0.0.0.255 any

ip nat pool Outbound 192.168.1.5 192.168.1.5 prefix 24

ip nat inside source list 101 pool Outbound overload

HTH,

John

HTH, John *** Please rate all useful posts ***

View solution in original post

3 Replies 3

John Blakley
VIP Alumni
VIP Alumni

Stephen,

If you want 10.0.30.0/24 to go out as 192.168.1.5/24, you could do something like:

int fa0/0

ip address 192.168.1.1 255.255.255.0

ip nat out

int fa0/1

ip address 10.0.30.1 255.255.255.0

ip nat insid

access-list 101 permit ip 10.0.30.0 0.0.0.255 any

ip nat pool Outbound 192.168.1.5 192.168.1.5 prefix 24

ip nat inside source list 101 pool Outbound overload

HTH,

John

HTH, John *** Please rate all useful posts ***

This works perfectly! Thanks for the response

Glad to hear it Stephen!

HTH, John *** Please rate all useful posts ***
Review Cisco Networking for a $25 gift card