Ethernet/PPP Routing problem

Ethernet/PPP Routing problem

Post by Howie Voi » Thu, 15 Feb 1996 04:00:00



I am trying to do the following...

[Win95] -> ethernet -> [linux] -> ppp -> [ppp server] -> Internet

I would like the win95 machine to be able to access the Internet, but it
can't even access my linux box!  Win95 seems to be setup properly, so I
assume my routing is messed up.

some ifconfig information....

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0

eth0      Link encap:10Mbps Ethernet  HWaddr 00:44:65:14:AA:AF
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0

ppp0      Link encap:Point-Point Protocol  
          inet addr:10.0.2.15  P-t-P:141.233.159.25  Mask:255.255.255.0

Ok here is what I have for routes...
Kernel routing table
Destination     Gateway         Genmask         Flags Metric Ref Use    Iface
141.233.159.25  *               255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.1       *               255.0.0.0       U     0      0        0 lo
0.0.0.0         141.233.159.25  0.0.0.0         UG    0      0        5 ppp0

Please post all responces to the newsgroups, not email. Thanks.

 
 
 

Ethernet/PPP Routing problem

Post by Chris Klugewi » Mon, 19 Feb 1996 04:00:00



>I am trying to do the following...
>[Win95] -> ethernet -> [linux] -> ppp -> [ppp server] -> Internet
>I would like the win95 machine to be able to access the Internet, but it
>can't even access my linux box!  Win95 seems to be setup properly, so I
>assume my routing is messed up.

Make sure you don't have the default route on the Win95 machine set to
the dialup adapter (if that's installed).  To check, go to the DOS
prompt and type 'route print' and make sure your packets are going out
the Win95 machine's Ethernet interface.

If that's the case, just go to the network applet in the Control
Panels folder and remove the dialup adapter.  That fixed the problem
for me.

__________________________________________________________________

 Chris Klugewicz                          

__________________________________________________________________

 
 
 

Ethernet/PPP Routing problem

Post by Joe Dydowi » Sun, 25 Feb 1996 04:00:00



>I am trying to do the following...
>[Win95] -> ethernet -> [linux] -> ppp -> [ppp server] -> Internet
>Destination     Gateway         Genmask         Flags Metric Ref Use    Iface
>141.233.159.25  *               255.255.255.255 UH    0      0        0 ppp0
>192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
>127.0.0.1       *               255.0.0.0       U     0      0        0 lo
>0.0.0.0         141.233.159.25  0.0.0.0         UG    0      0        5 ppp0
>Please post all responces to the newsgroups, not email. Thanks.

THIS IS A REPLAY, I DIDNT WRITE THE ABOVE...(For no-path reading
'persons')

 You need to run a kernel with IP_FOWARDING turned on...
 You need to run a script that adds all the basic ARP lines for all
the addresses

 I run Win 3.1 /w 32 bit extensions (cause 95 is garbage!) through a
Linux box just fine

Cheers

 
 
 

1. PPP/ARP routing problem: using a PPP remote address inside an Ethernet subnet

Dear Linux users

I have a small LAN with various Linux boxes. At the moment, they use
192.168.*.* addresses according to RFC 1597/1918. Current topology: Ethernet
LAN with 192.168.0.0/255.255.255.240 subnet. One of these Linux box runs as
default gateway with NAT (IP masqeurading), on another one, I set up a PPP
server which allow me to temporarily connect a guest PC (often Windows 98
boxes of friends) without Ethernet NIC to my LAN.

Currently, I assign the address 192.168.0.17 to the guest machine (=remote
IP for Linux's "pppd"). On the gateway Linux box, I added an appropriate
static route, so especially another Windows box inside my LAN is able to
"ping" to this guest box, because it uses the default gateway.

Meanwhile, I'm changing this Intranet into a part the Internet, that means
that I get a *16* address subnet from my ISP as well as a *preconfigurated*
router, so first, I need this *outside* of the regular subnet placed guest
PC IP address change *inside* the Ethernet subnet to save IP addresses (I
have 8 machines => only 11 of 16 addresses used). The challenging problem
for a TCP/IP guru of you is to do an "ipconfig add eth0" command in such a
way that this Linux box, where the PPP guest machine is connected, listens
(=answer the ARP query) to the guest PC's IP address too, but does *not*
process data itself, instead it forwards every packet to the guest PC.

In my company, I have a RAS account, which assigns me 10.11.3.98 as local IP
and 10.11.3.99 as remote IP but in the company's LAN, there's a
10.11.0.0/255.255.0.0 subnet defined, so this RAS offering Windows NT server
listens both to 10.11.3.98 as well as to 10.11.3.99 on the Ethernet NIC so
no static route is necessary for all other equipment in the LAN => a "ping
10.11.3.98" from *any* machine inside the company works correctly.

How can I do the same with Linux? Any solutions and hints are appreciated.
:-)

               Greetings from Switzerland
                           Andreas

2. E1 Boards

3. Ethernet to PPP routing problems

4. scheduler tunables with contest - max_timeslice

5. ppp & ethernet routing problem

6. nullify -noisebox C++ code

7. another ethernet to ppp routing problem (different subnets)

8. emailer software

9. routing problem with ppp and ethernet

10. Ethernet -> Dial-up -> Ethernet Routing problem

11. routing between ethernet and ppp?

12. Routing between ppp & Ethernet Interfaces

13. Switching between ppp and ethernet: routing?