Hello, Ralf, thanks so much for your answer.
Oh, well, I discovered what was the problem. It was something REALLy
silly: While testing both computers, I kept them connected to the hub
at the same time. My Linux box was getting confused because WinXP
still had DHCP running. Oh, well, so many hours testing and testing...
=)
Now that I can access the internet with my Linux box, I am trying to
make the computers in the local network to access the outside world. I
will look out for some tutorials about masquerading now. It's being so
painful to get things to work!!
Again, thank you so much!
Maira Carvalho
Ralf Herrmann <(E-Mail Removed)> wrote in message news:<c7bfbk$n66$(E-Mail Removed)>...
> Hi,
>
> > I'm new to Linux. I am trying to set up a network using a Conectiva 9
> > to share internet connection between other windows machines. At this
> > time, I have this network running using a WinXP with two ethernet
> > boards, one connected to my cable modem (no authentication needed) and
> > the other manually assigned the address 192.168.0.1. But when I try to
> > get Linux to do the same job, I can't ping any outside address. If
> > anyone could help me... I don't know what kind of information one
> > would need to figure out what's happening, but here are some of the
> > outputs I get:
>
> First of all you should find out, how the network card attached
> to your cable modem gets its IP.
> I guess unless your ISP gave you a fix IP address, this interface
> is configured via DHCP.
>
> So you should make sure, your eth1 will use DHCP as well
> (or give it the static IP in case you have one).
>
> > -------------------------------------------------
> >
> > I typed "ifconfig eth1 up" and now I get:
> >
> > -------------- ifconfig --------------------------
>
> >
> > eth1 Encapsulamento do Link: Ethernet Endereço de HW
> > 00:08:54:0A:10:7C
> > UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
> > RX packets:169 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
> > colisões:0 txqueuelen:100
> > RX bytes:7774 (7.5 Kb) TX bytes:684 (684.0 b)
> > IRQ:12 Endereço de E/S:0xe800
>
> Obviousely, with this command line your eth1 doesn't get a valid IP
> configuration. I don't know anything about the Conectiva distro,
> so you should try to get eth1 set up to the same values,
> as it's done on your XP box.
>
> Once this is done, you should be able to ping all outer machines
> at least on your linux box.
> DHCP should add a default route to the unix system, which tells it
> to use your ISP's gateway.....
> If you don't use DHCP, you have to set up the default gateway yourself,
> type "man route" to get started with that.
>
> Ok, let's say, your linux box can access the internet.....
> this doesn't mean your other boxes on your LAN can do this, too.
> You have to set your linux box (192.168.0.1) as the default gateway
> in all your windows boxes and you have to enable
> masquerading on your linux box.
> That means you have to enable your linux box to be a gateway for the
> other machines.
> But again, i don't know, how masquerading is done in Conectiva...
>
> Something about cable modem authentification:
> you said there is non for you.
>
> Well in some other recent thread of this newsgroup,
> someone had a quite similar problem.
> He also used a cable modem for internet access.
> Well, his ISP had a MAC address mapping at their side,
> so that he could not connect with the new linux box
> because he used another network card.....
>
> Maybe if you don't get DHCP working, this might be the reason.
> Ask your ISP:-)
>
> HTH
>
> Ralf
|