Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-15-2004, 05:41 AM   #1
Registered: Dec 2003
Location: Cali
Distribution: Debian
Posts: 42

Rep: Reputation: 15
Angry 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. 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.

Old 09-15-2004, 07:00 AM   #2
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
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.
Old 09-15-2004, 07:28 AM   #3
Registered: Aug 2002
Posts: 21,773

Rep: Reputation: 4246Reputation: 4246Reputation: 4246Reputation: 4246Reputation: 4246Reputation: 4246Reputation: 4246Reputation: 4246Reputation: 4246Reputation: 4246Reputation: 4246
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.
Old 09-15-2004, 11:28 PM   #4
Registered: Dec 2003
Location: Cali
Distribution: Debian
Posts: 42

Original Poster
Rep: Reputation: 15
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?
Old 09-16-2004, 04:47 AM   #5
Registered: Dec 2003
Location: Cali
Distribution: Debian
Posts: 42

Original Poster
Rep: Reputation: 15
Got it!

Thanks for insight LQ.

I eventually got my setup working.

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

DG (eth1)

Primary DNS
Alternate DNS

Slackware ifconfig


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

You can do it!!!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linksys BEFSR41 + Slackware 9.1 TRACEROUTE bonecrusher Linux - Networking 7 03-08-2006 02:44 PM
ADSL & LAN in Slackware citizen_lc Slackware 5 04-02-2005 04:43 PM
ADSL + Shorewall in1 phisical interface not work sergyltd Linux - Security 2 11-11-2004 05:29 AM
ADSL NetComm nb1300plus4 & RH9 networking rblampain Linux - Networking 0 08-31-2004 08:39 AM
Mandrake 10 & Shorewall 2 hlozo Mandriva 3 05-27-2004 01:40 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration