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

To: Doug Johnson <doug.johnson,AT,vifanusa,DOT,com>
Subject: Re: port specification
From: Phil Scarratt <fil,AT,draxsen,DOT,com>
Date: Wed, 02 Jul 2003 08:13:09 +1000
Cc: cipe-l,AT,inka,DOT,de
Organization: Draxsen Technologies
References: <1AEB768E2548D611869F000255478B0A355276@NTUSA2>

From a discussion on the list not too long ago:

FILE: ifcfg-cipcb0
DEVICE=cipcb0                    #device that we are using
ONBOOT=no                        #don't want device activated on boot
USERCTL=no                       #Only root can turn device on/off
PEER=131.193.50.165:66666        #Peer public IP address.
PTPADDR=192.168.254.200          #Peer private IP address
IPADDR=192.168.254.201           #My own private IP address
PEERDNS=no                       #Peer will not serve as a DNS server
TYPE=CIPE                        #??
ME=131.193.50.184:66666          #My Own public IP address.

with the following addendum:

CIPE_OPTS=" maxerr=-1 arg=abc"

All the above can be added to ifcfg-cipcb0 file which means that the only thing that needs to be put in the options.cipcb0 file is the key.

Fil

Doug Johnson wrote:
I know Redhat 8 uses a MYPORT variable in the ifcfg-cipcbx script. Here is a
example ifcfg-cipcb0 config file out of Redhat 8:

##########################################################

DEVICE=cipcb0
ONBOOT=yes
USERCTL=yes

# PORT specifies which UDP port is used by CIPE process
# for the local endpoint.  Make sure this passes through possible
# firewalls.
MYPORT=6060

# PEER specifies the _real_ address of the remote CIPE endpoint.
# 0.0.0.0 means it's allocated dynamically (only one end can set it this,
# though).  You must specifiy the peer port address on this line
# in the form peer.host.example.com:port
PEER=cipe.example.com:6060

# PTPADDR specifies the _virtual_ address for the remote end of the
# CIPE tunnel.  Usually it should be an address reserved for local
# networks so that it won't mess up routing to "real" addresses.
PTPADDR=10.0.0.1

# IPADDR specifies the _virtual_ address for the local end of the
# CIPE tunnel. Usually it should be an address reserved for local
# networks so that it won't mess up routing to "real" addresses.
IPADDR=10.0.0.2


#############################################################

Doug


-----Original Message----- From: Mark Smith [mailto:mark.smith,AT,avcosystems,DOT,co,DOT,uk Sent: Tuesday, July 01, 2003 9:12 AM To: cipe-l,AT,inka,DOT,de Subject: RE: port specification


Sean O'Reilly s.oreilly,AT,linnovations,DOT,co,DOT,uk wrote:



would setting a variable called MY_PORT in ifcfg-cipcb0 work if i was
starting the connection at boot using network scripts.


This is a question for someone on the list who knows how redhat does things.
I use Debian, so I'm afraid I can't offer an answer.

--
Mark Smith - Avco Systems Ltd
email: mark.smith,AT,avcosystems,DOT,co,DOT,uk
Tel: +44 (0)1784 430996 Fax: +44 (0)1784 431078



-- Message sent by the cipe-l,AT,inka,DOT,de mailing list. Unsubscribe: mail majordomo,AT,inka,DOT,de, "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>

--
Message sent by the cipe-l,AT,inka,DOT,de mailing list.
Unsubscribe: mail majordomo,AT,inka,DOT,de, "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>

-- Phil Scarratt Draxsen Technologies IT Contractor/Consultant 0403 53 12 71


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