Re: CIPE RH linux + Windows 2000 routing problem - It is working :-))

Zkoumalek <[email protected]>
Newsgroups gmane.comp.encryption.cipe
Message-ID <[email protected]>
> 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

--
Message sent by the [email protected] mailing list.
Unsubscribe: mail [email protected], "unsubscribe cipe-l" in body
Other commands available with "help" in body to the same address.
CIPE info and list archive: <URL:http://sites.inka.de/~bigred/devel/cipe.html>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.