Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco 2 ethernet

Status
Not open for further replies.

zas1

Technical User
Joined
Dec 10, 2003
Messages
71
Location
ES
Hi, I need a router Cisco that has 2 ethernet. I want to do a NAT between two LANs.
What product of Cisco Router recommended me?
easy and cheap, please.


Thanks.
 
I'd go with a Cisco 1005 or 1605.
 
I'd go with a Cisco 1005 or 1605."

Both of which are no longer produced. With the 837 ADSL router you get a 2 logical Ethernet Ports (new IOS enables a 2nd logical Ethernet port on one of the 4 switch ports). Either that or a 1721 with a WIC-1ENET module. Cisco also have some new 800-series routers - 850 and 870 series that have 2 Ethernet interfaces (851 & 871 have 10/100 Ethernet for LAN & WAN interfaces).

If you are looking at 2nd hand then look for an 837 or a 1720/1721 (or 1750/1751) and a WIC-1ENET module.

Andy
 
Hi, thanks for reply.
I will work with Cisco 2611XM. This product has 2 Ethernet and it is modulable.
How do I do the NAT with this router?

Thanks.
 
What are you trying to achieve? NAT/PAT can be configured in different ways so if you can be a bit more specific as to what you are trying to NAT if may be more helpful.

1. Are you trying to NAT an entire network? e.g. internet access for clients?
2. Are you trying to allow access to internal hosts from the outside (internet)?
3. Do you have multiple outside IP addresses to play with?

There are many more questions really but if you could give us an idea of what it is you want to NAT then we can probably offer more help. Either that or have a look on CCO at the NAT documentation....
Andy
 
Hi,
In my router : (2 ethernets)
I have LAN1: 192.168.4.244
I have LAN2: 201.20.21.244

I have translate 192.168.4.xxx in 201.20.20.xxx
traffic out by LAN2

By example,

192.168.4.1 --> 201.20.20.1
192.168.4.2 --> 201.20.20.2
.
.
.

Thanks.
 
Do you require static NAT'ing for each of your hosts i.e.

All IP to and from host 192.168.4.10 must translate to 201.20.20.10. Or can this be dynamic and on demand i.e. Any host internally 192.168.4.x needs to be translated to an address from the range 201.20.20.1 through 201.20.20.254?

If its a one to one translation you want then you need to create static NAT entries for each of your inside hosts to its equivilent outside address:

ip nat inside source static 192.168.4.10 201.20.20.10
ip nat inside source static 192.168.4.11 201.20.20.11
ip nat inside source static 192.168.4.12 201.20.20.12
!etc

If you want it dynamic and on demand then you can create an ACL to identify the inside network addresses you want to NAT, a NAT pool to use and apply this all to one line of code:

ip access-list standard Inside-Hosts
permit 192.168.4.0 0.0.0.255
!
ip nat Outside-Addresses 201.20.20.1 201.20.20.254
!
ip nat inside source list Inside-Hosts pool Outside-Addresses
!

If this is an internet connection then be careful as you don't want to open up your network to attack from all the gremlins out there.

Good luck

Andy


For either situation you also need to identify your Inside and Outside interfaces with the interface command 'ip nat inside/outside'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top