Sponsored Content
Special Forums IP Networking Connect to RAS callback server: route problem Post 302138218 by robotronic on Sunday 30th of September 2007 12:39:15 PM
Old 09-30-2007
Question Connect to RAS callback server: route problem

I'm trying to use my Gentoo Linux home workstation for connecting to a Windows RAS callback server through analogic telephone line (PSTN).

I'm using pppd and successfully configured pppd's options and chat files, both for the outgoing call and for receiving the incoming callback. All seems going well (negotiation of authentication method, encryption, compression), and at the end I am greeted with the following lines:

Code:
local  IP address 10.74.49.117
remote IP address 10.74.49.22

The pppd daemon is running and I can even receive the DNS information from the remote host. But there's a problem. Simply I cannot ping any host on the remote network (which is 10.0.0.0/8). For example, I am not able to ping the server 10.74.49.22 !

Normally, I'm connecting to the internet through my homenetwork LAN, which subnet is 192.168.0.0/24. So I have an interface card eth0 (192.168.0.3) and a router as the default gateway (192.168.0.100):

Code:
localhost ~ # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.0.100   0.0.0.0         UG    0      0        0 eth0

I have tried to exclude all possible problems, so:
  1. I've cleaned my routing table and removed the two entries referencing eth0, leaving only the loopback destination.
  2. I have made the connection, and pppd automatically added a new default gateway pointing to the server (10.74.49.22), using the new interface ppp0.
  3. I have cleaned "/etc/resolv.conf" and trying to access the machines on the remote network by specifying the IP address. At this point I realized that I couldn't even ping the gateway (10.74.49.22)!

Stuck at this point, I've rebooted into Windows, made the connection and looked at the routing table:
Code:
===========================================================================
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
===========================================================================

Here I can ping the server (10.74.49.22) and every machine in the 10.0.0.0/8 network.
Notice that the assigned local address is automatically become the default gateway... Smilie
At this point I've reduced the routing table, also removing the default gateway and adding a static route to the destination 10.0.0.0/8 through the gateway 10.74.49.117 (which is the local ip address of the ppp interface assigned to me by the server):

Code:
===========================================================================
Active Routes:
Network Address            Mask             Gateway       Interface  Metric
         10.0.0.0        255.0.0.0     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
  255.255.255.255  255.255.255.255     10.74.49.117    10.74.49.117       1
===========================================================================

Also with this routing table I can ping all the 10.0.0.0/8 subnet.
So, I've switched back to Linux, made the connection and "copied" the above routing table...
The result? No answer from any remote host..... Smilie

This thing is driving me mad!! Oh, I've forgot to say that I haven't setup any firewall and I've tried all the operations with the root user.
I've also tried to look into the transmitted/received packets on the ppp0 device with tcpdump tool, but no packets are TX/RX at all...

Is it possible that the pppd daemon establishes successfully the connection but actually there is some problem with the compression or encryption or something else negotiated with the RAS server?

Sorry for the long post, any help would be REALLY, REALLY appreciated Smilie
 

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 07:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy