regarding PPP connects but I don't get out anywhere:
> I am trying to setup PPP on my RedHat 5.1 system. The system dials,
> connects, and stays connected. IFCONFIG PPP0 shows my ip address from
my
> ISP.
> I have configured my /etc/reslove.conf and ROUTE shows my routes that
I hard
> coded with my subnet and gateway....but still no luck. I cannot ping,
surf,
> etc.
> Any ideas?
> ------------------------------------------------------
> Jim Orfanakos
> http://home.sprynet.com/sprynet/djo3
> ------------------------------------------------------
If you are just running a single machine, pppd uses defaultroute and
can ping the outside world by IP, it sounds like you just have a DNS
problem. Make sure you are not running named, routed or gated unless
properly configured and you know what they do. If you cannot spell
resolv.conf, I wonder if it has a typo in it. On a standalone machine
you should not have to set any routing.
If you are trying to connect a LAN to the internet, you need to set up
IP Masquerade or a proxy and either point machines on the LAN to your
ISP's DNS or to your own properly configured DNS (named). You also
should use -net routing for your LAN and delete any default route
other than the defaultroute option for pppd.
I manipulate resolve config, ipfwadm rules and ip-forward from
/etc/ip-up.local and ip-down.local, since I use the same modem for
dialin and dialout. When I am offline, resolv.conf simply contains
the word 'search' (w/o quotes). We have no DNS on our LAN (remote
mainframe and smtp/squid servers are accessed across frame relay by
IP).