Re: NAT inside outside on same interface

From: Keith McCallion (keith@mccallion.com)
Date: Thu Feb 08 2001 - 16:35:11 EST


On Thu, 8 Feb 2001, Martin Picard wrote:

> I can vaguely recall that there was a thread on trying
> to NAT inside and outside on the same interface...
> but can't find it back....any pointer ?

Use subinterfaces. ie:

int FastEther1/0/0
  no ip address
int FastEther1/0/0.1
  ip address 1.1.1.1 255.255.255.0
  ip nat inside
int FastEther1/0/0.2
  ip address 2.2.2.2 255.255.255.0
  ip nat outside

and that should work for you.

-Keith



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:12:27 EDT