> I would like to use Diald to connect me to another network when I try
> to access that other network. Here is the details:
>
> I want anything going to company.com to go to my eth0 card and
> anything else to go to diald. The LAN here is a class a address
> (56.*). The name server will give me back names from any site that I
> would like to go to.
>
> I know that from the docs it looks like it is posible but I am not
> getting it configured right because I ether have everything going over
> the diald connection or I have nothing beyond ping working over it.
>
> Thanks for any help.
>
I had a similar setup, though not quite the same. I had 2 diald's
running to connect either to my ISP or to a customer site.
The gotcha's I ran into were
o Making sure that your routing is correct. You will have to
set up a route for 56.0.0.0 to go out ethernet, and a default
route to the slip interface for everything else.
o I had to disable the 'defaultroute' option for ppp. This drove me
CRAZY for a while until I strace'd ppp and found it was
reading the default config file (/etc/ppp/config???) before
reading mine. Hmm.. WAIT! This may not apply to your situation.
Debugging:
o use ifconfig to see interfaces, masks, and such. The slip
interface is used by diald to catch packets.
o use netstat -r to see what your current routing looks like.
o use traceroute to find out where things are going.
o you can use tcpdump on an interface (i.e. tcpdump -i ppp0) to see
if packets are going where you think they are.
o Get ping working first.
Have fun,
-- cary
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]