Connect to RAS callback server: route problem


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 8  
I don't see pppd actually sending any packets down the wire.

what does "ifconfig ppp0" say?
# 9  
Code:
localhost ppp # ifconfig ppp0
ppp0      Link encap:Point-to-Point Protocol  
          inet addr:10.74.49.117  P-t-P:10.74.49.22  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1496  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:98 (98.0 b)  TX bytes:92 (92.0 b)

# 10  
Do the RX and TX counts go up when you ping or traceroute across the link?

Have you tried tcpdump or any other packet tracing?
# 11  
Oh yes. While I run the following ping, the command remains stuck but both TX and RX packets are increasing a lot:

Code:
localhost ppp # ping 10.74.49.22
PING 10.74.49.22 (10.74.49.22) 56(84) bytes of data.
^C
--- 10.74.49.22 ping statistics ---
247 packets transmitted, 0 received, 100% packet loss, time 246007ms

localhost ppp # ifconfig ppp0
ppp0      Link encap:Point-to-Point Protocol  
          inet addr:10.74.49.117  P-t-P:10.74.49.22  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1496  Metric:1
          RX packets:254 errors:0 dropped:0 overruns:0 frame:0
          TX packets:289 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:21051 (20.5 Kb)  TX bytes:23446 (22.8 Kb)

Also tcpdump shows me something, but I admit that I can't understand the output at all:

Code:
localhost ppp # tcpdump -i ppp0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 96 bytes
22:59:51.784268 IP 10.74.49.117 > 10.74.49.22: ICMP echo request, id 1303, seq 172, length 64
22:59:51.803173 IP 10.74.49.117.1072 > 212.216.112.112.domain: 16552+ PTR? 32.59.84.10.in-addr.arpa. (42)
22:59:52.784277 IP 10.74.49.117 > 10.74.49.22: ICMP echo request, id 1303, seq 173, length 64
22:59:53.784287 IP 10.74.49.117 > 10.74.49.22: ICMP echo request, id 1303, seq 174, length 64
22:59:54.784296 IP 10.74.49.117 > 10.74.49.22: ICMP echo request, id 1303, seq 175, length 64
22:59:55.784309 IP 10.74.49.117 > 10.74.49.22: ICMP echo request, id 1303, seq 176, length 64
22:59:56.784318 IP 10.74.49.117 > 10.74.49.22: ICMP echo request, id 1303, seq 177, length 64
22:59:56.804338 IP 10.74.49.117.1073 > 212.216.172.62.domain: 16552+ PTR? 32.59.84.10.in-addr.arpa. (42)

The IPs 212.216.112.112 and 212.216.172.62 are the DNS servers in my "/etc/resolv.conf" file, and are used only for the internet connection. To reach the remote machines behind RAS Server I'm using (for now!) a static hosts file or the direct IP address.
# 12  
1. what is at "32.59.84.10.in-addr.arpa", ie , 10.84.59.32? You seem to want the name of it.

2. Watch TCP dump while doing the following...

a. can you try "telnet <ras-server-ip> 135"

b. can you try "telnet <ras-server-ip> 137"

c. get the IP address of the true name server you are supposed to be using (not your /etc/resolv.conf internet one) and try using "nslookup lookup-name dns-server"

3. You are getting no ICMP echo replies back, can you ping when you are a Windows client? RAS server may have a firewall up.
# 13  
1. I don't know what 10.84.59.32 is. I've noticed that some output was written while some firefox extensions were trying to refresh their data and couldn't get it due to the internet temporary unavailable.

2. This is the tcpdump output, interleaved with the commands executed and their outputs:

Code:
localhost ppp # tcpdump -i ppp0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 96 bytes

===> a) telnet 10.74.49.22 135
===>    Trying 10.74.49.22... ^C After about a minute.
19:12:22.558271 IP 10.74.49.117.20558 > 10.74.49.22.epmap: S 2892706931:2892706931(0) win 5824 <mss 1456,sackOK,timestamp 230700 0,nop,wscale 7>
19:12:22.577869 IP 10.74.49.117.1108 > 212.216.112.112.domain: 482+ PTR? 22.49.74.10.in-addr.arpa. (42)
19:12:25.559651 IP 10.74.49.117.20558 > 10.74.49.22.epmap: S 2892706931:2892706931(0) win 5824 <mss 1456,sackOK,timestamp 231450 0,nop,wscale 7>

===> b) telnet 10.74.49.22 137
===>    Trying 10.74.49.22... ^C After about a minute.
19:12:27.579538 IP 10.74.49.117.1109 > 212.216.172.62.domain: 482+ PTR? 22.49.74.10.in-addr.arpa. (42)
19:12:31.559229 IP 10.74.49.117.20558 > 10.74.49.22.epmap: S 2892706931:2892706931(0) win 5824 <mss 1456,sackOK,timestamp 232950 0,nop,wscale 7>
19:12:32.579169 IP 10.74.49.117.1108 > 212.216.112.112.domain: 482+ PTR? 22.49.74.10.in-addr.arpa. (42)
19:12:37.578815 IP 10.74.49.117.1109 > 212.216.172.62.domain: 482+ PTR? 22.49.74.10.in-addr.arpa. (42)
19:12:42.597124 IP 10.74.49.117.1109 > 212.216.112.112.domain: 47546+ PTR? 117.49.74.10.in-addr.arpa. (43)
19:12:43.558381 IP 10.74.49.117.20558 > 10.74.49.22.epmap: S 2892706931:2892706931(0) win 5824 <mss 1456,sackOK,timestamp 235950 0,nop,wscale 7>
19:12:47.598123 IP 10.74.49.117.1110 > 212.216.172.62.domain: 47546+ PTR? 117.49.74.10.in-addr.arpa. (43)
19:12:52.597753 IP 10.74.49.117.1109 > 212.216.112.112.domain: 47546+ PTR? 117.49.74.10.in-addr.arpa. (43)
19:12:57.597400 IP 10.74.49.117.1110 > 212.216.172.62.domain: 47546+ PTR? 117.49.74.10.in-addr.arpa. (43)
19:13:02.615452 IP 10.74.49.117.1110 > 212.216.112.112.domain: 35246+ PTR? 112.112.216.212.in-addr.arpa. (46)
19:13:07.556689 IP 10.74.49.117.20558 > 10.74.49.22.epmap: S 2892706931:2892706931(0) win 5824 <mss 1456,sackOK,timestamp 241950 0,nop,wscale 7>
19:13:07.616720 IP 10.74.49.117.1111 > 212.216.172.62.domain: 35246+ PTR? 112.112.216.212.in-addr.arpa. (46)
19:13:12.616348 IP 10.74.49.117.1110 > 212.216.112.112.domain: 35246+ PTR? 112.112.216.212.in-addr.arpa. (46)
19:13:17.615996 IP 10.74.49.117.1111 > 212.216.172.62.domain: 35246+ PTR? 112.112.216.212.in-addr.arpa. (46)
19:13:22.634064 IP 10.74.49.117.1111 > 212.216.112.112.domain: 23012+ PTR? 62.172.216.212.in-addr.arpa. (45)
19:13:27.631300 IP 10.74.49.117.1112 > 212.216.172.62.domain: 23012+ PTR? 62.172.216.212.in-addr.arpa. (45)
19:13:32.630932 IP 10.74.49.117.1111 > 212.216.112.112.domain: 23012+ PTR? 62.172.216.212.in-addr.arpa. (45)
19:13:37.630579 IP 10.74.49.117.1112 > 212.216.172.62.domain: 23012+ PTR? 62.172.216.212.in-addr.arpa. (45)
19:13:44.019252 IP 10.74.49.117.4918 > 10.74.49.22.netbios-ns: S 2969828930:2969828930(0) win 5824 <mss 1456,sackOK,timestamp 251066 0,nop,wscale 7>
19:13:47.017902 IP 10.74.49.117.4918 > 10.74.49.22.netbios-ns: S 2969828930:2969828930(0) win 5824 <mss 1456,sackOK,timestamp 251816 0,nop,wscale 7>
19:13:53.017478 IP 10.74.49.117.4918 > 10.74.49.22.netbios-ns: S 2969828930:2969828930(0) win 5824 <mss 1456,sackOK,timestamp 253316 0,nop,wscale 7>
19:14:05.020633 IP 10.74.49.117.4918 > 10.74.49.22.netbios-ns: S 2969828930:2969828930(0) win 5824 <mss 1456,sackOK,timestamp 256316 0,nop,wscale 7>

===> c1) nslookup test1 10.68.25.1
===>     ;; connection timed out; no servers could be reached
19:15:05.767605 IP 10.74.49.117.1112 > d1y10001.domain: 26814+ A? test1.homenetwork. (37)
19:15:10.768021 IP 10.74.49.117.1112 > d1y10001.domain: 26814+ A? test1.homenetwork. (37)
19:15:15.771660 IP 10.74.49.117.1112 > d1y10001.domain: 26814+ A? test1.homenetwork. (37)

===> c2) nslookup test1 10.68.25.2
===>     ;; connection timed out; no servers could be reached
19:15:37.783807 IP 10.74.49.117.1112 > d2u10001.domain: 48180+ A? test1.homenetwork. (37)
19:15:42.785752 IP 10.74.49.117.1112 > d2u10001.domain: 48180+ A? test1.homenetwork. (37)
19:15:47.789400 IP 10.74.49.117.1112 > d2u10001.domain: 48180+ A? test1.homenetwork. (37)

31 packets captured
31 packets received by filter
0 packets dropped by kernel

3. Yes, from the Windows client I can ping successfully the server and any other machine on the network.
# 14  
1. play with your pppd options to get the simplest possible connection, you may need to research Windows RAS to Linux PPPD to find the best options.

2. get somebody sitting at the RAS server to tell you what is happening at their end.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #506
Difficulty: Easy
A flowchart is a visual representation of an algorithm or process consisting of boxes or 'nodes' connected by directed edges.
True or False?

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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

Featured Tech Videos