LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-27-2006, 10:55 AM   #1
anubis65656
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Rep: Reputation: 0
i am having trouble configuring my nat on a cisco 871 router


i have no idea on how to configure the nat on the ciscoo 871 series router does anyone know how to do this
 
Old 02-27-2006, 01:43 PM   #2
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
Have you checked out Cisco's website?

How are you configuring the router??

GUI or comand line.
 
Old 02-28-2006, 09:11 AM   #3
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
!
int <lan>
ip nat inside
!
int <wan>
ip nat outside
!
ip nat inside source interface <wan> overload
!

Job done
 
Old 02-28-2006, 12:11 PM   #4
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Rep: Reputation: 15
i have the same question about nat... also i have the same router
 
Old 03-01-2006, 04:01 AM   #5
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Lucky I just showed you how to do it then eh?
 
Old 03-01-2006, 06:01 AM   #6
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
With the 871, consider using SDM to get the initial configuration set. Why? The 871 has 1 - layer 3 port (F4/connected to DSL/Cable modem), 4 - layer 2 switchports (F0-F3/desktop PC's), and 2 - wireless radios (A and G). SDM does a good job at creating a bridge-group (BVI1) that includes the layer 2 swichports and both wireless radios (which can share the same DHCP scope). Plus it creates the necessary virtual radio interfaces required for the bridge-group assignment and configuring a local radius server for authenticating wireless clients.

Also, SDM did a good (not great) job at configuring the IOS firewall feature set. i.e. ACL's
 
Old 03-01-2006, 06:36 PM   #7
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Rep: Reputation: 15
Quote:
Originally Posted by baldy3105
!
int <lan>
ip nat inside
!
int <wan>
ip nat outside
!
ip nat inside source interface <wan> overload
!

Job done
hi, what you mean with the "!"
that command is not recognized in my cisco command line interfase

thanks
 
Old 03-02-2006, 04:40 AM   #8
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
its just a separater in cisco configs to make em readable. The router will ignore them and carry on to the next line.
 
Old 03-06-2006, 02:15 PM   #9
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Rep: Reputation: 15
thanks i will try it
 
Old 03-06-2006, 07:54 PM   #10
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Rep: Reputation: 15
Quote:
Originally Posted by baldy3105
!
int <lan>
ip nat inside
!
int <wan>
ip nat outside
!
ip nat inside source interface <wan> overload
!

Job done

Thanks but before run the code you provided me i would know how to setup lets say the common configuration for RealVNC connections: and this will be a typical NON-CISCO scenario:

Outgoing:
PC(RealVNC Viewer) -> Netgear Router -> INTERNET

Incomming
INTERNET -> Netgear Router (forwards the requested 5100 port to the assigned Lan IP -> PC(RealVNC Server) It listen from the forwared port: 5100

It made sense?

How can do it under cisco kindom?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco 871 Router IOS anubis65656 Linux - Networking 1 02-23-2006 11:19 AM
cannot configure cisco 871 series router to get online anubis65656 Linux - Networking 7 02-23-2006 10:54 AM
Iptables Behind Cisco NAT djlightman Linux - Security 6 07-29-2003 02:28 PM
Linux or Cisco 678 NAT? salathe Linux - Networking 2 10-09-2001 10:10 AM
Trouble configuring Mandrake 7.2 with linksys router SilentStrike Linux - Networking 4 06-10-2001 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration