Operating System - Linux
1752806 Members
5759 Online
108789 Solutions
New Discussion

cipe linux server and windows cipe client

 
nthomson
New Member

cipe linux server and windows cipe client

Hi,


I am trying to connect Redhat Linux 9 cipe server to Windows 2003(
tried windows NT too) cipe client.
i cannot ping the Windows CIPE client from the Linux
machine..

This a short description of what i have done: -

On the Linux machine(External ip address: 67.xx.xx.159, Local ip address : 192.*.*.239 )=>

1)I edited the file /etc/sysconfig/iptables to allow incoming UDP
packets

-A INPUT -p udp -m udp -s 67.xx.xx.159 -d 67.xx.xxx.161 --sport 6790
--dport 6789 -j ACCEPT

where 67.xx.xxx.159 : Linux m/c
198.xx.xxx.134 : Windows m/c containing CIPE client

2) Edited a file : /etc/sysconfig/network-scripts/ifcfg-cipcb0

DEVICE=cipcb0
ONBOOT=yes
USERCTL=yes
MYPORT=6789
PEER=198.xx.xxx.134:6790
PTPADDR=10.0.0.3
IPADDR=10.0.0.2

3) I created a key in /etc/cipe/options.cipcb0 on both machines. It
reads:

key XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

and did the following

# chmod 600 /etc/cipe/options.cipcb0

4) Started CIPE using

# /etc/sysconfig/network-scripts/ifup-cipcb ifcfg-cipcb0

I checked using ifconfig , cipcb0 is up and running..

Now on the windows 2003 machine(198.xx.xxx.134),

1)Created a network device using CIPE Windows NDIS driver and service,
version 2.0-pre15. (391k, zip).

the settings are as follows:

Local IP address : 198.*.*.134 Port:6790
Peer IP Address : 67.xx.xxx.159 Port:6789
Local PTP Address: 10.0.0.3
Peer PTP Address : 10.0.0.2
Key : XXXXXXXXXXXXXXXXXXXXXXXXX(same as on the linux machine)

Cipher: Blowfish

Time out : 600

But i cannot ping cipe client on windows from linux.

when i run a netstat -anp on the LINUX machine,i get the following:


Protocol Recv-Q Send-Q Local Address Foreign Address
State PID/Program Name
--------------------------------------------------------------------------------------------------------
udp 0 0 192.*.*.239:6789 0.0.0.0:*
ESTABLISHED 18133/ciped-cb

when i run a netstat -a on the Windows machine, I don't see any 6790 port open.

And also, ifconfig on the linux gives me the following:

cipcb0 Link encap:IPIP Tunnel HWaddr
inet addr:10.0.0.2 P-t-P:10.0.0.3 Mask:255.255.255.255
UP POINTOPOINT NOTRAILERS RUNNING NOARP MTU:1442 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Running ipconfig on windows gives me the following:
Windows 2000 IP Configuration

Ethernet adapter CIPE:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 10.0.0.3
Subnet Mask . . . . . . . . . . . : 255.0.0.0
Default Gateway . . . . . . . . . :


Ethernet adapter Local Area Connection 2:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : xxx.xxx.xxx.x
Subnet Mask . . . . . . . . . . . : 255.255.254.0
IP Address. . . . . . . . . . . . : xxx.xxx.xxx.x
Subnet Mask . . . . . . . . . . . : 255.255.254.0
IP Address. . . . . . . . . . . . : xxx.xxx.xxx.xxx
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Default Gateway . . . . . . . . . : xxx.xxx.xxx.1


i couldn't find any solution to what i am doing wrong...
Any help will be greatly appreciated..

Thanks,
Ann
nthomson@lintas.com