Sponsored Content
Special Forums IP Networking Connect to RAS callback server: route problem Post 302138443 by robotronic on Monday 1st of October 2007 03:56:09 PM
Old 10-01-2007
Well, traceroute doesn't hang, prints out a bunch of asterisks.
And yes, I've already turned on debug for pppd. Following, I'm trying to clear out the entire situation:

Code:
1a) Routing table on Windows, before the connection:
===========================================================================
Active Routes:
Network Address            Mask             Gateway       Interface  Metric   
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1   
===========================================================================

Code:
1b) Routing table on Windows, after the connection:
===========================================================================
Active Routes:
Network Address            Mask             Gateway       Interface  Metric   
          0.0.0.0          0.0.0.0     10.74.49.117    10.74.49.117       1   
      10.74.49.22  255.255.255.255     10.74.49.117    10.74.49.117       1
     10.74.49.117  255.255.255.255        127.0.0.1       127.0.0.1       50
   10.255.255.255  255.255.255.255     10.74.49.117    10.74.49.117       50
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1   
        224.0.0.0        240.0.0.0     10.74.49.117    10.74.49.117       1
  255.255.255.255  255.255.255.255     10.74.49.117    10.74.49.117       1
Default gateway:          10.74.49.117
===========================================================================

Code:
1c) tracert 10.74.49.117 (myself):

Tracing route to localhost [10.74.49.117] over a maximum of 30 hops:

  1    <1 ms    <1 ms    <1 ms  localhost [10.74.49.117]

Trace complete.

Code:
1d) tracert 10.74.49.22 (the RAS Server):

Tracing route to 10.74.49.22 over a maximum of 30 hops

  1   320 ms   307 ms   312 ms  10.74.49.22

Trace complete.

Code:
1e) tracert 10.54.39.11 (a test machine on the remote network):

Tracing route to test1 [10.54.39.11] over a maximum of 30 hops:

  1   343 ms   309 ms   311 ms  10.74.49.22
  2     *        *        *     Request timed out.
  3   516 ms   310 ms   297 ms  test1 [10.54.39.11]

Trace complete.

Code:
2a) Routing table on Linux, before the connection:

localhost ppp # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo

Code:
2b) Routing table on Linux, after the connection:

localhost ppp # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.74.49.22     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         10.74.49.22     0.0.0.0         UG    0      0        0 ppp0

Code:
2c) traceroute -n 10.74.49.117 (myself):
traceroute to 10.74.49.117 (10.74.49.117), 30 hops max, 38 byte packets
 1  10.74.49.117  0.043 ms  0.017 ms  0.017 ms

Code:
2d) traceroute -n 10.74.49.22 (the RAS Server):
traceroute to 10.74.49.22 (10.74.49.22), 30 hops max, 38 byte packets
 1  * * *
 2  * * *
 3  * * *
 ... ... ...
28  * * *
29  * * *
30  * * *

Code:
2e) traceroute -n 10.54.39.11 (a test machine on the remote network):
traceroute to 10.54.39.11 (10.54.39.11), 30 hops max, 38 byte packets
 1  * * *
 2  * * *
 3  * * *
 ... ... ...
28  * * *
29  * * *
30  * * *



And this is the connection phase where all seems going well, otherwise I don't think pppd could exit with no errors:

Code:
localhost ppp # cat dial_winnt 
#!/bin/bash
# Call the Windows RAS Server
/usr/sbin/pppd file "/etc/ppp/options.nt"
# Wait for a callback from the Windows RAS server
/usr/sbin/pppd file "/etc/ppp/options.callback"

localhost ppp # ./dial_winnt 
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <callback CBCP> <magic 0x15e1dd6d> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth eap> <magic 0x27c62cc> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:72.c8.4e.3c.43.a9.48.56.b4.8f.96.40.90.72.dc.e0.00.00.00.00]> < 17 04 00 33>]
sent [LCP ConfRej id=0x0 <callback CBCP> <mrru 1614> < 17 04 00 33>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <callback CBCP> <magic 0x15e1dd6d> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth eap> <magic 0x27c62cc> <pcomp> <accomp> <endpoint [local:72.c8.4e.3c.43.a9.48.56.b4.8f.96.40.90.72.dc.e0.00.00.00.00]>]
sent [LCP ConfNak id=0x1 <auth chap MD5>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap MS-v2> <magic 0x27c62cc> <pcomp> <accomp> <endpoint [local:72.c8.4e.3c.43.a9.48.56.b4.8f.96.40.90.72.dc.e0.00.00.00.00]>]
sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth chap MS-v2> <magic 0x27c62cc> <pcomp> <accomp> <endpoint [local:72.c8.4e.3c.43.a9.48.56.b4.8f.96.40.90.72.dc.e0.00.00.00.00]>]
cbcp_lowerup
want: 14
rcvd [CHAP Challenge id=0x0 <b0725c14fc0d2d38f9f71b1c06c55707>, name = "RASSERVER"]
sent [CHAP Response id=0x0 <2cd54819963de15acb32003bdeb27d3200000000000000003ec36dc144fafc62bb3d1894be8951148ceba541b6de5b1b00>, name = "mylogin"]
rcvd [CHAP Success id=0x0 "S=1CC2C9577D1CACE412D2DA7E8BC7E22777222AE2"]
CHAP authentication succeeded
cbcp_open
rcvd [CBCP Request id=0x1 < AdminDefined delay = 0>]
length: 3
user admin defined allowed
cbcp_resp cb_type=8
cbcp_resp CONF_ADMIN
sent [CBCP Response id=0x1 < AdminDefined delay = 5>]
rcvd [CBCP Ack id=0x1 < AdminDefined delay = 5>]
sent [LCP TermReq id=0x2 "Call me back, please"]
rcvd [LCP TermAck id=0x2 "Call me back, please"]
Connection terminated.

Serial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS0
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth eap> <magic 0x68676e11> <pcomp> <accomp> <mrru 1614> <endpoint [local:72.c8.4e.3c.43.a9.48.56.b4.8f.96.40.90.72.dc.e0.00.00.00.00]> < 17 04 00 34>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <callback CBCP> <magic 0xab0df31c> <pcomp> <accomp>]
sent [LCP ConfRej id=0x0 <mrru 1614> < 17 04 00 34>]
rcvd [LCP ConfRej id=0x1 <callback CBCP>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xab0df31c> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth eap> <magic 0x68676e11> <pcomp> <accomp> <endpoint [local:72.c8.4e.3c.43.a9.48.56.b4.8f.96.40.90.72.dc.e0.00.00.00.00]>]
sent [LCP ConfNak id=0x1 <auth chap MD5>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0xab0df31c> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap MS-v2> <magic 0x68676e11> <pcomp> <accomp> <endpoint [local:72.c8.4e.3c.43.a9.48.56.b4.8f.96.40.90.72.dc.e0.00.00.00.00]>]
sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth chap MS-v2> <magic 0x68676e11> <pcomp> <accomp> <endpoint [local:72.c8.4e.3c.43.a9.48.56.b4.8f.96.40.90.72.dc.e0.00.00.00.00]>]
cbcp_lowerup
want: 14
rcvd [CHAP Challenge id=0x0 <3e6effb1eaa7475edbe5a1b6e0222053>, name = "RASSERVER"]
sent [CHAP Response id=0x0 <0beb8c708ddedfc90b971fa0755d61dd0000000000000000a528126f365186da8db35c4b01cc974d2d5a9ee016fc7c6600>, name = "mylogin"]
rcvd [CHAP Success id=0x0 "S=1D9EF7FE8E327E03F678D504705C80375B8DC19C"]
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <mppe +H -M +S +L -D -C>]
rcvd [CCP ConfReq id=0x4 <mppe -H +M +S +L -D +C>]
sent [CCP ConfNak id=0x4 <mppe -H -M +S -L -D -C>]
rcvd [IPCP ConfReq id=0x5 <compress VJ 0f 01> <addr 10.74.49.22>]
sent [IPCP TermAck id=0x5]
rcvd [CCP ConfNak id=0x1 <mppe -H -M +S -L -D -C>]
sent [CCP ConfReq id=0x2 <mppe -H -M +S -L -D -C>]
rcvd [CCP ConfReq id=0x6 <mppe -H -M +S -L -D -C>]
sent [CCP ConfAck id=0x6 <mppe -H -M +S -L -D -C>]
rcvd [CCP ConfAck id=0x2 <mppe -H -M +S -L -D -C>]
MPPE 128-bit stateful compression enabled
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x1 <addr 10.74.49.117>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 10.74.49.117>]
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 10.74.49.117>]
rcvd [IPCP ConfReq id=0x7 <compress VJ 0f 01> <addr 10.74.49.22>]
sent [IPCP ConfAck id=0x7 <compress VJ 0f 01> <addr 10.74.49.22>]
local  IP address 10.74.49.117
remote IP address 10.74.49.22

 

10 More Discussions You Might Find Interesting

1. Cybersecurity

J need help to make callback by Modem (AIX)

Are there any of you who have a description which can help me to make a callback on AIX. My userīs call in by a telefonnumber at I want AIX to disconnect the line and make a callback to the user who had logged on AIX. The advantage of this is we have security on who we allow to call our... (2 Replies)
Discussion started by: Carsten Lesmark
2 Replies

2. IP Networking

When to use static route on server?

Hi guys, sorry for asking noob question. When do we really need to add a static route on the server? I encounter this situation whereby a client trigger a network packet to the destination but the destination does not know how to return the traffic back to the client (source). The issue was... (4 Replies)
Discussion started by: DrivesMeCrazy
4 Replies

3. AIX

problem with host route

Hi, I have a system with network interfaces en0 and en1 en0: physical ip: 1.1.1.10 virtual ip1: 192.168.100.11 virtual ip2: 192.168.100.12 en1: physical ip: 1.1.1.20 virtual ip1: 192.168.100.20 virtual ip2: 192.168.100.21 default gateway ist 192.168.100.254 when I open a... (12 Replies)
Discussion started by: funksen
12 Replies

4. AIX

problem with command 'route -q' in AIX 5.3

Hi all! I have a problem.I access to AIX server via SSH,then i use command 'route -q', after that i can't connect to AIX server.Please help me to fix this problem. Thanks & Best Regards (1 Reply)
Discussion started by: bachtq
1 Replies

5. Solaris

Not able to delete the route on one of the server

I try to delete the route on one of the server But I am not able to do it its show the error # route delete 10.1.88.0 10.37.201.33 delete host 10.1.88.0: gateway 10.37.201.33: not in table If I add the route also its shows the error message # route add -net 10.1.88.0 10.37.201.33 add net... (5 Replies)
Discussion started by: bapu1981
5 Replies

6. Linux

Generate public key to connect from one ftp server to other server

How to generate public key to connect from one ftp server to other server to use in scripting. (0 Replies)
Discussion started by: sridhardwh
0 Replies

7. UNIX for Advanced & Expert Users

Public key to connect from one ftp server to other server

How to generate public key to connect from one ftp server to other server to use in scripting. (1 Reply)
Discussion started by: sridhardwh
1 Replies

8. Shell Programming and Scripting

Connect (SSH) to Windows server via Linux server through a script and passing command.. but failing

I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd" i am trying in this manner " ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies

9. Shell Programming and Scripting

Problem connect to a different server then do sudo login and finally run some scripts and get result

I have to write a shell script in my current linux server and I have to connect to a different server then do sudo login and finally run some scripts residing in a particular directory and get results back. I am starting to write my shell script as below but after I do ssh login it prompts for... (2 Replies)
Discussion started by: Devesh5683
2 Replies

10. Linux

How to connect Linux server (configure two way authentication) with Windows server?

Hi my name is Manju. ->I have configure the two way authentication on my linux server. ->Now I am able to apply two way authenticator on particuler user. ->Now I want to map this linux server to my AD server. ->Kindly tell me how to map AD(Active Directory) with this linux server. ... (0 Replies)
Discussion started by: manjusharma128
0 Replies
All times are GMT -4. The time now is 12:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy