Tom's Hardware > Forum > General Networking > General Gateways, Routers and Firewalls > Trouble communicating between two routers

Trouble communicating between two routers

Forum General Networking : General Gateways, Routers and Firewalls - Trouble communicating between two routers

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

I am running IPCop 1.4.10 as my main router (192.168.1.1) and gateway to the internet. I am trying to setup a second router which is Brazilfw 2.26 (192.168.2.1) and I am having all sorts of trouble getting the two routers to ping properly when I disable NAT. I disabled NAT because I would like to be able to cross the networks similar to a VLAN (connecting through a UNC share and ping the IPs in the other network). When using NAT, this is not possible.

OK, on the main IPCop router which has an IP of 192.168.1.1 I have this in the rc.local file:

#Static Route for BrazilFW router
/sbin/route add -net 192.168.2.0 netmask 255.255.255.0 dev eth0

And these are the current routes for the IPCop router:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
24.148.144.128 * 255.255.255.128 U 0 0 0 eth1
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default user-0c99441.ca 0.0.0.0 UG 0 0 0 eth1

On the BrazilFW router (192.168.2.1), I have nothing added to the rc.local file yet but I temporarily added routes using the route add command and this is the current routing table:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1


As for my results, well, I have none really. The BrazilFW router can ping ANY IP (inside or outside of BrazilFW router and any internet IP address). But none of the clients can ping anything other than what's behind the BrazilFW router. I am confused on how to get this to work properly. =(

Can anyone suggest anything?
__________________

Sponsored Links
Register or log in to remove.
Tom's Hardware > Forum > General Networking > General Gateways, Routers and Firewalls > Trouble communicating between two routers
Go to:

There are 1164 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them