Solved

connecting two lans

Posted on 2008-10-24
8
233 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
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
 
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This article is a step by step guide on how to create a basic PTP link using Ubiquiti airOS devices. This guide can be used on the following Ubiquiti AirMAX devices. Nanostation, Bullets, AirBridge, Nanobeam, NanoBridge to name a few. Please review …
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now