Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

connecting two lans

Posted on 2008-10-24
8
Medium Priority
?
248 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
Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

 
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

WatchGuard Case Study: Museum of Flight

“With limited money and limited staffing, we didn’t have a lot of choices in terms of what we could do to bring efficiency. WatchGuard played a central part in changing that.” To provide strong, secure Wi-Fi access within the museum, Hunter chose to deploy WatchGuard’s AP120 APs.

Question has a verified solution.

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

In this article, WatchGuard's Director of Security Strategy and Research Teri Radichel, takes a look at insider threats, the risk they can pose to your organization, and the best ways to defend against them.
In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

971 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