RH7 behind Windows-based NAT

Thorin thorin at digitalvoodoo.org
Wed May 2 13:07:31 EDT 2001


Try pointing your DNS to the external ISP's nameservers.
Just add them to '/etc/resolv.conf'.

search domain1.com domain1.org
nameserver 127.0.0.1
nameserver 192.168.0.1

HTH.

--Thorin

----- Original Message -----
From: "Ryan Norris" <rnorris at ryannorris.com>
To: "Thorin" <thorin at digitalvoodoo.org>; "Ryan Norris"
<rnorris at ryannorris.com>; <discuss at Blu.Org>
Sent: Wednesday, May 02, 2001 12:41
Subject: Re: RH7 behind Windows-based NAT


> Upon some further investigation - it appears i can indeed get outside
> the LAN, but the nameserver is resolving to my gateway, and thus
> something like 'ping slashdot.org' returns an unknown host.
>
> is the best solution probably to dig up the nameserver addresses for my
> cable provider and enter those into the nameserver table?
>
> rjn
>
> > This may be a silly question, but is a default gateway defined on the
> Linux
> > Box?
> >
> > do a '/sbin/route'
> >
> > [thorin at ns thorin]$ /sbin/route
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags Metric Ref
> Use
> > Iface
> > 192.168.0.0     *               255.255.255.0   U     0      0
> 0 eth1
> > 127.0.0.0       *               255.0.0.0       U     0      0
> 0 lo
> > default         192.168.0.1.1     0.0.0.0         UG    0
> 0        0
> > eth1
> >
> >
> >
> > ----- Original Message -----
> > From: "Ryan Norris" <rnorris at ryannorris.com>
> > To: <discuss at Blu.Org>
> > Sent: Wednesday, May 02, 2001 11:18
> > Subject: RH7 behind Windows-based NAT
> >
> >
> > > Hello all -
> > >
> > > I'm a newbie to the list.  Have been running linux for a while now -
> > > love it.
> > >
> > > I just moved back home from school.  I have a cable modem (DHCP)
> that
> > > is connected to a windows machine running nat32 for a bunch of other
> > > machines i have running in the house.  i seem to be able to get an
> IP
> > > address from the DHCP server that NAT32 provides - but i am unable
> to
> > > access anything outside the LAN from my RH7 machine.  all the
> windows
> > > PC's get out without a hitch.
> > >
> > > yea yea yea, i should be IP masquerading with the linux box instead
> of
> > > using nat32 - but this can't be helped at the moment.
> > >
> > > Everything on the linux machine is set up for DHCP.  i just can't
> get
> > > out of my lan.  any ideas?
> > >
> > > thx!
> > >
> > > Ryan
> > > -
> > > Subcription/unsubscription/info requests: send e-mail with
> > > "subscribe", "unsubscribe", or "info" on the first line of the
> > > message body to discuss-request at blu.org (Subject line is ignored).
> >
> >
> >
>

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list