Re: Internet connection on Linux



On 2008-04-26, CCW <c.c.wood@xxxxxxxxx> wrote:
Hi,

I've got a FC7 server, running a workgroup with ~10 windows PCs. I'm
sharing the internet connection via FC7, so my setup is:


Router (192.168.0.1) ------ (eth0) 192.168.0.2 - (eth1) 192.168.1.1
------ Windows computers (1.2 - 1.10)

All of the windows computers can use the internet fine, but my FC7
server can't! I can access websites / ping by ip address but not by
name. I've checked the dns settings, and they seem to be ok, and I'm
a bit lost as to what else to check! Any ideas what could be wrong?


I encountered a similar problem and was able to fix it a couple days
ago. The cause of the problem may be completely different from yours,
but in case it's the same or similar, here's a brief summary - put in
vague, nontechnical terms because I'm not a DSL or networking expert and
I didn't investigate in detail what was happening:

The DSL modem I was using appeared to have an inside line of
communictation to the windows machines (probably with respect to DHCP
and/or NAT). My firewall was getting an address via DHCP from the modem
of 192.168.0.6 instead of something sensible (and expected), such as my
current valid address: 75.166.182.133. The windows machines (on the
same internal network as my Linux machine, protected by the firewall)
were able to deal with this wierdness, but my Linux system, at least
with respect to browsing, was not. (The firewall is configured to
perform NAT via iptables - perhaps the modem was also doing NAT.)

The fix was to change back to a modem I was using before - it gave my
firewall reasonable IP addresses (i.e., passed on the address obtained
from the qwest server) and the problem went away. (I had switched to
the other [problem] modem during a call to qwest tech. support to check
whether a problem with slow speeds [unrelated to the above problem] was
caused by the modem - it wasn't, but I had left the 2nd modem connected,
thinking it should work the same.)

It could be that this "windows-friendly" modem is configurable such that
it does not do this wierdness re. DCHP (and perhaps NAT). (Maybe it's
as simple as turning NAT off.)

(Anyone reading this who knows the complete explanation of what happened
here and is thinking something like "obviously, what was happening was
...." is welcome to put the ... into words; besides myself, I'm sure
others would be enlightened by and appreciate it; and corrections to my
probably naive explanation are welcome.)


--

.



Relevant Pages

  • Repeatedly disconnect from internet (Dial-up Problem)
    ... I can not connect to Internet easily. ... Modem make is Multi Tech System, ... to Internet with O.S Windows 98 but with Window XP ... This connection uses the following items: ...
    (microsoft.public.windowsxp.network_web)
  • Re: Connection to the internet successful - unable to load any website
    ... > When the owner tries to connect to the internet via modem (ISP ... > the connection had been successfully established (the blinking icon in ... > don't have any problems dialing-up to the internet (miscellaneous IP ... > formatting the hard disk and reinstalling Windows)? ...
    (microsoft.public.windowsxp.general)
  • Re: Port Forwarding Not Working
    ... NAT and FirewallTroubleshooting Windows NAT issues. ... To connect a windows 2000/2003 network to the Internet, you may use one of two methods: ... In the RRAS manager, under Nat/Basic Firewall, WAN Internet Connection ...
    (microsoft.public.windows.server.networking)
  • Re: setting an internet to workgroup
    ... Difference between ICS and NAT ... and name resolution services to the network hosts. ... box) on the computer running Windows 2000/2003 to provide a translated ... connection to Internet for all of the hosts on the network. ...
    (microsoft.public.win2000.networking)
  • Re: 8 minute connection freeze
    ... > I've been investigating my curious connection freeze for a month now. ... > happens when I connect to my network or to the internet via my modem. ... It's looking like a Windows Explorer cock-up, ...
    (microsoft.public.windowsxp.help_and_support)