LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gateway for internet (https://www.linuxquestions.org/questions/linux-newbie-8/gateway-for-internet-136336/)

mfeoli 01-19-2004 09:12 AM

Gateway for internet
 
Hi all,

Here is the situation,

We have a firewall and all at the office access internet from Windoze by setting a Gateway address parameter on the IP properties, fine.

I setted up Suse 7.1 on my computer and I programmed (ussing YAst, sorry for the lack of knoledge ) the gateway to the same address and the DNS .
so right now, I can do ping to the firewall but I can't use the web.

If I do a dial up, I can surf the web fine, just not with the firewall.

Where do I start (please be pacient)

Azmeen 01-19-2004 09:58 AM

Most probably it's not the gateway, but a HTTP proxy setting that's causing you to be unable to surf the web.

Check the IE settings in Windows to see if a proxy is used.

mfeoli 01-19-2004 10:05 AM

Thanks, but no proxies,

In fact to clarify my first question, I can ping anywhere outside the firewall if I use ip, but not with names.

I am ussing the same DNS as in Windows, but don't know if I setted them right.

lozz1978 01-19-2004 10:50 AM

If you can ping the outside world, then your internet connection is working, and you have a problem with DNS

if im having problems like this I try to ping the BBC (212.58.228.154) if you get a ping reply, then try pinging "bbc.co.uk"

you should get a reply, looking like this:
64 bytes from bogons.mh.bbc.co.uk (212.58.228.154): icmp_seq=1 ttl=248 time=46.2 ms
64 bytes from bogons.mh.bbc.co.uk (212.58.228.154): icmp_seq=2 ttl=248 time=43.7 ms
64 bytes from bogons.mh.bbc.co.uk (212.58.228.154): icmp_seq=3 ttl=248 time=40.9 ms
64 bytes from bogons.mh.bbc.co.uk (212.58.228.154): icmp_seq=4 ttl=248 time=48.6 ms

If you dont get a reply from the IP 212.58.228.154 then your gateway is down,

you if dont get a reply from "bbc.co.uk" then you have a problem with your DNS.

Azmeen 01-19-2004 11:14 AM

OK... I don't use SuSE, but the fundamental method in which Linux handles DNS resolving is via the /etc/resolv.conf file.

As root, edit the file and add your nameservers there... ie., if your nameservers are 1.2.3.4 and 5.6.7.8, your resolv.conf file should look like this:
Code:

nameserver  1.2.3.4
nameserver  5.6.7.8



All times are GMT -5. The time now is 01:06 PM.