Solved

connecting two lans

Posted on 2008-10-24
8
238 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
Surfing Is Meant To Be Done Outdoors

Featuring its rugged IP67 compliant exterior and delivering broad, fast, and reliable Wi-Fi coverage, the AP322 is the ideal solution for the outdoors. Manage this AP with either a Firebox as a gateway controller, or with the Wi-Fi Cloud for an expanded set of management features

 
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

Surfing Is Meant To Be Done Outdoors

Featuring its rugged IP67 compliant exterior and delivering broad, fast, and reliable Wi-Fi coverage, the AP322 is the ideal solution for the outdoors. Manage this AP with either a Firebox as a gateway controller, or with the Wi-Fi Cloud for an expanded set of management features

Question has a verified solution.

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

Suggested Solutions

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

749 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