Re: CIPE Server netmask problem on Redhat Linux 9
From: Tauno Voipio (tauno.voipio_at_iki.fi.NOSPAM.invalid)
Date: 05/05/04
- Previous message: Ann: "Re: cannot connect from linux cipe server to windows cipe client"
- In reply to: Ann: "CIPE Server netmask problem on Redhat Linux 9"
- Next in thread: Ann: "Re: CIPE Server netmask problem on Redhat Linux 9"
- Reply: Ann: "Re: CIPE Server netmask problem on Redhat Linux 9"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 05 May 2004 06:37:13 GMT
Ann wrote:
> Hi,
>
> I am trying to set up a CIPE server on the redhat linux 9.
>
> I have done the following:
>
>
>>Edited a file : /etc/sysconfig/network-scripts/ifcfg-cipcb0
>
>
> DEVICE=cipcb0
> ONBOOT=yes
> USERCTL=yes
> MYPORT=6789
> PEER=67.xx.xxx.161:6790
> PTPADDR=192.168.0.2
> IPADDR=192.168.0.1
> NETMASK =255.255.255.0
>
>
>>/etc/sysconfig/network-scripts/ifup-cipcb ifcfg-cipcb0
>
>
>>ifconfig
>
>
> The ifconfig shows the Mask as 255.255.255.255
> How can i change this? Any ideas??
>
> -Ann
Please note that there are two IP addresses at each end of
a CIPE tunnel: the outside address which is used to build
the tunnel, and the inside address which is used with the
data to be transferred via the tunnel. To keep routing
manageable, the outside and inside addresses must be in
different subnets: there is no hinder to use a totally
different network for the inside addresses.
You're trying to put the outside and inside addresses
in the same subnet (192.168.0.0/24), and the routing
is confused. The CIPE interfaces carry the inside addresses
and the data has to be routed via them. The outside
addresses are in the configuration file, and they must
be routable/accessible via the real network interfaces
of the host.
The Red Hat configuration files are a bit strange for me:
I'm a Debian user. Maybe some Red Hat user can help here.
HTH
Tauno Voipio
tauno voipio @ iki fi
- Previous message: Ann: "Re: cannot connect from linux cipe server to windows cipe client"
- In reply to: Ann: "CIPE Server netmask problem on Redhat Linux 9"
- Next in thread: Ann: "Re: CIPE Server netmask problem on Redhat Linux 9"
- Reply: Ann: "Re: CIPE Server netmask problem on Redhat Linux 9"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|