need help to up line protol and nat address

HI
i am new to cisco
initially i setup this router with isp and a switch. which used to work nice
today i have put another Linux gateway router and change the  iP, now its showing line protocol down, i am gussing its for gateway ( i think) but i need help asap, rather then go by video tutorial

this the : show ip interface brief

Interface              IP-Address      OK? Method Status                Protocol
Ethernet0/0            192.168.1.66    YES manual up                    up
Ethernet0/1            192.168.2.1     YES manual up                    down
and

EV-Router#show running-config
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname EV-Router
!
enable secret 5 $1$xxxx$euBxxxxxxxxr1qdJVYBRi/
enable password 7 094ExxxxxxxA04
!
memory-size iomem 10
ip subnet-zero
ip name-server 192.168.1.254
!
!
!
!
!
interface Ethernet0/0
 ip address 192.168.1.66 255.255.255.0
 no ip directed-broadcast
 ip nat outside
!
interface Ethernet0/1
 description router-to-ipcop
 ip address 192.168.2.1 255.255.255.0
 no ip directed-broadcast
 ip nat inside
!
ip nat inside source list NAT_ADDRESS interface Ethernet0/0 overload
ip nat inside source static tcp 193.132.234.6 22 interface Ethernet0/0 22
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.254
!
!
ip access-list standard NAT_ADDRESS
 permit 193.132.0.0 0.0.255.255
banner motd ^C
****************************
this is a secure router,Unauthorized logins are
restricted.
****************************
^C
!
line con 0
 password 7 050xxxxxxxxxxxx5180D
 logging synchronous
 login
 transport input none
line aux 0
line vty 0 4
 exec-timeout 20 0
 password 7 104C5xxxxxxxxxxxxxxxxxD0C
 logging synchronous
 login
!
end



Here, i need help

(a) line protol up for 192.168.2.1
(b) how will i change the  permit address permit 193.132.0.0 0.0.255.255 to 192.168.2.1 ??
LVL 29
fosiul01Asked:
Who is Participating?
 
Don JohnstonConnect With a Mentor InstructorCommented:
Wrong cable.

Router - Switch = straight through (unless the switch supports auto-mdx)
Router - PC = crossover

0
 
DjAriochCommented:
What is connected to 0/0 and what is connected to 0/1? I'm confused by the physical setup of the connections. You removed a switch, was that connected to 0/1? The linux gateway is now at 0/1? What is the IP of the linux box?
0
 
fosiul01Author Commented:
Thanks

You removed a switch, was that connected to 0/1?  : yes,

The linux gateway is now at 0/1? What is the IP of the linux box?  : yes The ip of the Linux router : 192.168.2.2 , Gateway 192.168.2.1, ( which is conntected to cisco router Ethernet0/1  
 )

Interface              IP-Address      OK? Method Status                Protocol
Ethernet0/0            192.168.1.66    YES manual up                    up      ::::::::: this with ISP
Ethernet0/1            192.168.2.1     YES manual up                    down    ::::::::: this is going to linux router (it will work as a firewall router)



0
IT Degree with Certifications Included

Aspire to become a network administrator, network security analyst, or computer and information systems manager? Make the most of your experience as an IT professional by earning your B.S. in Network Operations and Security.

 
Don JohnstonInstructorCommented:
As for why it's down, we'll have to wait until we know what it's connected to.

As for changing the ACL, if you change the permit to that of the router, no traffic will be translated since no host traffic is originating from that address and the router's traffic doesn't need to be translated.
0
 
DjAriochCommented:
I dont think the acl needs to be changed, it's the same ip we just dont have a connection. Are you using the same ethernet cable from the switch? Is it a straight or crossover cable?
0
 
fosiul01Author Commented:
As for why it's down, we'll have to wait until we know what it's connected to.  :
as i said , its Linux with 2 Ethernet card , One is connected to cisco router( where i am facing the problem), another one is connected to cisco switch ( internal network, which is working fine)

so basicaly, From linux box, if i ping 192.168.2.1 , it does not find any route and same in cisco , its showing , line protocol down

hope it will help
0
 
fosiul01Author Commented:
Is it a straight or crossover cable?

it usd to be crossover cable, as it was connected to the switch , since it connected to linux box, i used straight cable

0
 
DjAriochConnect With a Mentor Commented:
Right I would try a crossover, line protocol shows a connection issue which is what a crossover/straight would explain.
0
 
fosiul01Author Commented:
hahahahaha
thats BAD!!

yes , i used a wrong cable
so its showing both up
and each can ping each other

now just i need to change the ip of ACCESS from 193.x.x.x to 192.168.2..0
0
 
fosiul01Author Commented:
this line

ip access-list standard NAT_ADDRESS
 permit 193.132.0.0 0.0.255.255
0
 
Don JohnstonConnect With a Mentor InstructorCommented:
Here ya go.

conf t
ip access-list standard NAT_ADDRESS
 no permit 193.132.0.0 0.0.255.255
 permit 192.168.2.0 0.0.0.255
end

Open in new window

0
 
fosiul01Author Commented:
thats sweet!!
its wokrs

is not there any way to delete  193.132.0.0 0.0.255.255
instead of putting No permit??

0
 
fosiul01Author Commented:
ohh, after putting no permit, its actaully delete that line!!

0
 
fosiul01Author Commented:
sorry i know its good to ask a new question, but just quick one

ip nat inside source static tcp 193.132.234.6 22 interface Ethernet0/0 22

if i type

no ip nat inside source static tcp 193.132.234.6 22 interface Ethernet0/0 22

will it delete that forwarding??

if yes, just say yes, if not just say , no, then i will create another question

0
 
fosiul01Author Commented:
its ok after typing the new command it automatically erased the previous command

thanks for you guys help
0
 
Don JohnstonConnect With a Mentor InstructorCommented:
>will it delete that forwarding??

Yes
0
 
fosiul01Author Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.