[kharris@harris-software.com: ]

David S. Miller (davem@jenolan.rutgers.edu)
Thu, 23 Jan 1997 16:49:41 -0500


A mis-send...

------- Start of forwarded message -------
Date: Thu, 23 Jan 1997 16:51:55 -0500
From: Keith Harris <kharris@harris-software.com>
To: majordomo-Owner@vger.rutgers.edu

Greeting!

I hope that you can help me? I am using 1.2.13 version of linux with
IP Forwarding enabled. I am having problems making my ethernet work
with my ppp server (dial-in). I am getting into my system but not able
to get to the rest of the world. I have read the PPP* Net* mini*'s and
have tried what was written. Can you please give me step by step
instruction? Enclosed is a little information that may help you
out with my setup.

Thanks for your help.
kharris@harris-software.com

#**************
#General Information
#**************
The ethernet card which is how i'm receiving my connection to the internet
is setup:
IP address: 198.109.161.155
Netmask: 255.255.255.0
Broadcast: 198.109.161.255
Network: 198.109.161.0
Gateway: 198.109.161.1
Name Server: 198.109.160.2

#**************
#ifconfig
#**************
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:36 errors:0 dropped:0 overruns:0

eth0 Link encap:10Mbps Ethernet HWaddr 00:02:67:79:10:3F
inet addr:198.109.161.155 Bcast:198.109.161.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16510 errors:0 dropped:192 overruns:0
TX packets:2359 errors:0 dropped:0 overruns:0
Interrupt:9 Base address:0x340

#**************
#routing via netstat -r
#**************
Kernel routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
dialin * 255.255.255.0 U 0 0 21 eth0
loopback * 255.0.0.0 U 0 0 34 lo
default MSU 0.0.0.0 UG 0 0 1667 eth0

#**************
#/etc/networks
#**************
loopback 127.0.0.0
dialin 198.109.151.0
localnet 198.109.161.0
default 0.0.0.0

#**************
#/etc/hosts
#**************
#Loopback
127.0.0.1 localhost

#This machine
198.109.161.155 harris harris-software.com harris.tcimet.net

#Other network
131.87.1.1 drms.dla.mil drms d
131.87.1.51 www.drms.dla.mil www w
198.109.151.155 harris1 harris-software1.com
198.109.161.1 MSU MSUGW m mgw
198.109.163.147 nelson n kyc.tcimet.net
204.246.1.2 ccm.tdsnet.com tds t
207.41.8.10 village.yvv.com y

#Dialin network
198.109.151.100 HSDINET.C0195-100.DIALUP h0 pppS0.host.com
198.109.151.101 HSDINET.C0195-101.DIALUP h1 pppS1.host.com
198.109.151.102 HSDINET.C0195-102.DIALUP h2 pppS2.host.com
198.109.151.103 HSDINET.C0195-103.DIALUP h3 pppS3.host.com

#**************
#/etc/ppp/options
#**************
debug
asyncmap 0
crtscts
lock
mru 1500
mtu 1500
#defaultroute
passive
netmask 255.255.255.0

#**************
#/etc/ppp/options.ttyS1
#**************
proxyarp 198.109.161.155:198.109.151.100
modem
defaultroute

#**************
#/etc/rc.d/rc.local
#**************
....

# Force Gateway
/sbin/ifconfig eth0 arp
/sbin/route add default gw MSU eth0
/sbin/route add -net dialin gw harris eth0
# Proxy ARP for the dialin users
/sbin/arp -s 198.109.151.100 00:02:67:79:10:3F 255.255.255.255 pub
/sbin/arp -s 198.109.151.101 00:02:67:79:10:3F 255.255.255.255 pub
/sbin/arp -s 198.109.151.102 00:02:67:79:10:3F 255.255.255.255 pub
/sbin/arp -s 198.109.151.103 00:02:67:79:10:3F 255.255.255.255 pub
/sbin/rarp -s 198.109.151.100 00:02:67:79:10:3F
/sbin/rarp -s 198.109.151.101 00:02:67:79:10:3F
/sbin/rarp -s 198.109.151.102 00:02:67:79:10:3F
/sbin/rarp -s 198.109.151.103 00:02:67:79:10:3F

#**************
#/etc/ppp/ppplogin
#**************
#!/bin/sh
exec /usr/sbin/pppd passive proxyarp :198.109.151.100

#**************
#/etc/bash
#**************
alias ppp="exec /usr/sbin/pppd -detach"
------- End of forwarded message -------