Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: sam russo on July 30, 2001, 12:09:52 PM

Title: Telstra Bigpond static IP permanent connection confusion:
Post by: sam russo on July 30, 2001, 12:09:52 PM
At my place of work we have a linux box (setup by someone else ) which has a permanent connection and static IP address with telstra Bigpond. What I don't understand is where to put the other info for connection to telstra via the e-smith configuration.
The details given from Telstra are:
dialin:    1234567
username:    mywork
password:    xyz333
tihost:   arm2.armidale (telstras hostname for their equipment-It is used as part of the CHAP authentication. Local site needs to be configured to accept this hostname)
tiip:    (139.130.47.129) The IP address of the Telstra Big Pond Direct equipment that I'll be connecting to.
custip:    ( 139.130.47.134) The IP address of my equipment. e.g The IP address of the e-smith box (Note this really confuses me as the lannets below is also a set of IPS routed to my site.)
custmask:    (255.255.255.128) The mask used in conjuction with custip to identify the subnet my equipment is connected to
lannets:       (203.57.34.23  we're only using 1 of these IP's given 203.57.34.16/28) This is the block of IPs that are routed to my site.

Now my job is to  connect our e-smith box 4.1.2 to this connection. (The present connectioin is a linux box redat 5.2 which will be turned off and laid to rest)
I cannot see how to connect the above details with the e-smith configuration. I'm especially confused with the tiip and the lannets. On the present redhat 5.2  a ifconfig -a gives ppp0 as: inet add 203.57.34.23 and p-t-p 139.130.47.129 and mask 255.255.255.128
Please could someone give me directions on how to connect our e-smith box (which has one nic with an internal eth0 as 192.168.0.1).
Any help would be grately appreciated.
sam russo
sam@duval.nsw.edu.au
Title: Re: Telstra Bigpond static IP permanent connection confusion
Post by: Graeme Robinson on July 30, 2001, 12:31:35 PM
Most ISP's will automatically assign the correct permanent IP for the user login -Telstra BPD doesn't for some reason.  You need to set this using the guideline below which was taken from the faq on the corporate site a while ago.

the tiip is the telstra modem you are dialing into
the custip is the ip your modem will use that needs to be set below
your lannet is the range of routable addresses that you can use on your local net,  of which you only need one, which you will assign the the e-smith server.

"If your ISP is not able to configure their Remote Access Server (RAS) so that it allocates the correct IP address, then follow the intructions below to create a custom template. With this template in place there is no need to set the remote IP address and subnet mask. We also recommend you do NOT specify external primary and secondary DNS servers.

# Make a copy in the custom area of the template fragment you
# need to change
mkdir -p /etc/e-smith/templates-custom/etc/diald.conf
cp /etc/e-smith/templates/etc/diald.conf/pppd-options
/etc/e-smith/templates-custom/etc/diald.conf/pppd-options

# Edit in place the new template fragment
perl -pi -e "s/noipdefault/x.x.x.x:y.y.y.y/"
 /etc/e-smith/templates-custom/etc/diald.conf/pppd-options
# Here x.x.x.x refers to your custip IP address, y.y.y.y refers to
# the ISP RAS's IP address, the tiip. You *should* be able to leave y.y.y.y blank

# Expand the templated configuration file (/etc/diald.conf) and
# restart diald.
/sbin/e-smith/signal-event console-save
"
Title: Almost there!!...Telstra Bigpond static IP
Post by: sam russo on July 31, 2001, 05:34:06 PM
OK I've tried it and alas I'm connected with telstras connection. Only problem is that the static IP address which is routed to my site is not present. ie. The custip and the tiip is all ok but I cannot seem to get the 203.57.34.23 up. Where do I configure this in e-smith?
Again any help would be appreciated.
Title: Solved!! Telstra Bigpond static IP permanent.
Post by: sam russo on August 01, 2001, 08:49:11 AM
OK the e-smith box is up and running. This is what I did:

1.# Make a copy in the custom area of the template fragment you
  # need to change
  mkdir -p /etc/e-smith/templates-custom/etc/diald.conf
  cp /etc/e-smith/templates/etc/diald.conf/pppd-options
  /etc/e-smith/templates-custom/etc/diald.conf/pppd-options

2.# edit the   # /etc/e-smith/templates-custom/etc/diald.conf/pppd-options
  # to read noauth 203.57.34.17:139.130.47.129
  # where 203.57.34.17 is the lannets supplid by Bpd
  # and 139.130.47.129 is the tiip

3. # Expand the template by
  /sbin/e-smith/expand-template /etc/diald.conf

4. I also had to add in /etc/diald.conf the correct netmask for bpd ie 255.255.255.128 i did this after the line
which had noauth 203.57.34.17:139.130.47.129 in it.
I simply added netmask 255.255.255.128

5. restart diald by
  /sbin/e-smith/signal-event console-save

6. Reboot and alas I'm in with an ifconfig -a giving me:
   ppp0 inet addr:203.57.34.17 P-t-P:139.130.47.129
   Mask:255.255.255.128

7. Extra notes: Operation Mode via e-smith console wizard is
   operation mode iis server and gateway - dialup
   contunious connection

and now all is dinky-di:-)