Date: Tue, 4 Aug 1998 00:18:28 -0400 From: charlespeters@chickenbean.com To: <questions@FreeBSD.ORG> Subject: gateway, ppp -alias, netstat -nr output and ifconfig -a output --- ongoing problem getting gateway to run stabelly Message-ID: <001701bdbf5e$ee8a1620$20710418@ci1000971-c.sptnbrg1.sc.home.com>
next in thread | raw e-mail | index | archive | help
I have set up a dialout gateway using freebsd 2.2.6, but I am having some
problems that I don't seem to be able to solve.
Here is the setup:
Freebsd 2.2.6 gateway with:
1 network card configured as 192.168.0.1
1 internal modem 56K - /dev/cuaa1 (com2)
Several Win95 computers with tcp/ip addresses set as follows:
192.168.0.43
192.168.0.40
192.168.0.48
...
Default gateway is set to 192.168.0.1, and dns is set to the ISP's DNS
servers. This configuration works fine.
I am able to ping the win95 boxes from the freebsd box, and I am able to
ping the freebsd box from all win95 boxes.
The goal is to allow internet access to all win95 computers via the freebsd
gateway machine. When it is working, I am able to ping all internet
addresses from the win95 boxes (ie. ping ftp.cdrom.com works fine), but I
cannot ping the same internet address from the freebsd gateway box.
I would like to establish a ppp connection to the ISP, and keep the
connection alive for 10 mins after the last data is transmitted (to speed up
access for users who leave their desks for a few minutes, and then come back
to continue browsing or checking/sending email). It seems to me like the
system dials up the ISP as soon as the connection is lost. This seems
wasteful.
Also, I often (once or twice daily) have to shutdown -r now and then during
the reboot, turn of the power for a few seconds to reset the modem. This is
also a pain in the ass, as I am not always there to reset the machine for my
users. The system works fine for our application when it works, but it
locks up too often.
If any other info is required, let me know.
This is kinda new to me, so please realize that you are answering a highly
computer literate user who is totally new to freebsd.
Thanks,
Charles
PS: below is more info that you may find helpful!
charlespeters@chickenbean.com
charlespeters@tecpro.com
$ netstat -nr
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif
Expire
default 10.0.0.2 UGSc 6 7607 tun0
127.0.0.1 127.0.0.1 UH 0 0 lo0
192.168 link#1 UC 0 0
192.168.0.1 0:c0:f0:30:86:f6 UHLW 1 26 lo0
192.168.0.48 0:c0:f0:30:9d:7 UHLW 1 864 de0
838
192.168.0.255 ff:ff:ff:ff:ff:ff UHLWb 0 235 de0
206.139.129.5 206.139.129.135 UH 0 0 tun0
$
$ ifconfig -a
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
ether 00:c0:f0:30:86:f6
media: autoselect (10baseT/UTP) status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet 206.139.129.135 --> 206.139.129.5 netmask 0xffffff00
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
$
Let me know if more information is required.
Thanks in advance.
Charles
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001701bdbf5e$ee8a1620$20710418>
