Re: NAT using only a real interface?

From: Salvatore Privitera (sprivitera@telvia.it)
Date: Thu Jan 18 2001 - 16:06:32 EST


On 1/18/01 3:54 AM, "C. Jon Larsen" <jlarsen@richweb.com> wrote:

>
> Move the public address to your serial (WAN) interface, and place the
> inside RFC1918 (private) address on the eth interface. Setup pat (nat
> overload) on that one public IP you have. Works very well, done it many
> times with ISDN, frame, ppp, and atm circuits. Its like Easy IP, only with
> a static IP on the interface that has ip nat outside.
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> my $info = {
>
> c jon larsen => 'richweb.com',
> email: => 'jlarsen@richweb.com',
> wireless: => '+804.307.6939',
>
> };
>
> PGP Key fingerprint: 8A 62 4C 6E 1E 3C CD 63 B3 16 1A 1B D2 61 EE 97
> PGP Public key available at: http://richweb.com/cjl.txt
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> On Wed, 17 Jan 2001, Andrew wrote:
>
>> Are you asking if you can have a PRIMARY address of 123.123.123.1/24 on E0
>> and THEN put a secondary address of 192.168.1.0/24 on the SAME interface
>> and THEN NAT between the two? If that is your question then no (and WHY?)
>>
>> If you are asking if IP address 'A' can be placed on ethernet interface '0'
>> and then IP address 'B' placed on ethernet interface '1' and then NAT
>> between the two then YES.
>>
>> If you need documentation on how:
>>
>> http://www.cisco.com and search for 'Network Address Translation' in the
>> Technical Documents area.
>>
>> -A
>>
>> At 07:34 PM 1/17/01 -0500, Salvatore Privitera wrote:
>>> HI all,
>>>
>>> We have Cisco 2600 connected to internet using public IP 123.123.123.1/24
>>> address on the eth0/0 port.
>>>
>>> Is possible, using only that ethernet port, create a intranet LAN using
>>> 192.168.1.0/24 space and natting on o the ethernet interface? How I set ip
>>> nat inside/ ip nat outside setting? I need to create loopback or null
>>> interface to do so?
>>>
>>> .salvo
>>
>

The problem is that whe have 2 LAN connectedto the ethernet 0/0 port, one
public and one private using ip secondary address and we wan to do NAT on
the SAME ethernet 0/0 interface!

Any help??

.salvo



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