CIPE works, but there is routing problem I can't solve|
Dragan Matic <gekko,AT,eunet,DOT,yu>|
Fri, 29 Aug 2003 22:40:04 +0200|
I need to connect two separate networks, both with assigned public IP
addresses, with Linux on one side and XP on the other side acting as a
gateways for cipe networking.
Net A Router A internet Router B Net B
| 192.168.4.1| |192.168.4.2|
CIPE 1. CIPE 2
(Linux - RH9) (Win XP Pro)
Gateway A and Gateway B CIPE interfaces see each other. Every host on
net A can see CIPE 2 interface as well as 192.168.1.1 address (they are
on the same computer). Gateway B can see every host on Net A. The
problem are the other computers on Net B, because they can't see CIPE 1
interface. So if I ping 192.168.4.2 (CIPE 2) from any host on net B they
can see it, but they can't see 192.168.4.1 (CIPE 1). Also, none of the
computers on Net A can see anything beyond 192.168.1.1.
Router B (Win XP)
- Router B is set up as default gateway for each computer on Net B
- Router B route for Net A is set up as:
route add 192.168.10.0 mask 255.255.255.0 192.168.4.1
Router A (Linux)
- Router A is set up as default gateway for each computer on Net A
- Router A route for Net B is set up as
route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.4.2
Obviously I am missing something, but what? I think problem is in XP,
can it work as a router this way, or I have to set something else up?
Tnx in advance.