PDA

View Full Version : Linux query - with bridged adsl modem


dheaps
19-08-2003, 12:17 PM
Hi,

I just have a quick query or those who know linux.

I have just had my swift adsl connection installed, and have it up and running no probs.

what I want to do is is place the modem into bridged mode and let the the linux box take care of the NAT, Web, ftp etc
( the linux box currently does this on another dsl connection atm)

I have been reading the forum and found out about the rp-pppoe client I will most likely need to setup ( I didnt need it for the previous dsl provider).
the thread - http://forum.swiftdsl.com.au/showth...ght=bridge+mode
and
http://forum.swiftdsl.com.au/showthread.php?s=&threadid=855


The query I have is do I assign the static IP I have been assigned by swiftel, directly to the nic as I have done previously or do I setup a dhcp client in conuction with the rp-ppoe client, I have not fully researched rp-ppoe client as yet.

I dont have a problem with the adsl modem(Billion 741GE V2.0) doing portforwarding, just prefer the linux box to do it, as its already setup and running everything I need.

any information would helpful, I'm doing my research before I go ahead and do the work, and change DNS entries etc

cheers

David

sticky_chicken
19-08-2003, 12:50 PM
Originally posted by dheaps
Hi,

I just have a quick query or those who know linux.

what I want to do is is place the modem into bridged mode and let the the linux box take care of the NAT, Web, ftp etc
( the linux box currently does this on another dsl connection atm)

I have been reading the forum and found out about the rp-pppoe client I will most likely need to setup ( I didnt need it for the previous dsl provider).
the thread - http://forum.swiftdsl.com.au/showth...ght=bridge+mode
and
http://forum.swiftdsl.com.au/showthread.php?s=&threadid=855


The query I have is do I assign the static IP I have been assigned by swiftel, directly to the nic as I have done previously or do I setup a dhcp client in conuction with the rp-ppoe client, I have not fully researched rp-ppoe client as yet.

I dont have a problem with the adsl modem(Billion 741GE V2.0) doing portforwarding, just prefer the linux box to do it, as its already setup and running everything I need.

any information would helpful, I'm doing my research before I go ahead and do the work, and change DNS entries etc

cheers

David

David,

I'm using linux and my router/modem is currently in bridged mode.

Roaring Penguin is definitely the way to go, the setup is a breeze.

Just run the adsl-setup script as root and enter the details it asks for.

It will use ppp0 (assuming you don't already have one) and that will get your public IP address from Swiftel. You won't need to change your eth0 or other IP address information.

One thing to note however is that there's a stupid 20 second connection time (don't ask me why) by default which will drop your connection every 20 seconds when idle.

To change this, edit your /etc/sysconfig/network-scripts/ifcfg-ppp0

after you've run the adsl-setup script.

The section you need to modify is

PPPOE_TIMEOUT=

I've set mine to 3600 which is in seconds.

Hope this helps.

whiteowl
19-08-2003, 05:23 PM
StickyChicken,
What Linux software are you using as a router?;)

sticky_chicken
19-08-2003, 09:32 PM
StickyChicken,
What Linux software are you using as a router?;)

Ahh ok. I'm not using any software as such, rather I have enabled ip forwarding, which turns my linux box into a router (for want of a better word).

I have a netcomm nb 3300 adsl modem/router as well.

:)

whiteowl
20-08-2003, 03:11 PM
Sticky_chicken,
I am using the freesco floppy router on an old pentium 1 as a print server and gateway for the wireless end. Works great!

romanr
02-09-2003, 04:53 PM
Uh oh ... you have one of the most functional ADSL modem/router models out there the Billion 741GE, I myself have the 743GE(wireless version of 741) and why ON EARTH would you want your linux box to do all that stuff when the 741 does it all for you. I mean LOL just think of the savings on the elictricity bill, I mean you gotta keep your linux box ON all the time as opposed to just having the router on. Don't reinvent the wheel, use 741's features that's what they are there for.

dheaps
02-09-2003, 07:22 PM
yes you have a rather good point, I bought modem thinking that I was going to switch my website and and email off the server I was running previous adsl service, but the situation changed somewhat, after that well... I just changed things over and have a modem that is underutilised for features and so on:)
but I will change that at some point!

I know I can port forward and so on, i'll make my mind up one day :)

cheeers

David

Originally posted by romanr
Uh oh ... you have one of the most functional ADSL modem/router models out there the Billion 741GE, I myself have the 743GE(wireless version of 741) and why ON EARTH would you want your linux box to do all that stuff when the 741 does it all for you. I mean LOL just think of the savings on the elictricity bill, I mean you gotta keep your linux box ON all the time as opposed to just having the router on. Don't reinvent the wheel, use 741's features that's what they are there for.

flippin
06-09-2003, 08:29 PM
You might need to explain a little more about what you are trying to acheive because BRIDGE ADSL and PPPOE ADSL are two different things. Also the user has no control over this as it is the way the ISP is setup.

sticky_chicken
09-09-2003, 04:11 PM
You might need to explain a little more about what you are trying to acheive because BRIDGE ADSL and PPPOE ADSL are two different things. Also the user has no control over this as it is the way the ISP is setup.

By Bridged - I refer to the ADSL modem/router acting more like a PSTN modem. The modem no longer handles the PPPoE side of the connection and my linux box does the PPPoE stuff.

dheaps
09-09-2003, 10:05 PM
thats what I was trying to describe earlier, my linux box handles the pppoe stuff

cheers

david