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:
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):
I have tried to exclude all possible problems, so:
I've cleaned my routing table and removed the two entries referencing eth0, leaving only the loopback destination.
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.
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:
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...
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):
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.....
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
Unfortunately, I haven't any access or control over the RAS Server, so I don't know if it is configured to "route or forward IP packets".
But I bet yes, because otherwise how could I connect and able to reach the remote network when I use a Windows client?
And I think the problem is happening before, because from my Linux client, once connected with pppd, I am not even able to ping the RAS Server (10.74.49.22) as well as all the other machines on the 10.0.0.0/8 subnet.
Yes. pppd automatically adds a default gateway in the way you said. So I have:
On Linux, traceroute shows nothing, it "hangs"... Also a simple ping to the RAS server isn't working. On Windows, tracert works and I see packets going through the server (10.74.49.22).
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:
And this is the connection phase where all seems going well, otherwise I don't think pppd could exit with no errors:
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)
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)
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)
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)
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)
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)
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)
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)