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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

1720 - ROUTE BETWEEN 2 INTERNAL INTERFACES -NOOB ALERT

Status
Not open for further replies.

ElectroFunkDaddy

Technical User
Mar 25, 2008
6
HI

before hand im a complete noob to cisco ios.

Details
1720 router
1 x Fastethernet 0 ip 192.184.1.83 255.255.255.0
1 x ethernet 0 ip 192.184.15.1 255.255.255.0

Laptop 1 192.184.1.82
Laptop 2 192.184.15.10

Laptop 1 can ping 192.184.1.83
Laptop 2 can ping 192.184.15.1


Laptop 1 cannot ping 192.184.15.1 or 192.184.15.10

Laptop 2 cannot ping 192.184.1.82 or 192.184.1.82

what do i have to enable to allow routing between 2 internal interfaces?

Thanks

Router#show running-config
Building configuration...

Current configuration : 921 bytes
!
version 12.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
memory-size iomem 25
no aaa new-model
ip subnet-zero
!
!
!
ip cef
!
!
interface Ethernet0
ip address 192.184.15.1 255.255.255.0
half-duplex
!
interface FastEthernet0
ip address 192.184.1.83 255.255.255.0
speed auto
!
!
ip classless
no ip http server
!
access-list 1 permit 192.168.0.0 0.0.0.255
!
line con 0
line aux 0
line vty 0 4
login
!
no scheduler allocate
!
end
 
ip route 192.184.1.0 255.255.255.0 interface fa0

ip route 192.184.15.0 255.255.255.0 intherface eth0

you have no routes in place, try the above and reply

make sure your GW on your laptop is correct...


[americanflag] SPC NVARNG
Tek-TIP Member 19,650
 
Thanks for the quick reply

it doesnt access that command with interface in it tho?

here what i typed and the results of the show ip route, the routes are listed? is that normal?


ive double checked the Default GW on the pcs and they are corrected
@ 192.184.15.1 and 192.184.1.83



outer>
Router>enable
Router#config
Configuring from terminal, memory, or network [terminal]? terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.184.1.0 255.255.255.0 interface fa0
^
% Invalid input detected at '^' marker.

Router(config)#ip route 192.184.1.0 255.255.255.0 fa0
Router(config)#ip route 192.184.15.0 255.255.255.0 eth0
Router(config)#^Z
Router#
01:13:13: %SYS-5-CONFIG_I: Configured from console by console



Router#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

C 192.184.15.0/24 is directly connected, Ethernet0
C 192.184.1.0/24 is directly connected, FastEthernet0
Router#
 
yes that is correct....

Can you ping the other side?


[americanflag] SPC NVARNG
Tek-TIP Member 19,650
 
no :( , i had it ping the other side once. but that was because i added static routes on Vista and XP

Route add 192.184.15.0 mask 255.255.255.0 192.184.1.83 etc etc

but i dont think it was actually pinging the the other side

 
You can setup a secondary ip address on one of the interfaces.

Depending on what you are trying to accomplish.

Remember if the router see it and theres a route you should be able to ping the equipment. Do not forget to remove and firewall setting on the PC's before pinging...






[americanflag] SPC NVARNG
Tek-TIP Member 19,650
 
all im trying to do is bridge or route between these two subnets.

yeah ive checked all firewall settings are off :/ im complelty stumped.

Cheers :D
 
What kind of cable are you using? Are they connected directly into the router, or are you using a switch? Any reason you're using public IP addresses?

Burt
 
on your client machines, what do you have set for each client's default gateway? You said that you could get each to ping the other when you added static routes to your XP/Vista clients so it sounds like you either don't have default gateway's configured or they are configured incorrectly.

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
Edit: sorry, I just actually read your post when you said that the DG's were set. What happens when you tracert from one of the PC's to the other? Show a route print or netstat -r from one of the client machines. Using the 1720, can you ping 192.168.1.82 using e0 as the source address and vice versa?

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
You actually don't need static routes---the interfaces are directly connected, and the metrics are lower on directly connected interfaces anyway.

Burt
 
I hope I'm not rehashing something... But you noted that you have the default gateways set on the computers. But I don't see what you have them set to.

Laptop 1 default gateway should be: 192.184.1.83
Laptop 2 default gateway should be: 192.168.15.1


We know you are sung the correct cables, because in his first post he tells us he can ping his routers interfaces.

CCNA, A+, HP Certified Professional
 
Correct last post.....

Laptop 1 default gateway should be: 192.184.1.83
Laptop 2 default gateway should be: 192.184.15.1

Why public IP?

Just for testing your OK. But in production you could have problems.

CCNA, A+, HP Certified Professional
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top