Date: Thu, 25 Jul 1996 21:47:43 -0400 From: Anil John <ajohn@cyberforge.com> To: Wes Side Story <wdorale@rs1.mtmc.edu>, "'Charlie ROOT'" <root@andrsn.stanford.edu> Cc: "questions@FreeBSD.ORG" <questions@FreeBSD.ORG>, "'Khetan Gajjar'" <khetan@iafrica.com> Subject: RE: user PPP server problem Message-ID: <01BB7A72.E99A8920@ppp84.bcpl.lib.md.us>
next in thread | raw e-mail | index | archive | help
Charlie ROOT[SMTP:root@andrsn.stanford.edu] wrote: >> > Doug White wrote: >> >> > > Hm. You should have found quite a bit of stuff searching the questions >> > > archives. This is definitely a FAQ. >> > > >> > > It's the classic "gateway through ppp" condition that everyone else wants >> > > to do. :) >> > > Agreed. But no satisfactory answers have been given to us FreeBSD/Unix novices on how to go about setting this up :). I have a win95 and FreeBSD box connected using ethernet. I would like to dial up using the FreeBSD box using user mode PPP and be able to browse using the tools I have on the Win95 box. I do currently have a dyanamic IP assigned to me when I log into my ISP. But I have everything setup right such that it works. I can use lynx, ftp, telnet etc from the FreeBSD box. Currently I can ping both ways and in fact I have samba running on the FreeBSD box so that I can map a drive from within Win95 to my home directory. I can also telnet and ftp into my FreeBSD box. So I know the network link is working. >> > So: enable ip-forwarding. As in >> > o gateway in /etc/sysconfig (I think) Done. >> >> I did set gateway to "yes" in the sysconfig file(and also put the "options >> gateway" in the kernel config just in case). And upon bootup a message >> does come across about gateway enabled... Some one said that the solution I get the same message... >On bootup you should also see something about ipforwarding=yes. > 0 --> 1 or something.... >My /etc/ppp/options file (and the /etc/ppp/ppp.conf, for user ppp as >a server) both have the line proxyarp in them. I put the line proxyarp in under default: section of ppp.conf. I do not have a /etc/ppp/options file. Should I create one? > >Then in /etc/rc.local I've got: > > ># put your local stuff here >/usr/sbin/arp -s 36.33.0.75 00:20:af:be:eb:e0 pub > >and I have routed -q running. This is on the machine running as the >server (my office machine). The IP address in the above is not the >IP address of the office machine, but the IP address that I use for >my home machine, i.e., the client, but the ethernet card number is >the number of the card in the server. I think if you do this the I did this too. I changed the routed flags to "-q" in /etc/sysconfig and put the /usr/sbin/arp line in my rc.local with the IP address of my Win95 box (192.168.0.2) and the ethernet address of the card in the FreeBSD machine. Still does not work. Should I be configuring the client software on my Win95 machine any differently? >IP address on the client machine and the IP address of the server >have to be on the same network segment (if that is the proper term), >i.e., in this case both the home and office machines are on 36.33. You kind of lost me here... The network card in my FreeBSD box has the IP address of 192.168.0.1 (set using ifconfig_ed0 in syconfig). The Win 95 box has an IP address of 192.168.0.2. The IP address of the FreeBSD box is assigned when I log onto the internet. Could this be the problem? Do I need a static IP for this to work? Any help at all would be appreciated, or at least a pointer to a FAQ... Anil
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01BB7A72.E99A8920>