This is not a question for PPP.
Hint: DON'T RUN routed
!
You may not. At least, you can't do it in the manner that you would normally want to do it. The problem is that your provider would not know about hue IP addresses of your local network and therefore wont route the frames to your local system.
There are other solutions, however.
socks
program on your PPP
system. This will perform the same facility as the IP Masquerade but
it will take modified clients. The advantage is that the socks program
has been around for some years and many clients will understand the
concept of a 'proxy' server which is needed to work with socks.Did you forget the `defaultroute
' parameter to
pppd? This parameter adds a default route into your routing system so
that frames to all other IP addresses will be sent to the PPP device.
The PPP software will not replace the default route if you have one already set when you run pppd. This is done to prevent people from destroying their default route to the ethernet routers by accident. A warning message is written to the system log if the defaultroute parameter is not performed for this reason.
The problem then is not with the local Linux system. It most likely is routing problem on the remote end.
The remote system is not configured for `IP forwarding
'. It
is an RFC requirement that this option NOT be enabled by
default. You must enable the option. For Linux systems, you will
need to build the kernel and specify that you want IP
forwarding/gatewaying.
The remote computers need a route back to you just as you need a route to them. This may be accomplished by one of four methods. Each has advantages and limitations. You need to do one and only one of these.
sii.com
,
we have over 300 active host systems with only 3 routers.)
gated
on all of the gateways and on the terminal
server. This will cause the terminal server to broadcast to the
gateways that it can accept the frames for your IP address. Since the
hosts will have a default route to one of the gateways, the gateways
will generate the ICMP re-direct frame and the specific host will
automatically add its host route.
There is no clear solution. You must choose one of these.
If your remote router requires to receive RIP frames in order to
update the route to your system then you should use the
bcastd
program on sunsite.unc.edu. This will generate the RIP
frames without actually running gated.
You are not able to do this because you wont normally have a route to the address. This is the normal operating environment.
If you wish to ping your own system then use the loopback address of 127.0.0.1.
You may be able to ping the remote address. However, some terminal servers may not allow this as the address may be 'phony' to them. It depends upon their environment.
In general, don't try to ping either address. Choose a third address which is well known to be available on the remote network such as one of your name server IP address.
While the PPP software will not perform this task, you may add the route table entry yourself once the link has been established. The syntax for the route statement is:
route add -host 192.187.163.32 lo
where the local IP address is represented as 192.187.163.32 in this example. This will tell the network software to route all frames destined to your local IP address to the loopback adapter. Once you add the appropriate route to the local IP address then you may use this address as the target to IP frames.
You will be responsible for deleting the route when the link goes down.
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter