LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 12-28-2008, 10:41 PM   #1
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Rep: Reputation: 50
How do I conf 2wire to support Linux dhcp, ddns, name servers ?


Have a 2wire dsl router/gateway and want to configure Slackware servers to work around having dynamic isp add.
Slackware servers for dhcpd, ddns, name and webserver.

Confusion is what functions 2wire router/gatway should be configured for so
slackware can be configured for services I want?

Eth0 is connected 2wire - config as default gateway / NAT with firewall holes for all slackware servers. Default Gateway 192.168.1.254 192.168.1.64-192.168.1.253

*Is it correct that the ip range for linux router eth1 ought to be a completely different block of ip address from 2wire router?

*Which becomes the default gateway externel eth0 or internal eht1 slackware router?

*Which set of IP Addresses get used to configure servers?

I can't tell from looking at example config files?

Yes, I have eth0 and eth1. Yes, I know there are easier ways but... I want to learn how to do this using slackware tools. Thanks

Last edited by NightSky; 12-29-2008 at 03:07 AM. Reason: Clarify question
 
Old 12-29-2008, 02:39 PM   #2
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Is this not a network ques?

My question is specific to the relationship between the Externel 2Wire gateway/router and the state it needs to be in to interact properly with linux internal router/gateway dhcpd + named,ddns servers since 2wire is also dhcpd server? And thank you for referral links but I know what linux config files are suposed to look like I am researching this project.

Last edited by NightSky; 12-29-2008 at 02:50 PM.
 
Old 12-31-2008, 10:21 AM   #3
Amerefelie
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Rep: Reputation: 0
If you intend to use the 2Wire as a switch, wireless AP, and/or firewall; simply disable DHCP on the 2Wire. You slack box can then have any IP address in the range 192.168.1.1 to 192.168.1.253. Other clients will have a default gateway and DNS pointing to the slack box, and the Slackbox will have a default gateway and DNS pointing to the 2Wire. Eth1 will not be used in this configuration.

If you intend to use the 2wire only as a modem and all other devices will be connecting the the slack box on eth1 through a switch or hub. Then you have 2 solutions, both of which will require iptables for NAT:

1. Drop the 2wire into bridged mode so it acts as a modem only, and setup PPP (PPPoE) on eth0

2. Place eth0 into DHCP client mode and eth1 on a different IP block such as 192.168.0.1 (easier to config, but creates 2 NAT sessions which can be problematic for some secure connections)

Last edited by Amerefelie; 12-31-2008 at 10:22 AM.
 
Old 01-04-2009, 04:09 AM   #4
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Amerefelie, thank you so much for your informative response. I can now decide which way is best to setup DHCP,DDNS combo to get this box up using my own TLDs.
 
Old 01-23-2009, 12:33 PM   #5
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Post

Please remove this, sorry.

Last edited by NightSky; 01-24-2009 at 02:22 PM. Reason: Please remove this, was mistake
 
  


Reply


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
ddns and dhcpd sportf Linux - Networking 1 03-20-2007 10:26 PM
named + dhcpd -> ddns configuration ? Suhy Linux - Networking 25 02-17-2007 10:56 PM
DDNS with BIND and ISC-DHCPD joel112 Linux - Software 1 05-25-2006 12:06 PM
BIND 9/DHCPD DDNS Not Functioning Corxscrew Linux - Networking 2 02-07-2005 06:43 AM
2Wire Gateway Drivers nirvana4lf Linux - Networking 0 12-18-2004 03:23 AM


All times are GMT -5. The time now is 02:34 PM.

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