DumdumDaTroll
03-17-2004, 10:56 AM
First off, I'd like to point out that I'm a long time user of SEQ (a few years), but this is my first post (certainly my first question). I started out relatively new to Linux, and was able to get up and running on my own using information from the boards. I'm living proof that the search function does work, and should be used often.
That said, I'm a bit stumped at the moment, and my search on both the forums and the internet have not helped me at all. I've recently changed my network configuration because I've added a hard drive to my linux box and set it up as a Win2k dual boot. I purchased a Linksys switch, which now connects to the cable modem. The dual boot machine is now connected to the switch through one of the NIC's, which is eth1 in Linux. eth0 is connected to my non-switching Netgear hub. My thought was that I would have both comps connected to the Linksys switch when both running Windows (as one would do if running EQ on both machines). If I wanted to run SEQ, I'd switch the Windows box to the hub, change my network settings appropriately, and it would just work. This is not working with the current configuration.
Right now, I cannot even ping the internet from the Linux box, much less forward packets. eth0, which is connected to the hub (i.e. internal network) is still assigned a static IP of 192.168.1.20. eth1, which is connected to the switch, is getting it's address from DHCP. The difference is that the DHCP server is different: before, I was getting the address directly from the ISP, and was receiving an external address. Now, the DHCP server is the Linksys switch, and eth1 is getting an internal network address of 192.168.1.10. The Linksys switch has an internal IP of 192.168.1.1, so I'm positive there are no conflicts. So basically, I have two separate internal networks, one between the switch and the Linux box, and one between the Linux box and the Win box.
My guess is that the Linux box is, at this point, severely confused about where it should be getting internet information. My question is: can this configuration even work? What should I do? My first thought was that it's a problem in my rc.firewall configuration, but I'm not sure. Thoughts?
PS - Linux box is running RedHat 9 (2.4.x kernel), so I'm using iptables instead of ipchains
That said, I'm a bit stumped at the moment, and my search on both the forums and the internet have not helped me at all. I've recently changed my network configuration because I've added a hard drive to my linux box and set it up as a Win2k dual boot. I purchased a Linksys switch, which now connects to the cable modem. The dual boot machine is now connected to the switch through one of the NIC's, which is eth1 in Linux. eth0 is connected to my non-switching Netgear hub. My thought was that I would have both comps connected to the Linksys switch when both running Windows (as one would do if running EQ on both machines). If I wanted to run SEQ, I'd switch the Windows box to the hub, change my network settings appropriately, and it would just work. This is not working with the current configuration.
Right now, I cannot even ping the internet from the Linux box, much less forward packets. eth0, which is connected to the hub (i.e. internal network) is still assigned a static IP of 192.168.1.20. eth1, which is connected to the switch, is getting it's address from DHCP. The difference is that the DHCP server is different: before, I was getting the address directly from the ISP, and was receiving an external address. Now, the DHCP server is the Linksys switch, and eth1 is getting an internal network address of 192.168.1.10. The Linksys switch has an internal IP of 192.168.1.1, so I'm positive there are no conflicts. So basically, I have two separate internal networks, one between the switch and the Linux box, and one between the Linux box and the Win box.
My guess is that the Linux box is, at this point, severely confused about where it should be getting internet information. My question is: can this configuration even work? What should I do? My first thought was that it's a problem in my rc.firewall configuration, but I'm not sure. Thoughts?
PS - Linux box is running RedHat 9 (2.4.x kernel), so I'm using iptables instead of ipchains