07-02-2013 12:47 PM - edited 03-07-2019 02:12 PM
I have a cisco 1841 router with two fastethernet interfaces 0/0 and 0/1.
Configured 0/0 as outside with 10.10.10.100 255.255.255.0 (network 1) and configured 0/1 as 10.100.100.200 255.255.255.0 (network 2) as inside with
IP route 0.0.0.0 0.0.0.0 10.10.10.1 so all inside traffic goes out.
Both networks have clients on them, but only the 10.10.10.100 network has an internet connection through another device on their network.
I want to be able to enable traffic to both interfaces so hosts on each network can communicate with each other and still go out to wan on the 10.10.10.100 interface.
I do not have vlans configured, just interfaces. No ACL's. I thought I only needed to make the routing table.
I can get out from the inside network 2 to the internet. However, hosts on either network cannot access each other. I know I am missing something but not sure what. Can someone please advise what I am doing wrong?
07-02-2013 02:00 PM
Hi Jerry,
So if I understand you correctly, on the network 1, there are actually two routers: the 10.10.10.100 (your 1841) and the 10.10.10.1 (the internet router). I wonder - what gateway is configured on the computers in the 10.10.10.0/24 network - the 1841 at 10.10.10.100, or the internet router at 10.10.10.1?
I suspect that your stations in the 10.10.10.0/24 network are using the default gateway at 10.10.10.1. Because this gateway has no knowledge about the network 10.100.100.0/24, it does not know how to forward packets to this network, and most probably, it sends them out to the internet.
If this is the case then I see two possible solutions - either add a static route on the internet router to the network 10.100.100.0/24 via 10.10.10.100, or change the default IP gateway setting on the PCs in the 10.10.10.0/24 network to 10.10.10.100 (your 1841).
Best regards,
Peter
07-02-2013 06:50 PM
Hi Jerry,
By default, 1841 only has two ports.
I think 10.10.10.1 is the internet router's, is this top ?
If so ,you should use nat in your router.
07-03-2013 09:55 AM
Here is my setup. I can get out to the internet on devices from both networks. I cannot communicate with devices when I cross the router. I need full access to use services like rdp and copying and pasting files. Both networks can ping the router.
07-03-2013 01:10 PM
Hi Jerry when you say you can't communicate with devices are you able to ping them?
07-05-2013 09:10 AM
ok I made it worse. I played around witht the routing table. Now I cannot ping devices accross the router. I cannot get to the interent from the 10.100.100.0 network.
See config below:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.07.05 12:03:35 =~=~=~=~=~=~=~=~=~=~=~=
Building configuration...
Current configuration : 1070 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ROUTER
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
!
!
dot11 syslog
ip source-route
!
!
!
!
ip cef
!
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
interface FastEthernet0/0
description outside
ip address 10.10.10.100 255.255.255.0
ip access-group 100 in
ip access-group 100 out
duplex auto
speed auto
!
interface FastEthernet0/1
description inside
ip address 10.100.100.200 255.255.255.0
ip access-group 100 in
ip access-group 100 out
duplex auto
speed auto
!
router rip
version 2
network 10.0.0.0
no auto-summary
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
ip route 10.10.10.0 255.255.255.0 10.10.10.1
no ip http server
no ip http secure-server
!
!
!
access-list 100 permit ip any any
!
!
!
!
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end
07-07-2013 08:40 PM
Hi Jerry,
Errors I see in your configuration:
The configuration should start working after these changes, assuming that the stations in 10.10.10.0/24 are reconfigured to use the default IP gateway at 10.10.10.100.
Best regards,
Peter
11-06-2019 06:23 PM
Thanks Peter. Even 6 years down the road your solution was perfect.
Thanks. Regards.
07-05-2013 11:59 AM
Hi Jerry,
Did you make the changes Peter Suggested? What is the DG of the clinets in 10.10.10.X/24 network?
Please replace the below two routes
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
ip route 10.10.10.0 255.255.255.0 10.10.10.1
with
ip route 0.0.0.0 0.0.0.010.10.10.1
and change the DG of cleints on 10.10.10.x/24 network to 10.10.10.100 or add a static route on 10.10.10.1 for 10.100.100.0/24 network pointing to 10.10.10.100 as peter suggested.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide