NAT Virtual Interface

October 25, 2008 at 9:20 pm | Posted in IP Services, NAT | Leave a comment

IEWB1 Ver5 Task 13.29

Configure NAT on R5 without using any ip nat inside or outside command, so that traffic source from VLAN8 on SW2 is seen as being sourced from 155.1.188.0/24.

Configuration

R5#
int e0/0 
 ip nat enable
int s0/0
 ip nat enable
int s0/1
 ip nat enable
router rip
 redistribute static metric 1

ip nat pool NET188 155.1.188.1 155.1.188.254 netmask 255.255.255.0 add-route
ip nat source list VLAN8 pool NET188
!
!
ip access-list standard VLAN8
 permit 155.1.8.0 0.0.0.255

Verification

Rack1SW2#ping 155.1.45.4 source vlan8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 155.1.45.4, timeout is 2 seconds:
Packet sent with a source address of 155.1.8.8 
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 42/47/51 ms

Rack1R5#sh ip nat tran
Pro Inside global      Inside local       Outside local      Outside global
Rack1R5#sh ip nat ?
  nvi           NVI information
  statistics    Translation statistics
  translations  Translation entries
Rack1R5#sh ip nat nvi translation
Pro Source global      Source local       Destin  local      Destin  global
--- 155.1.188.1        155.1.8.8          ---                ---

 

Doc CD Navigation

  • Cisco IOS IP Addressing Services Configuration Guide, Release 12.4
  • Part 6: NAT
  • Configuring NAT for IP Address Conservation
  • How to Configure NAT for IP Address Conservation
  • Configuring the NAT Virtual Interface
Advertisements

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: