I will take a shot at this: I think I get what you want - Is this picture accurate? internal ethernet Firewall PPP to the Internet ----------------------+ +---------------------+-- eth0 | | ppp0 | +-------+ ISP Router | | +-------+ So the problem is, you don't know the IP Address of that ppp interface, right? If so, why not use the eth0 IP Address as the default gw for your internal systems? When the firewall dials out, it would set up its own routing and forwarding through the ppp0 interface wouldn't it? As for the default gw of the Linux firewall system itself, what about using the IP Address of your end of the ISP's router? This should be fixed and should be part of the same network as your ppp0 interface. If I'm completely missing the point then apologies in advance. - Greg -----Original Message----- From: Andreani Luca [mailto:landreani@seltatel.it] Sent: Monday, June 17, 2002 9:36 AM To: LARTC mailing list (E-mail) Subject: [LARTC] dial on demand hi, I would like to configure my linux box in ordere to have a PPP link as default gateway. How can I do this? In particular I want that, when, for instance, I put ping 123.123.123.123, the box automatically connects to my ISP and then disconnect. I read the PPP-HOWTO and configured the /etc/ppp/options adding the "demand" command. But, how I can add the default route? I usually use an ethernet and then I put: route add default gw xyz.xyz.xyz.xyz but with PPP is not possible, because I can't associate the address with the interface! Helps and references are really welcome! Best regerds, Luca Andreani _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/