Click to See Complete Forum and Search --> : sharing internet connection


mscole
07-02-2002, 01:07 PM
Hello all,
I tried to set up internet connection sharing by following the NHF of that title, and with my network card active I am unable to access my dns. If I de-activate my network card and re-dial the connection, everything works fine, but then of course I have no local network. I followed the directions about setting the addresses for the nameservers. I recall reading somewhere that when you try to do this, your local computer looks to itself in error as the dns, but I can't remember where I read that, and wherever it was it also said there was no way to solve the problem, which I assume is incorrect. Any suggestions?
Thanks, Mike.

slacker_x
07-02-2002, 02:02 PM
did you restart networking after changing the nameserver?

mscole
07-03-2002, 07:06 PM
I actually set up the network during a new install of Redhat 7.3, so I expected it to work off the bat, since I've seen many comments to the effect that RH installations set up networking without a hitch.

Radar
07-04-2002, 02:03 AM
If your nameservers are in /etc/resolv.conf - there should be no problems.

search domain
nameserver xx.xx.xx.xx
nameserver xx.xx.xx.xx

There is a config file that tells the order in which to resolve names, but the default should work. I forgot the name of the file.

mscole
07-05-2002, 09:41 AM
I'v been fishing around through some of the other threads here and I see some discussion about ip forwarding. Can someone tell me what that is and if it is related to my dns problem?

X_console
07-05-2002, 10:23 PM
ip-forwarding is when you want a connection to a certain port on your server to be forwarded to another machine. For instance, suppose I have a firewall and a laptop. I want to be able to ssh to my laptop. What would happen would be that the ssh connection to my firewall would forward it to my laptop.