Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

connecting two lans

Posted on 2008-10-24
8
Medium Priority
?
246 Views
Last Modified: 2010-04-02
I have two networks 192.168.1.x and 192.168.2.x basicly pc's on one and voip phones on the other each have there own gateway and internet connection192.168.1.1 and 192.168.2.1. I am using a cisco 2600 with two nics to connect the two networks and route betwen the two 192.168.1.254 and 192.168.2.254. i have added routes on each gateway like 192.168.1.0  255.255.255.0 gw 192.168.2.254 and can ping to the other gateway 192.168.1.1 form 192.168.2.x but I cant ping any other ips on that side like a pc at 192.168.1.2 unless I add the route to the pc I'm useing on the 192.168.2.x side. how can I do this with out having to add the route to each pc?
0
Comment
Question by:imagex
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 17

Expert Comment

by:OriNetworks
ID: 22801375
just a random shot at it since i dont know much about cisco devices. Does some kind of NAT need to be configured?
0
 

Accepted Solution

by:
imagex earned 0 total points
ID: 22803310
I belive that the config on the 2600 are fine, it just passes the traffic betwen two nics, and is working. its the client dont know where to go other than x.x.x.1 unless i add the route to the client pc then it reaches the whole other network. I have a smoothwall on 192.168.1.x and a wrt54gl with dd-wrt on 192.168.2.x they both have a route to the cisco and can ping across to the other gateway just not to any other pc's till I add the router on that pc. soo close!
0
 

Author Comment

by:imagex
ID: 22803824
Update, I have a centos box on 192.168.1x network and it can get to anywhere on the other network with out adding the route to it, just from having the route in the gatway router on its side, so looks like a windows problem.
0
Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

 
LVL 13

Expert Comment

by:Quori
ID: 22806399
Please provide the running configuration, stripped of any sensitive detail (passwords, even if encrypted and one octet of public IP addressing masked).
0
 
LVL 10

Expert Comment

by:ampranti
ID: 22806510
You have to configure all pcs to have a default gw!
PCs on 192.168.1.x shoudl have gw 192.168.1.254 (the IP of the router interface) and the PCS on 192.168.2x should have 192.168.2.254


0
 

Author Comment

by:imagex
ID: 22807505
All pc's have a gateway, maybe this will help:
192.168.1.x
192.168.1.1       smoothwall gateway to the net, added route 192.168.2.0 -255.255.255.0 -192.168.1.254
192.168.1.254   cisco 2611 eth0

192.168.2.x
192.168.2.1      wrt-54g gateway to the net, added route 192.168.1.0 -255.255.255.0 -192.168.2.254
192.168.2.254   cisco 2611 eth1

heres my config on the 2611, remeber this is just for a bridge.
Building configuration...

Current configuration : 611 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname netbridge
!
boot-start-marker
boot-end-marker
!
enable secret 5 xxxxxxxxxxxxxxxxxxxxxx
!
no aaa new-model
ip cef
!
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
 ip address 192.168.1.254 255.255.255.0
 full-duplex
!
interface Ethernet0/1
 ip address 192.168.2.254 255.255.255.0
 full-duplex
!
!
ip http server
no ip http secure-server
!
!
control-plane
!
!
line con 0
 password xxxxxxxx
 login
line aux 0
 password xxxxxxxx
 login
line vty 0 4
 password xxxxxxxx
 login
!
!
end

Routes on smoothwall 192.168.1.1
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
192.168.2.0     192.168.1.254   255.255.255.0   UG    0      0        0 eth0
76.xxx.xxx.0    *               255.255.248.0   U     0      0        0 eth1
default         c-76-xxx-xxx-x. 0.0.0.0         UG    0      0        0 eth1
Routes on the wrt 54g192.168.2.1, I dont have anything on the wan, this is just testing before installing.
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     192.168.2.254   255.255.255.0   UG    0      0        0 br0
192.168.2.0     *               255.255.255.0   U     0      0        0 br0
169.254.0.0     *               255.255.0.0     U     0      0        0 br0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo

0
 

Author Comment

by:imagex
ID: 22864270
anyone?
0
 

Author Comment

by:imagex
ID: 23063711
I found that with two dd-wrts routers it works fine, must be some thing with the added route on the smoothwall.
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question