Link to home
Start Free TrialLog in
Avatar of ammartahir1978
ammartahir1978Flag for United Kingdom of Great Britain and Northern Ireland

asked on

how to configure cisco 2801

hi everyone i have i have just bought a 2801 cisco router i want to configure it as
192.168.10.1

i want to configure the NAT on this router
Avatar of sofianshibani
sofianshibani

does it have any extra modules, what interface you need to configure with this ip?
post the running configuration, i'll modify it and post it back
Avatar of ammartahir1978

ASKER

its new i have connect the console cable to the serial port how can i connect to tit
Plug the blue cable into your PC's com port and the other end into the console port of the router.  Open hyper terminal using  these settings 9600,N,1 then hit enter a couple of times and you should connect.

Once you've connected to the router, power cycle the router.  When it reboots it will take you into setup mode.  Once you've done that we can help you config the rest.  
when you say power cycle the router?

i am on the command line now, how can i check what is the ip address of this router right now.

thanks
if you're at a # prompt, type:
sho conf

If an interface is configured you'll see something like:
interface FastEthernet0/0
 ip address aaa.bbb.ccc.ddd xxx.xxx.xxx.xxx

By power cycle I mean, turn off the power then turn it back on.
okay i have run the comand and it came up with

INVALID INPUT DELETE AT '^' maarkar

i will power down now
just rebooted its load stuff
Did you get a prompt asking if you want to go into setup mode?
sorry forgot to tell that when i restarted it took me to the command prompt LTSCISCOSDSL>
no i go directly to the command prompt
is there any command which i can use to see what is the current IP address like in windowns you have ipconfig
type en at the > prompt, this should give you an enable prompt #, then type sho conf

thanks for this but i can not change the ip address as it say invalid on marked

i tried

enable
configure terminal
ip address 192.168.10.1 255.255.255.0
and on this command it says
invalid at marked ^ and the mark is on p

what to do
Assuming interface fa0/0:

routername>en
routername#conf t
routername(config)#int fa0/0
routername(config-if)#ip address 192.168.10.1 255.255.255.0

then do a control-Z to exit config mode
routername#wr mem


okay i have done it but i can not ping 192.168.10.1
what to do now
i cant even telnet as i am connected thorugh the blue cable do i have to connect through ethernet cable?
one more thing when i do ip on prompt it comes up with

translating "ip" domain server (255.255.255.255) why is that as were i have 255.255.255.0
okay i have connected a laptop to the router and i can access the router through web but its not going in i mean loggin in as i am using the same password which i used to connect through blue cable
ASKER CERTIFIED SOLUTION
Avatar of 2PiFL
2PiFL
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
okay i have done it but when i connect it through http://192.168.10.1 it ask me fr passord and login when i use the one i try to connect to terminal service it doesn allow me in

is there anyother passowrd?
the default password is cisco
got that now
how can i set up NAT TABLES and Access list to the mail shot server whose ip address is 192.168.10.226
how can i open port 25 in the router
do a #sho conf and copy it here.
Hi 2PiFL

this router is purely used for mail shots and the linux box which is running postfix has ip address 192.168.10.226 and i also want 192.168.10.20 to be authorise, i want telnet and smtp on mailshot.domanin.com please help
Using 1802 out of 196600 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname LTSCiscoSDSL
!
boot-start-marker
boot system flash:/c2801-ipbasek9-mz.124-15.T.bin
boot-end-marker
!
logging buffered 51200 warnings
!
no aaa new-model
ip cef
!
!
!
!
no ip domain lookup
ip domain name LTS
multilink bundle-name authenticated
!
!
!
!
!
username Administrator secret 5 $1$jDvx$YcJZoDrTBV8ncQUcgnLA/.
archive
 log config
  hidekeys
!
!
controller DSL 0/3/0
 mode atm
 line-term cpe
 line-mode 2-wire line-zero
 dsl-mode shdsl symmetric annex B
 line-rate auto
!
!
!
!
interface FastEthernet0/0
 description LTS LAN
 ip address 192.168.10.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface ATM0/3/0
 no ip address
 atm ilmi-keepalive
 pvc 0/38
  encapsulation aal5mux ppp dialer
  dialer pool-member 1
 !
!
interface Dialer0
 ip address negotiated
 encapsulation ppp
 dialer pool 1
 dialer-group 1
 ppp authentication chap callin
 ppp chap hostname S8-248@intralan.net.uk
 ppp chap password 7 154412040A322F367D
!
ip route 0.0.0.0 0.0.0.0 Dialer0
!
!
ip http server
ip http access-class 23
ip http authentication local
no ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
dialer-list 1 protocol ip permit
!
!
control-plane
!
banner login ^CConfigured by Intralan 08447707000^C
!
line con 0
 exec-timeout 0 0
 password 7 154412040A322F367D
 logging synchronous
 login local
line aux 0
 password 7 124F1C1F1C1308167F
line vty 0 4
 privilege level 15
 password 7 124F1C1F1C1308167F
 login
 transport input telnet
line vty 5 15
 privilege level 15
 password 7 14410B03021C2E3971
 login local
 transport input telnet
!
scheduler allocate 20000 1000
end

Open in new window

Can you give us a block diagram of your network and where this router will be?
I'm not sure why you would need NAT.
Network is


CISCO ROUTER

LINUX BOX (RUNNING MAIL SERVER)
WORK STATION DIRRCTLY CONNECTED TO THE ROUTER (192.168.10.226)

i need smtp port open on this workstation
i need telnet port for thei s workstation also
Like this?

192.168.10.20
     |
   WS-----Router-----Linux Box (192.168.10.226)
              |
    192.168.10.1
yeah

192.168.10.220 ---->- relay email on 192.168.10.226 -------> send out through ------>192.,168.10.1 router
this is how it was on previous router if thats helps
nat-setting.jpg
                                           192.168.10.1 interface
                                           |
Workstation-------------------Router----?
(192.168.10.20)            |
                                     |
Linux box                      |
(192.168.10.226---------

This is the way I read your last post, I apologize for not understanding but could you rephrase your request?
thats fine 2PiFL,

192.168.10.1 (Router) connected to SdSL line
                                     |
Linux Box-----------------------------------(connected to Router)
(192.168.10.226)

                           |
                          |
                          |
                         |
Workstation
(192.168.10.220)


so workstaion send emails to Linux box and then linux box send it out to clients through router.

hope this explain but right now no email is going out of Linux box
amma, let me see if I understand.  You want someone on the other side of the router to be able to specify 192.168.10.1 as their mail server and have the mail deliverd to 192.168.10.226 instead?  That someone being either a user with a mailbox on .226, or some other server attempting deliver to .226?  

BTW, what is on the other side of the router?  An ISP?  Another site?  Corporate network?  I am asking because I am trying to understand exactly what we need to translating into what, if that makes any sense :)