PPP-dialup access over local network

PPP-dialup access over local network

Post by Georg Wagne » Tue, 04 Aug 1998 04:00:00



Since yesterday I have a second FreeBSD machine in my private network.
The old machine has a dialup-access to my ISP.

Now I want to run Netscape on my second machine and connect it via my
first machine to the Internet.

What works so far:

a) My first machine is able to connect to my ISP by dialing in.
b) Both machine see each other (pinging and ftp'ing is possible).

What does not work:

When I start netscape on the second machine and try to access the
internet Iget a message
xxx.org unknown server.

I think a route is missing.

What did I forget? Unfortunately the "Pedantic PPP Primer" only
describes how to connect
Windows-machines to a FreeBSD gateway.

Thanks for the help

Georg

--
Georg Wagner
-------------------------------------------------------------------------
ITMF-WGR  FS117   Tel. 6 69 92 / +41 (0)1 236 69 92
Union Bank of Switzerland, Zurich

 
 
 

PPP-dialup access over local network

Post by Peter N. M. Hanstee » Tue, 04 Aug 1998 04:00:00



> What did I forget? Unfortunately the "Pedantic PPP Primer" only
> describes how to connect Windows-machines to a FreeBSD gateway.

At least part of the solution would be to set up your network with
the dialling machine as the network's gateway, possibly with a
caching nameserver.

--

Datadokumentasjon A/S, Bredsgaarden 2, N-5003 Bergen, Norway
Tel: +47 55 32 08 02                    Fax: +47 55 32 14 95

 
 
 

PPP-dialup access over local network

Post by Georg Wagne » Tue, 04 Aug 1998 04:00:00




> > What did I forget? Unfortunately the "Pedantic PPP Primer" only
> > describes how to connect Windows-machines to a FreeBSD gateway.

> At least part of the solution would be to set up your network with
> the dialling machine as the network's gateway, possibly with a
> caching nameserver.

I have set the dialling machine to be a gateway. But how does the other
machine know that it should use this gateway (I think that is the
problem).

Thanks

Georg

--
Georg Wagner
-------------------------------------------------------------------------
ITMF-WGR  FS117   Tel. 6 69 92 / +41 (0)1 236 69 92
Union Bank of Switzerland, Zurich

 
 
 

PPP-dialup access over local network

Post by Arve Ronnin » Tue, 04 Aug 1998 04:00:00





> > > What did I forget? Unfortunately the "Pedantic PPP Primer" only
> > > describes how to connect Windows-machines to a FreeBSD gateway.

> > At least part of the solution would be to set up your network with
> > the dialling machine as the network's gateway, possibly with a
> > caching nameserver.

> I have set the dialling machine to be a gateway. But how does the other
> machine know that it should use this gateway (I think that is the
> problem).

You have to set up a default route in 'the other machine':

        route add default <ip of the ethernet NIC in the dialling machine>

This will instruct 'the other machine' to send to 'the dialling machine'
when it needs to send to an IP-address outside your network.

Now, for the next question: how does the Internet know where to send
the response ?
Answer: This will only work if
        'the other machine' has an official IP-address
        or
        you set up NAT (network address translation) in
        'the dialling machine'.

Good luck,
  -Arve

 
 
 

PPP-dialup access over local network

Post by Sky Walk » Wed, 05 Aug 1998 04:00:00




=>Since yesterday I have a second FreeBSD machine in my private network.
=>The old machine has a dialup-access to my ISP.
=>
=>Now I want to run Netscape on my second machine and connect it via my
=>first machine to the Internet.
=>
=>What works so far:
=>
=>a) My first machine is able to connect to my ISP by dialing in.

If you use user mode PPP, make sure you specify -alias flag for NAT.

Read "man ppp" and ppp faq on "lynx www.freebsd.org"  for detail.

=>b) Both machine see each other (pinging and ftp'ing is possible).

On window machine, go to control panel->network-> and update your default
route on your tcpip/nic interface to be the ip of the ppp dialout machine.
Get a window networking book for this.

=>
=>What does not work:
=>
=>When I start netscape on the second machine and try to access the
=>internet Iget a message
=>xxx.org unknown server.
=>
=>I think a route is missing.
=>
=>What did I forget? Unfortunately the "Pedantic PPP Primer" only
=>describes how to connect
=>Windows-machines to a FreeBSD gateway.
=>
=>Thanks for the help
=>
=>
=>Georg

--
E-Mail:         Sky nospace double underscore nospace Walker at Hotmail dot company
Voice Mail:     (714) 215-6050

 
 
 

PPP-dialup access over local network

Post by Georg Wagne » Wed, 05 Aug 1998 04:00:00







> > > > What did I forget? Unfortunately the "Pedantic PPP Primer" only
> > > > describes how to connect Windows-machines to a FreeBSD gateway.

I forgot to send a kill -HUP to inetd after doing the configuration (or to
reboot both machines).

Quote:

> > > At least part of the solution would be to set up your network with
> > > the dialling machine as the network's gateway, possibly with a
> > > caching nameserver.

> > I have set the dialling machine to be a gateway. But how does the other
> > machine know that it should use this gateway (I think that is the
> > problem).

> defaultrouter="xxx.yyy.zzz.aaa"

> Replace xxx.yyy.zzz.aaa with the IP of your gateway machine.

Sorry for having wasted bandwidth and a thank you to all who rsponded.

Georg

--
Georg Wagner
-------------------------------------------------------------------------
ITMF-WGR  FS117   Tel. 6 69 92 / +41 (0)1 236 69 92
Union Bank of Switzerland, Zurich

 
 
 

1. Dialup access to local LAN but not Internet ??

Hi all...

Is it possible to setup a single Linux PPP Dialup server to allows access to
our company LAN but not allow "selective" users access to route to the
internet ?

This my be a requirement for staff/studnts that should have access to there
email but are not allowed to use the company dialup service as there ISP.

Other users, eg.. management, will need full acces to the LAN and the
Internet.

Does anyone have any idea's on how this might be accomplished on a single
Linux dialup server ?

Thanks
Dennis

2. is there a virtual cdrom program for linux?

3. Dialup PPP and local eth0 Help!

4. Linuxppc R5 and ramdisk

5. Local Network DNS and dialup Internet problems

6. Microsoft's connection to SCO anti-Linux campaign -- NEWS.COM.com

7. How do you access a dialup PPP from linux

8. convert 'a' lib' into 'so' lib

9. setting up ppp to dialup Internet access

10. How do you access a dialup PPP from linux

11. dialup PPP access

12. Distributing Internet Access, Source: Dialup PPP, How?

13. I installed via ftp but have no more @home access and want to configure ppp dialup...