Click to See Complete Forum and Search --> : RedHat 7.2 server, Windows ME client. HELP!!!


nerrollus
07-28-2002, 07:43 PM
I've been working on getting internet connection sharing setup for two days now with no luck. I've tried the NHF and several other methods and I just can't get the WinME machine to see the network.

My setup:

Redhat 7.2
eth0 > Cable modem
eth1 > Local LAN

eth0 > DHCP
eth1 > static IP (DHCP will NOT see the other machine.

eth1 > 192.168.0.1 / 255.255.255.0 with the ok.cox.net domain

WinME > 192.168.0.2 / 255.255.255.0 with the ok.cox.net workgroup. I have the DNS pointing to the cable compainies DNS servers. Gateway is set to 192.168.0.1

pmfirewall is setup.


I can't see either of the computers from each other no matter what I do. I've tried setting them both to DHCP, but when I try to activate the eth1 or reboot it errors out saying to can't get the IP information.

Can someone please hold my hand on this one? I was using WinXP for the computer with the 2 network cards and it setup perfectly and worked fine so I know all the equipment is good. Linux sees both of the network adapters . (I've plugged the cable modem into both of them, set it to DHCP, and can cruise the internet fine.)


Anyone?


*EDIT: BTW, when I try to ping one of the machines from the other is says destination host unreachable if that matters..

cowanrl
07-28-2002, 09:00 PM
Have you tried to ping eth1 on the Linux box from the Windows machne? If you can ping
from machine to machine, then it could be that your Linux box isn't forwarding IP packets.

What IP address is being assigned by DHCP to eth0 on the Linux box(run /sbin/ifconfig eth0 to see)? It's not assigning it somthing on the 192.168.0.0 network is it? If by chance it is, you would need to assign the other Ethernet NICS an address on another network address, such as 192.168.1.0.


Since your router is providing the DHCP services, the only device that will be able to get an IP address from it is eth0 on the Linux box.

nerrollus
07-28-2002, 09:12 PM
Originally posted by cowanrl
Have you tried to ping eth1 on the Linux box from the Windows machne? If you can ping
from machine to machine, then it could be that your Linux box isn't forwarding IP packets.

What IP address is being assigned by DHCP to eth0 on the Linux box(run /sbin/ifconfig eth0 to see)? It's not assigning it somthing on the 192.168.0.0 network is it? If by chance it is, you would need to assign the other Ethernet NICS an address on another network address, such as 192.168.1.0.


Since your router is providing the DHCP services, the only device that will be able to get an IP address from it is eth0 on the Linux box.

I can't ping anything from the Windows box. It just acts like it's dead to the world, but I know for a fact all the cabling and hardware is good. (I can't ping the Windows box from the Linux box either.)

The IP address on eth0 is the one that Cox.net assigened, it's not picking up a 192 IP.

There's got to be some stupid setting I missed somewhere...

cowanrl
07-28-2002, 09:21 PM
I guess I should have asked the most obvious question. Do you have a firewall installed on your Linux box. Some distributions, especially Red Hat, install a firewall by default that blocks just about everything. You'll eventually want a firewall obviously but you may have to adjust some settings to make it work properly.

How about posting your routing table from the Linux box here. You should be able to see it by just typing route at the command line.

nerrollus
07-28-2002, 09:29 PM
Originally posted by cowanrl
I guess I should have asked the most obvious question. Do you have a firewall installed on your Linux box. Some distributions, especially Red Hat, install a firewall by default that blocks just about everything. You'll eventually want a firewall obviously but you may have to adjust some settings to make it work properly.

How about posting your routing table from the Linux box here. You should be able to see it by just typing route at the command line.

Hrm.. Good question.. I know redhat has a firewall setup on install, but I have no idea how to shut it off. I was trying to use pmfirewall or that rc.firewall script.



Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
68.97.164.0 * 255.255.254.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default ip68-97-164-1.o 0.0.0.0 UG 0 0 0 eth0




ugh.. That's pretty messy.. Can you make that out? I can't figure out how to get a good copy from the terminal window.

nerrollus
07-28-2002, 10:01 PM
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth1
68.97.164.0 0.0.0.0 255.255.254.0 U 40 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
0.0.0.0 68.97.164.1 0.0.0.0 UG 40 0 0 eth0
0.0.0.0 192.168.0.2 0.0.0.0 UG 40 0 0 eth1


I know it's hard to make this all our, but the line I wanted to show you is this:

0.0.0.0 192.168.0.2 0.0.0.0 UG 40 0 0 eth1


192.168.0.2 is my WinME computer. It's like it sees it, it just doesn't want to talk to it...