LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   adsl to RH9 with shorewall to BEFSR41 to XP & Slackware 10 (https://www.linuxquestions.org/questions/linux-networking-3/adsl-to-rh9-with-shorewall-to-befsr41-to-xp-and-slackware-10-a-230842/)

Mr54mk 09-15-2004 05:41 AM

adsl to RH9 with shorewall to BEFSR41 to XP & Slackware 10
 
Ok...I've spent the last 2 days trying to configure my network up to utilize my linksys. My previous setup was with only 2 computers. The RH9 (with shorewall) machine had 2 nics, setup like.....internet to eth0 and eth1 to XP box via X-over cable. It worked fine but then I picked up another machine and decided to throw it on the network. Here is where it gets tricky. A friend of mine told me to run the linksys befsr41 as a switch so that I could run cable straight through , ex--->internet>shorewall(RH9)>eth0>eth1 out to >linksys uplink>XP box & slackware box port 4 & 3. At first I tried connecting eth1 to the linksys with a straight through cable. I didn't get any uplink light on the router/switch but I was able to attempt to configure the router with the web tool (ex. 192.168.1.1). I couldn't get the connection to work so next I decided to use a X-over cable from eth1>Linksys. I now have lights indicating a connection but I still have no internet and can't ping the RH9 machine from XP or vice versa. So it's almost as if i've made no progress at all. I've also attempted to disable DHCP with no luck. Can I even use the BEFSR41 as a switch??? Does anyone have any sugguestions or possible solutions??? Thx in advance LQ people.

-Mr54mk

scowles 09-15-2004 07:00 AM

You should be able to use your befsr41 as "just a switch" - connecting each host device with a straight-through cable. The only problem you might encounter is if the befsr41 is still acting as a DHCP server for your LAN. The default gateway it hands out to hosts might still point to the ip address of the befsr41, not the ip of your shorewall box. I don't really know. Something to check though. If the befsr41 DHCP server can be configured to specify a different default gateway, then this would fix the problem. Simply point the default gateway to the ip address of your shoreall box. Otherwise you might need to disable the DHCP server on the befsr41 and configure each host tcp/ip settings statically.

michaelk 09-15-2004 07:28 AM

If you do not use the uplink port on the router then it will be a switch. If you use the uplink port then you need different networks. ex. the RH9 and router's WAN side configure to 192.168.1.x and the router's LAN as 192.168.2.x.

Mr54mk 09-15-2004 11:28 PM

Thx, I'll give it a try and post tonight after i get off of work. Anyone else have any other suggestions?? Does anyone know anything about MAC address cloning?

Mr54mk 09-16-2004 04:47 AM

Got it!
 
Thanks for insight LQ.

I eventually got my setup working.

internet>eth0
eth1>linksys(plugged into the uplink with X-over cable) I left DHCP enabled on the router and set the WAN connection type to obtain ip automatically). I plugged the XP box into port 4 on the routher with a straight through cable. At first I didn't get anything. Then magically i was able to ping the both machines from either side.

XP ipconfig

ip 192.168.1.103
sub 255.255.255.0
DG 192.168.1.102 (eth1)

Primary DNS 192.168.0.1
Alternate DNS 192.168.1.1

Slackware ifconfig

ip 192.168.1.105
Bcast 192.168.1.255
Mask 255.255.255.0

i used the eth1 as the DG when i ran the netconfig

You can do it!!!


All times are GMT -5. The time now is 03:57 AM.