Linux pppd server connected to rabbit ppp

Started by Ryan Alswede May 11, 2005
Hi,

I have a pppd linux server setup with a rabbit 2300 running ppp connected to the pppd server.

Everything connects fine but when I try to send an email it doesn't work.

The Microsoft exchange email server's IP is 192.168.1.19

When I try to send email to the SMTP server it just shows packets being sent out 4 times in the debug window then says no go.

I tryed setting the gateway on the rabbit to 192.168.1.158 which is the IP of the linux pppd server.

Do I need to do anything on the microsoft SMTP server to allow me to send email with in the LAN??

Any other ideas? Other settings on the linux pppd server??

Thanks in advance!

________________________________

From: rabbit-semi@rabb... on behalf of allsoft01a
Sent: Wed 5/11/2005 5:00 PM
To: rabbit-semi@rabb...
Subject: [rabbit-semi] Re: surface mounted device using normal soldering msthod? For my SMD prototyping I use
http://www.pcbexpress.com/essentials/index.php
They provide a stainless steel stencil for putting the solder past on
the board. You place your components and use a toaster oven to do the
reflow. I have done numerous boards using this method and have had no
problems.
________________________________

> .




At 07:22 PM 5/11/2005, you wrote:

>Hi,
>
>I have a pppd linux server setup with a rabbit 2300 running ppp connected
>to the pppd server.
>
>Everything connects fine but when I try to send an email it doesn't work.
>
>The Microsoft exchange email server's IP is 192.168.1.19
>
>When I try to send email to the SMTP server it just shows packets being
>sent out 4 times in the debug window then says no go.
>
>I tryed setting the gateway on the rabbit to 192.168.1.158 which is the
>IP of the linux pppd server.
>
>Do I need to do anything on the microsoft SMTP server to allow me to send
>email with in the LAN??
>
>Any other ideas? Other settings on the linux pppd server??
>
>Thanks in advance!


Try connecting from a windows PC and a serial connection using dial-up
networking to your pppd server (disconnect LAN). See if you can ping your
internal mail server or even send mail.

There may need to be some setup for pppd. If the ppp link is a different
subnet than your lan, you will need to enable forwarding, i.e:

echo 1 >/proc/sys/net/ipv4/ip_forward

If you use the same subnet for ppp connections as your lan, you might still
need to have forwarding on and you need to set up the proxyarp option on
the ppp link.

Get a PC with dial-up (no encryption) to work with your pppd, then try to
get the rabbit to use the link.

<Scott --
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 5/10/2005


Make sure your PPP server (Linux pppd) is configured properly. It has to
route properly all packets received through serial interface to Ethernet
interface and vice versa. Also, your Exchange server (most probably) must
have Linux set as its default gateway, otherwise it would not know where to
send packets intended for PPP clients.

If you have set up pppd properly, it should provide PPP clients (Rabbit)
with corrent gateway address. Setting this to 192.168.1.158 probably will
not work, as this is on another subnet.

Connect a PC instead of Rabbit, make ppp connection, and try to ping your
Exchange server. If this works, then start chasing Rabbits.

-----Original Message-----
From: Ryan Alswede [mailto:rabbit-semi@rabb...]On Behalf Of Ryan
Alswede
Sent: Wednesday, May 11, 2005 5:22 PM
To: rabbit-semi@rabb...
Subject: [rabbit-semi] Linux pppd server connected to rabbit ppp Hi,

I have a pppd linux server setup with a rabbit 2300 running ppp connected to
the pppd server.

Everything connects fine but when I try to send an email it doesn't work.

The Microsoft exchange email server's IP is 192.168.1.19

When I try to send email to the SMTP server it just shows packets being sent
out 4 times in the debug window then says no go.

I tryed setting the gateway on the rabbit to 192.168.1.158 which is the IP
of the linux pppd server.

Do I need to do anything on the microsoft SMTP server to allow me to send
email with in the LAN??

Any other ideas? Other settings on the linux pppd server??

Thanks in advance!


I have a XP machine connected to Linux.

 

I can ping the mail server, I can ping the linux box, I can ping my computer, I can ping the DNS server.

 

All boxes are on the LAN.

 

How do I get linux to pass the client the gateway, right now windows is defaulting to 255.255.255.255 for the net mask and 192.168.1.2 for the IP AND the gateway.

 

I cannot bring up a webpage on the windows box connected to linux.

 

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On Behalf Of Scott Henion
Sent: Wednesday, May 11, 2005 7:33 PM
To: r...@yahoogroups.com
Subject: Re: [rabbit-semi] Linux pppd server connected to rabbit ppp

 

At 07:22 PM 5/11/2005, you wrote:

>Hi,
>
>I have a pppd linux server setup with a rabbit 2300 running ppp connected
>to the pppd server.
>
>Everything connects fine but when I try to send an email it doesn't work.
>
>The Microsoft exchange email server's IP is 192.168.1.19
>
>When I try to send email to the SMTP server it just shows packets being
>sent out 4 times in the debug window then says no go.
>
>I tryed setting the gateway  on the rabbit to 192.168.1.158 which is the
>IP of the linux pppd server.
>
>Do I need to do anything on the microsoft SMTP server to allow me to send
>email with in the LAN??
>
>Any other ideas?  Other settings on the linux pppd server??
>
>Thanks in advance! Try connecting from a windows PC and a serial connection using dial-up
networking to your pppd server (disconnect LAN). See if you can ping your
internal  mail server or even send mail.

There may need to be some setup for pppd. If the ppp link is a different
subnet than your lan, you will need to enable forwarding, i.e:

echo 1 >/proc/sys/net/ipv4/ip_forward

If you use the same subnet for ppp connections as your lan, you might still
need to have forwarding on and you need to set up the proxyarp option on
the ppp link.

Get a PC with dial-up (no encryption) to work with your pppd, then try to
get the rabbit to use the link.

<Scott> --
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 5/10/2005



I'll throw a few stupid questions in:
 
- can you resolve names on the Windows box?  Are you pinging www.yahoo.com successfully or are your pings 192.168.x.y?  Maybe you just need to configure pppd to send over the DNS address.
- i would think your linux box would send over at least a different ip address.  You're saying both boxes get set to 192.168.1.2 on that lan side?  You need to configure pppd to send a different address over.
- If you've got w ethernet cards on that linux box, I would think you'd want them on different subnets to avoid any confusion.  Is this the case?


From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On Behalf Of Ryan Alswede
Sent: Thursday, May 12, 2005 6:30 AM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] Linux pppd server connected to rabbit ppp

I have a XP machine connected to Linux.

 

I can ping the mail server, I can ping the linux box, I can ping my computer, I can ping the DNS server.

 

All boxes are on the LAN.

 

How do I get linux to pass the client the gateway, right now windows is defaulting to 255.255.255.255 for the net mask and 192.168.1.2 for the IP AND the gateway.

 

I cannot bring up a webpage on the windows box connected to linux.

 

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On Behalf Of Scott Henion
Sent: Wednesday, May 11, 2005 7:33 PM
To: r...@yahoogroups.com
Subject: Re: [rabbit-semi] Linux pppd server connected to rabbit ppp

 

At 07:22 PM 5/11/2005, you wrote:

>Hi,
>
>I have a pppd linux server setup with a rabbit 2300 running ppp connected
>to the pppd server.
>
>Everything connects fine but when I try to send an email it doesn't work.
>
>The Microsoft exchange email server's IP is 192.168.1.19
>
>When I try to send email to the SMTP server it just shows packets being
>sent out 4 times in the debug window then says no go.
>
>I tryed setting the gateway  on the rabbit to 192.168.1.158 which is the
>IP of the linux pppd server.
>
>Do I need to do anything on the microsoft SMTP server to allow me to send
>email with in the LAN??
>
>Any other ideas?  Other settings on the linux pppd server??
>
>Thanks in advance!Try connecting from a windows PC and a serial connection using dial-up
networking to your pppd server (disconnect LAN). See if you can ping your
internal  mail server or even send mail.

There may need to be some setup for pppd. If the ppp link is a different
subnet than your lan, you will need to enable forwarding, i.e:

echo 1 >/proc/sys/net/ipv4/ip_forward

If you use the same subnet for ppp connections as your lan, you might still
need to have forwarding on and you need to set up the proxyarp option on
the ppp link.

Get a PC with dial-up (no encryption) to work with your pppd, then try to
get the rabbit to use the link.

<Scott>



It will not resoulve the names even though I have the DNS server’s IP address set in the PPP IP/TCP settings.  Yet I can ping the DNS server.

 

What should the routing table be on the linux box  if the PPP client is 192.168.1.8   and the linux box’s IP is 192.168.1.158??

 

The linux box is only on a LAN, no WAN.

 

I’m able to bring up a web page on the linux box.

 

Ryan

 

 

 

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On Behalf Of Dave Moore
Sent: Thursday, May 12, 2005 7:57 AM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] Linux pppd server connected to rabbit ppp

 

I'll throw a few stupid questions in:

 

- can you resolve names on the Windows box?  Are you pinging www.yahoo.com successfully or are your pings 192.168.x.y?  Maybe you just need to configure pppd to send over the DNS address.

- i would think your linux box would send over at least a different ip address.  You're saying both boxes get set to 192.168.1.2 on that lan side?  You need to configure pppd to send a different address over.

- If you've got w ethernet cards on that linux box, I would think you'd want them on different subnets to avoid any confusion.  Is this the case?

 

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On Behalf Of Ryan Alswede
Sent: Thursday, May 12, 2005 6:30 AM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] Linux pppd server connected to rabbit ppp

I have a XP machine connected to Linux.

 

I can ping the mail server, I can ping the linux box, I can ping my computer, I can ping the DNS server.

 

All boxes are on the LAN.

 

How do I get linux to pass the client the gateway, right now windows is defaulting to 255.255.255.255 for the net mask and 192.168.1.2 for the IP AND the gateway.

 

I cannot bring up a webpage on the windows box connected to linux.

 

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On Behalf Of Scott Henion
Sent: Wednesday, May 11, 2005 7:33 PM
To: r...@yahoogroups.com
Subject: Re: [rabbit-semi] Linux pppd server connected to rabbit ppp

 

At 07:22 PM 5/11/2005, you wrote:

>Hi,
>
>I have a pppd linux server setup with a rabbit 2300 running ppp connected
>to the pppd server.
>
>Everything connects fine but when I try to send an email it doesn't work.
>
>The Microsoft exchange email server's IP is 192.168.1.19
>
>When I try to send email to the SMTP server it just shows packets being
>sent out 4 times in the debug window then says no go.
>
>I tryed setting the gateway  on the rabbit to 192.168.1.158 which is the
>IP of the linux pppd server.
>
>Do I need to do anything on the microsoft SMTP server to allow me to send
>email with in the LAN??
>
>Any other ideas?  Other settings on the linux pppd server??
>
>Thanks in advance! Try connecting from a windows PC and a serial connection using dial-up
networking to your pppd server (disconnect LAN). See if you can ping your
internal  mail server or even send mail.

There may need to be some setup for pppd. If the ppp link is a different
subnet than your lan, you will need to enable forwarding, i.e:

echo 1 >/proc/sys/net/ipv4/ip_forward

If you use the same subnet for ppp connections as your lan, you might still
need to have forwarding on and you need to set up the proxyarp option on
the ppp link.

Get a PC with dial-up (no encryption) to work with your pppd, then try to
get the rabbit to use the link.

<Scott>

 



A few things going on here I'm confused about:

- Do you have two ethernet interfaces on the linux box? I would think
you're running ppp on one interface and have the "rest" of the network on
the other side. Or do you just have everything on one network and one
interface (that's how I interpret that "no WAN" comment below.) If that is
the case, I'm not sure how your linux box will work. The rabbit will send
all packets to it's peer. The linux box then needs to forward those packets
back out the same interface (I guess.) I've never set that up before.
Guess you'd set up a default route on the linux box to send everything out
the one interface you have?
- During ppp negotiation, ip address, gateway, subnet mask, and dns
information can be transmitted from the pppd server to your windows box. I
guess you aren't using this functionality (just populating these fields
manually on the windows box?)
- You could run ethereal on that linux box to see what's going on.

________________________________

From: rabbit-semi@rabb... [mailto:rabbit-semi@rabb...] On
Behalf Of Ryan Alswede
Sent: Thursday, May 12, 2005 7:48 AM
To: rabbit-semi@rabb...
Subject: RE: [rabbit-semi] Linux pppd server connected to rabbit ppp
It will not resoulve the names even though I have the DNS server's IP
address set in the PPP IP/TCP settings. Yet I can ping the DNS server.
What should the routing table be on the linux box if the PPP client is
192.168.1.8 and the linux box's IP is 192.168.1.158??
The linux box is only on a LAN, no WAN.
I'm able to bring up a web page on the linux box.
Ryan

________________________________

From: rabbit-semi@rabb... [mailto:rabbit-semi@rabb...] On
Behalf Of Dave Moore
Sent: Thursday, May 12, 2005 7:57 AM
To: rabbit-semi@rabb...
Subject: RE: [rabbit-semi] Linux pppd server connected to rabbit ppp
I'll throw a few stupid questions in:
- can you resolve names on the Windows box? Are you pinging www.yahoo.com
successfully or are your pings 192.168.x.y? Maybe you just need to
configure pppd to send over the DNS address.

- i would think your linux box would send over at least a different ip
address. You're saying both boxes get set to 192.168.1.2 on that lan side?
You need to configure pppd to send a different address over.

- If you've got w ethernet cards on that linux box, I would think you'd want
them on different subnets to avoid any confusion. Is this the case?
________________________________

From: rabbit-semi@rabb... [mailto:rabbit-semi@rabb...] On
Behalf Of Ryan Alswede
Sent: Thursday, May 12, 2005 6:30 AM
To: rabbit-semi@rabb...
Subject: RE: [rabbit-semi] Linux pppd server connected to rabbit ppp

I have a XP machine connected to Linux.
I can ping the mail server, I can ping the linux box, I can ping my
computer, I can ping the DNS server.
All boxes are on the LAN.
How do I get linux to pass the client the gateway, right now windows is
defaulting to 255.255.255.255 for the net mask and 192.168.1.2 for the IP
AND the gateway.
I cannot bring up a webpage on the windows box connected to linux.
________________________________

From: rabbit-semi@rabb... [mailto:rabbit-semi@rabb...] On
Behalf Of Scott Henion
Sent: Wednesday, May 11, 2005 7:33 PM
To: rabbit-semi@rabb...
Subject: Re: [rabbit-semi] Linux pppd server connected to rabbit ppp
At 07:22 PM 5/11/2005, you wrote:

>Hi,
>
>I have a pppd linux server setup with a rabbit 2300 running ppp connected
>to the pppd server.
>
>Everything connects fine but when I try to send an email it doesn't work.
>
>The Microsoft exchange email server's IP is 192.168.1.19
>
>When I try to send email to the SMTP server it just shows packets being
>sent out 4 times in the debug window then says no go.
>
>I tryed setting the gateway on the rabbit to 192.168.1.158 which is the
>IP of the linux pppd server.
>
>Do I need to do anything on the microsoft SMTP server to allow me to send
>email with in the LAN??
>
>Any other ideas? Other settings on the linux pppd server??
>
>Thanks in advance!


Try connecting from a windows PC and a serial connection using dial-up
networking to your pppd server (disconnect LAN). See if you can ping your
internal mail server or even send mail.

There may need to be some setup for pppd. If the ppp link is a different
subnet than your lan, you will need to enable forwarding, i.e:

echo 1 >/proc/sys/net/ipv4/ip_forward

If you use the same subnet for ppp connections as your lan, you might still
need to have forwarding on and you need to set up the proxyarp option on
the ppp link.

Get a PC with dial-up (no encryption) to work with your pppd, then try to
get the rabbit to use the link.

<Scott



At 10:11 AM 5/12/2005, you wrote:

>A few things going on here I'm confused about:
>
>- Do you have two ethernet interfaces on the linux box? I would think
>you're running ppp on one interface and have the "rest" of the network on
>the other side. Or do you just have everything on one network and one
>interface (that's how I interpret that "no WAN" comment below.) If that is
>the case, I'm not sure how your linux box will work. The rabbit will send
>all packets to it's peer. The linux box then needs to forward those packets
>back out the same interface (I guess.) I've never set that up before.
>Guess you'd set up a default route on the linux box to send everything out
>the one interface you have?
>- During ppp negotiation, ip address, gateway, subnet mask, and dns
>information can be transmitted from the pppd server to your windows box. I
>guess you aren't using this functionality (just populating these fields
>manually on the windows box?)
>- You could run ethereal on that linux box to see what's going on.

It sounds like he is using serial dialup pppd, so no ethernet is needed.

I have used it with:

lan: 10.1.1.0/24
ppp 10.1.1.10, client 10.1.1.11

This works as long as you set the proxyarp option. This makes the ppp
client look like an ethernet device right on the lan. This prevents the
need to have all other devices on the LAN know the ppp gateway as they
think the device is local. So no routing is needed.

The question is, do you habe the proxyarp turned on? I think ip_forward
needs to be turned on.

The rabbit stack has a weird option to disable ARP on a ppp link. That may
need to be disabled, but is is unclear what it does.

<Scott>

------
| Scott G. Henion| shenion@shen... |
| Consultant | Stone Mountain, GA |
| SHDesigns | PGP Key 0xE98DDC48 |
| http://www.shdesigns.org |
------
today's fortune
The chief cause of problems is solutions.
-- Eric Sevareid --
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.9 - Release Date: 5/12/2005


The linux box sits on our LAN office network.    I would like the PPP client to dial in and be able to send email thru the linux box to the SMTP server that is at 192.168.1.19.    I have given the rabbit PPP client the IP address 192.168.1.8,   gateway of 192.168.1.158.     When I try to hook up a windows box PPP linux won’t give the client a gateway address what setting am I missing…?

 

I used the ip forwarding command and also put it in the the proxyarp setting.

 

The routing table has nothing for the ppp interface.

 

HOW would I get the linux box to populate these windows fields??   The How to websites leave a lot of details out.

 

I’m told by the network admin that all internal IP address are allowed to send email so that’s not an issue.

 

Ryan

 

 

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On Behalf Of Dave Moore
Sent: Thursday, May 12, 2005 9:12 AM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] Linux pppd server connected to rabbit ppp

 

A few things going on here I'm confused about:

- Do you have two ethernet interfaces on the linux box?  I would think
you're running ppp on one interface and have the "rest" of the network on
the other side.  Or do you just have everything on one network and one
interface (that's how I interpret that "no WAN" comment below.)  If that is
the case, I'm not sure how your linux box will work.  The rabbit will send
all packets to it's peer.  The linux box then needs to forward those packets
back out the same interface (I guess.)  I've never set that up before.
Guess you'd set up a default route on the linux box to send everything out
the one interface you have?
- During ppp negotiation, ip address, gateway, subnet mask, and dns
information can be transmitted from the pppd server to your windows box.  I
guess you aren't using this functionality (just populating these fields
manually on the windows box?)
- You could run ethereal on that linux box to see what's going on.

________________________________

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of Ryan Alswede
Sent: Thursday, May 12, 2005 7:48 AM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] Linux pppd server connected to rabbit ppp
It will not resoulve the names even though I have the DNS server's IP
address set in the PPP IP/TCP settings.  Yet I can ping the DNS server.
What should the routing table be on the linux box  if the PPP client is
192.168.1.8   and the linux box's IP is 192.168.1.158??
The linux box is only on a LAN, no WAN.
I'm able to bring up a web page on the linux box.
Ryan

________________________________

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of Dave Moore
Sent: Thursday, May 12, 2005 7:57 AM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] Linux pppd server connected to rabbit ppp
I'll throw a few stupid questions in:
- can you resolve names on the Windows box?  Are you pinging www.yahoo.com
successfully or are your pings 192.168.x.y?  Maybe you just need to
configure pppd to send over the DNS address.

- i would think your linux box would send over at least a different ip
address.  You're saying both boxes get set to 192.168.1.2 on that lan side?
You need to configure pppd to send a different address over.

- If you've got w ethernet cards on that linux box, I would think you'd want
them on different subnets to avoid any confusion.  Is this the case?
________________________________

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of Ryan Alswede
Sent: Thursday, May 12, 2005 6:30 AM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] Linux pppd server connected to rabbit ppp

I have a XP machine connected to Linux.
I can ping the mail server, I can ping the linux box, I can ping my
computer, I can ping the DNS server.
All boxes are on the LAN.
How do I get linux to pass the client the gateway, right now windows is
defaulting to 255.255.255.255 for the net mask and 192.168.1.2 for the IP
AND the gateway.
I cannot bring up a webpage on the windows box connected to linux.
________________________________

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of Scott Henion
Sent: Wednesday, May 11, 2005 7:33 PM
To: r...@yahoogroups.com
Subject: Re: [rabbit-semi] Linux pppd server connected to rabbit ppp
At 07:22 PM 5/11/2005, you wrote:

>Hi,
>
>I have a pppd linux server setup with a rabbit 2300 running ppp connected
>to the pppd server.
>
>Everything connects fine but when I try to send an email it doesn't work.
>
>The Microsoft exchange email server's IP is 192.168.1.19
>
>When I try to send email to the SMTP server it just shows packets being
>sent out 4 times in the debug window then says no go.
>
>I tryed setting the gateway  on the rabbit to 192.168.1.158 which is the
>IP of the linux pppd server.
>
>Do I need to do anything on the microsoft SMTP server to allow me to send
>email with in the LAN??
>
>Any other ideas?  Other settings on the linux pppd server??
>
>Thanks in advance! Try connecting from a windows PC and a serial connection using dial-up
networking to your pppd server (disconnect LAN). See if you can ping your
internal  mail server or even send mail.

There may need to be some setup for pppd. If the ppp link is a different
subnet than your lan, you will need to enable forwarding, i.e:

echo 1 >/proc/sys/net/ipv4/ip_forward

If you use the same subnet for ppp connections as your lan, you might still
need to have forwarding on and you need to set up the proxyarp option on
the ppp link.

Get a PC with dial-up (no encryption) to work with your pppd, then try to
get the rabbit to use the link.

<Scott>



- You might try using a different subnet for the ppp side of the world.  A bit confusing with 192.168.1.x for everything.  Make sure your subnet masks are 255.255.255.0 if you use something like 192.168.0.x for the ppp side.
- I'm not much help on how to get the config set up for both the linux and windows sides.  For windows, I would think you could navigate through the dialup properties for a network connection to set up obtaining an ip address automatically.  For pppd, there should be some sort of config file for it or even just command line options for these things.  You're gonna have to "man" up.  ;-)


From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On Behalf Of Ryan Alswede
Sent: Thursday, May 12, 2005 10:05 AM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] Linux pppd server connected to rabbit ppp

The linux box sits on our LAN office network.    I would like the PPP client to dial in and be able to send email thru the linux box to the SMTP server that is at 192.168.1.19.    I have given the rabbit PPP client the IP address 192.168.1.8,   gateway of 192.168.1.158.     When I try to hook up a windows box PPP linux won’t give the client a gateway address what setting am I missing…?

 

I used the ip forwarding command and also put it in the the proxyarp setting.

 

The routing table has nothing for the ppp interface.

 

HOW would I get the linux box to populate these windows fields??   The How to websites leave a lot of details out.

 

I’m told by the network admin that all internal IP address are allowed to send email so that’s not an issue.

 

Ryan

 

 

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On Behalf Of Dave Moore
Sent: Thursday, May 12, 2005 9:12 AM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] Linux pppd server connected to rabbit ppp

 

A few things going on here I'm confused about:

- Do you have two ethernet interfaces on the linux box?  I would think
you're running ppp on one interface and have the "rest" of the network on
the other side.  Or do you just have everything on one network and one
interface (that's how I interpret that "no WAN" comment below.)  If that is
the case, I'm not sure how your linux box will work.  The rabbit will send
all packets to it's peer.  The linux box then needs to forward those packets
back out the same interface (I guess.)  I've never set that up before.
Guess you'd set up a default route on the linux box to send everything out
the one interface you have?
- During ppp negotiation, ip address, gateway, subnet mask, and dns
information can be transmitted from the pppd server to your windows box.  I
guess you aren't using this functionality (just populating these fields
manually on the windows box?)
- You could run ethereal on that linux box to see what's going on.

________________________________

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of Ryan Alswede
Sent: Thursday, May 12, 2005 7:48 AM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] Linux pppd server connected to rabbit ppp
It will not resoulve the names even though I have the DNS server's IP
address set in the PPP IP/TCP settings.  Yet I can ping the DNS server.
What should the routing table be on the linux box  if the PPP client is
192.168.1.8   and the linux box's IP is 192.168.1.158??
The linux box is only on a LAN, no WAN.
I'm able to bring up a web page on the linux box.
Ryan

________________________________

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of Dave Moore
Sent: Thursday, May 12, 2005 7:57 AM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] Linux pppd server connected to rabbit ppp
I'll throw a few stupid questions in:
- can you resolve names on the Windows box?  Are you pinging www.yahoo.com
successfully or are your pings 192.168.x.y?  Maybe you just need to
configure pppd to send over the DNS address.

- i would think your linux box would send over at least a different ip
address.  You're saying both boxes get set to 192.168.1.2 on that lan side?
You need to configure pppd to send a different address over.

- If you've got w ethernet cards on that linux box, I would think you'd want
them on different subnets to avoid any confusion.  Is this the case?
________________________________

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of Ryan Alswede
Sent: Thursday, May 12, 2005 6:30 AM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] Linux pppd server connected to rabbit ppp

I have a XP machine connected to Linux.
I can ping the mail server, I can ping the linux box, I can ping my
computer, I can ping the DNS server.
All boxes are on the LAN.
How do I get linux to pass the client the gateway, right now windows is
defaulting to 255.255.255.255 for the net mask and 192.168.1.2 for the IP
AND the gateway.
I cannot bring up a webpage on the windows box connected to linux.
________________________________

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of Scott Henion
Sent: Wednesday, May 11, 2005 7:33 PM
To: r...@yahoogroups.com
Subject: Re: [rabbit-semi] Linux pppd server connected to rabbit ppp
At 07:22 PM 5/11/2005, you wrote:

>Hi,
>
>I have a pppd linux server setup with a rabbit 2300 running ppp connected
>to the pppd server.
>
>Everything connects fine but when I try to send an email it doesn't work.
>
>The Microsoft exchange email server's IP is 192.168.1.19
>
>When I try to send email to the SMTP server it just shows packets being
>sent out 4 times in the debug window then says no go.
>
>I tryed setting the gateway  on the rabbit to 192.168.1.158 which is the
>IP of the linux pppd server.
>
>Do I need to do anything on the microsoft SMTP server to allow me to send
>email with in the LAN??
>
>Any other ideas?  Other settings on the linux pppd server??
>
>Thanks in advance!Try connecting from a windows PC and a serial connection using dial-up
networking to your pppd server (disconnect LAN). See if you can ping your
internal  mail server or even send mail.

There may need to be some setup for pppd. If the ppp link is a different
subnet than your lan, you will need to enable forwarding, i.e:

echo 1 >/proc/sys/net/ipv4/ip_forward

If you use the same subnet for ppp connections as your lan, you might still
need to have forwarding on and you need to set up the proxyarp option on
the ppp link.

Get a PC with dial-up (no encryption) to work with your pppd, then try to
get the rabbit to use the link.

<Scott>