<< | Thread Index | >> ]    [ << | Date Index | >> ]

To: cipe-l,AT,inka,DOT,de
Subject: Re: CIPE RH linux + Windows 2000 routing problem - It is working :-))
From: Zkoumalek <zkoumalek,AT,seznam,DOT,cz>
Date: Wed, 24 Sep 2003 12:30:44 +0200 (CEST)
Cc:
Reply-to: Zkoumalek <zkoumalek,AT,seznam,DOT,cz>

> I am having the same problem as you. What commands did you give to
> 'arp'; which mac, which ip; and 'route'; which netmask, gw, and intf?
>
> Thanks in advance,
>
> Micha.

Hello,

My network:

linux pub. IP--|LINUX|--192.168.1.0/24
|
INTERNET
|
--win2000 pub. IP--|Win2000|--192.168.3.1/24

on Linux side works everything fine. I read cipe manual and made it step by 
step. Don't forget add appropriate route.
My route:
route add -net 192.168.3.0 netmask 255.255.255.0 dev cipcb0

But on Windows 2000 station was problem. Only ping on "Peer PTP address" 
(192.168.1.1 in my config) worked fine, but ping on another machine in my 
peer network (192.168.1.X <=> X != 1) failed.
Mr. from "edv-service" helped me :-).

On Windows 2000 machine:
1. Set correctly cipe configuration.
2. Add route command into routing table.
My route:
route add 192.168.1.0 mask 255.255.255.0 192.168.3.1
3. Add all IP addresses from linux private network (In my case: network 
192.168.1.0/24) into Windows arp table as static record - and insert it into 
interface "Local PTP address". I have 1 perl script which I can use when is 
cipe starting and second when is cipe stopping. This script makes all 
necessary things.
When cipe starts I make something like this:
arp -s 192.168.1.2 08-00-58-00-00-02 -N 192.168.3.1
arp -s 192.168.1.3 08-00-58-00-00-02 -N 192.168.3.1
...

when cipe stops I make something like this:
arp -d 192.168.1.2
arp -d 192.168.1.3
...

And where I found MAC 08-00-58-00-00-02? I made ping 192.168.1.1 (It works 
fine :-)). Then I made arp -a and I found something like:
Inet address       MAC address
192.168.1.1        08-00-58-00-00-02

Thats all. Try ping on another machine inside network behind Linux router. It 
must work, I hope :-).

You are welcome,
T. Zkoumalek
____________________________________________________________
Vyzkoušejte si Oskarovy MMS zdarma!
http://ad2.seznam.cz/redir.cgi?instance=60950%26url=http://www.oskarmobil.cz/services/whatsnew.php#moje


<< | Thread Index | >> ]    [ << | Date Index | >> ]