Networking Forums

Networking Forums > Computer Networking > Linux Networking > PPP link works but none of the routing is working

Reply
Thread Tools Display Modes

PPP link works but none of the routing is working

 
 
PullnOutHair
Guest
Posts: n/a

 
      02-25-2004, 01:57 PM
This is my network setup as it stands.

************
* firewall * 10.0.0.1
************
|
----------------------------
| | ..... |
| 10.0.0.3 10.0.0.254
|
******************10.0.0.2
*linux ppp server*
******************10.0.1.1
|
------------------------------------
| | .... |
10.0.1.2 10.0.1.3 10.0.0.254

where the 10.0.1.xxx subnet is a ppp subnet with 200+ clients all
connected via modems. Currently I can get the ppp link up and running
and I can ping the ppp server but cann't get to anything outside of
that. I need to run NAT so that I can access the ppp client machines
from inside the original 10.0.0.xxx subnet. Are there any great
tutorials or How-to's that relate? I haven't found any relevant docs
yet. Also is there a way to use diald on the server so that it will
call any of the clients when they have traffic? I have seen how to
make the client call the server when there is traffic but is there a
way to reverse this to 250+ different phone numbers?
 
Reply With Quote
 
 
 
 
joseph philip
Guest
Posts: n/a

 
      02-27-2004, 04:55 AM
On Wed, 25 Feb 2004 06:57:22 -0800, PullnOutHair wrote:

> This is my network setup as it stands.
>
> ************
> * firewall * 10.0.0.1
> ************
> |
> ----------------------------
> | | ..... |
> | 10.0.0.3 10.0.0.254
> |
> ******************10.0.0.2
> *linux ppp server*
> ******************10.0.1.1
> |
> ------------------------------------
> | | .... |
> 10.0.1.2 10.0.1.3 10.0.0.254
>
> where the 10.0.1.xxx subnet is a ppp subnet with 200+ clients all
> connected via modems. Currently I can get the ppp link up and running
> and I can ping the ppp server but cann't get to anything outside of
> that. I need to run NAT so that I can access the ppp client machines
> from inside the original 10.0.0.xxx subnet. Are there any great
> tutorials or How-to's that relate? I haven't found any relevant docs
> yet. Also is there a way to use diald on the server so that it will
> call any of the clients when they have traffic? I have seen how to
> make the client call the server when there is traffic but is there a
> way to reverse this to 250+ different phone numbers?




Enable ip forwarding on your ppp server.
echo 1 > /proc/sys/net/ipv4/ip_forward

Enable SNAT on the ppp server.

iptables -t nat -A POSTROUTING -i $EXTIF -j SNAT --to 10.0.0.2

 
Reply With Quote
 
PullnOutHair
Guest
Posts: n/a

 
      02-27-2004, 03:17 PM
"joseph philip" <(E-Mail Removed)> wrote in message

Thanks, the routing is now pretty much working. I just have some
cleanup left to do so that the links work properly and reliably.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Routing issues - ping works one way but not the other Pascal Hambourg Linux Networking 2 10-12-2010 03:16 PM
Repeater that works with D-Link DI-524 vtraudt Wireless Internet 4 09-04-2006 01:39 PM
VPN works through wired ports, but with wireless VPN connection not working santa19992000@yahoo.com Linux Networking 2 02-24-2005 09:55 PM
D-LINK DWL-AG650 doesn't work with WinXP - Zero Configuration Service (WZCSVC) / D-Link AirXpert nearly works Johannes Rosenstock Wireless Networks 0 08-27-2004 11:49 PM
D-LINK DWL-AG650 doesn't work with WinXP - Zero Configuration Service (WZCSVC) / D-Link AirXpert nearly works Johannes Rosenstock Wireless Internet 0 08-27-2004 11:48 PM



1 2 3 4 5 6 7 8 9 10 11