Re: CIPE Server netmask problem on Redhat Linux 9

From: Tauno Voipio (tauno.voipio_at_iki.fi.NOSPAM.invalid)
Date: 05/05/04

  • Next message: Gary Petersen: "Raw sockets and system compromise"
    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


  • Next message: Gary Petersen: "Raw sockets and system compromise"

    Relevant Pages

    • Re: CIPE Server netmask problem on Redhat Linux 9
      ... > I am trying to set up a CIPE server on the redhat linux 9. ... a CIPE tunnel: the outside address which is used to build ... Maybe some Red Hat user can help here. ... Tauno Voipio ...
      (comp.os.linux.networking)
    • Re: VPN with CIPE
      ... Peter Höltschi wrote: ... > Maschine and a Windows Client. ... > about CIPE install and config, but I still have a question: ... To build the tunnel you need at least one fixed address. ...
      (comp.os.linux.security)
    • Re: Ftp over cipe(VPN)
      ... > all you have to do is to address the other machine with its tunnel ip. ... > through the vpn, both will work. ... Setting up cipe is extremely easy. ... > vpn ips and the key in the config file. ...
      (comp.security.ssh)
    • Re: CIPE Server netmask problem on Redhat Linux 9
      ... > Ann wrote: ... > a CIPE tunnel: the outside address which is used to build ... Maybe some Red Hat user can help here. ... > tauno voipio @ iki fi ...
      (comp.os.linux.networking)
    • Re: CIPE Server netmask problem on Redhat Linux 9
      ... > Ann wrote: ... > a CIPE tunnel: the outside address which is used to build ... Maybe some Red Hat user can help here. ... > tauno voipio @ iki fi ...
      (comp.os.linux.security)