 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

20th May 2006, 06:37 AM
|
|
Registered User
|
|
Join Date: Feb 2006
Posts: 89

|
|
|
misconfigured hosts?
i followed all of the instructions on our great stanton finley's site to set up a server.
however, when it came to /etc/hosts well it said to put your ip addy and then your domain
for example
69.123.45.123 example.com example
well im on dhcp, and i point everything back to me with dyndns.org so i put
remoterepairs.dyndns.org repairsbymike.com repairsbymike
is this ok?
|

20th May 2006, 10:37 AM
|
|
Registered User
|
|
Join Date: Apr 2006
Posts: 1,092

|
|
Quote:
|
Originally Posted by uptonm
well im on dhcp, and i point everything back to me with dyndns.org so i put
remoterepairs.dyndns.org repairsbymike.com repairsbymike
is this ok?
|
No.
/etc/hosts is about mapping hostnames to IP addresses, not hostnames to other hostnames.
What sort of internet connection do you have (i.e. does your machine get the internet dhcp address or is it held by a router)?
Vic.
|

20th May 2006, 09:17 PM
|
|
Registered User
|
|
Join Date: Feb 2006
Posts: 89

|
|
my internet connection is DSL thru SBC Yahoo, I have a PPPoE modem which automatically logs in and grabs an ip address from the sbc dhcp server... i have a different ip address every time i reset my modem, and I would assume, every time my lease expires.
Next I have an ipcop linux router which is a standalone computer with the ipcop operating system http://www.ipcop.org. It communicates with the dyndns.org site every time my ip address changes to reflect to them my new ip address.
|

21st May 2006, 10:56 AM
|
|
Registered User
|
|
Join Date: Apr 2006
Posts: 1,092

|
|
Quote:
|
Originally Posted by uptonm
my internet connection is DSL thru SBC Yahoo, I have a PPPoE modem which automatically logs in and grabs an ip address from the sbc dhcp server.
|
Is this a simple *modem*, or is this a *router*?
IOW, does your computer get the IP address that Yahoo! sends you, or does the modem hold onto that, and use an internal IP address to communicate with your computer?
Quote:
|
Originally Posted by uptonm
Next I have an ipcop linux router
|
Why?
Vic.
|

21st May 2006, 04:56 PM
|
|
Registered User
|
|
Join Date: Feb 2006
Posts: 89

|
|
|
just a modem. If i were to hook up directly to the modem, i would get a public ip address.
|

21st May 2006, 06:26 PM
|
|
Registered User
|
|
Join Date: Apr 2006
Posts: 1,092

|
|
Quote:
|
Originally Posted by uptonm
If i were to hook up directly to the modem, i would get a public ip address.
|
From that I'm inferrnig that you're not hooking up directly to the modem.
So what *is* your network layout?
Vic.
|

21st May 2006, 07:42 PM
|
|
Registered User
|
|
Join Date: Feb 2006
Posts: 89

|
|
|
first there is a PPPoE Modem connected to the internet. This is then connected to my IPCOP router/computer, which serves up internal ip addresses to the network. The IPCOP router has a network cable going into one of the LAN (not WAN) ports of a wireless router, which has DHCP shut off, and is acting as a wireless access point more than a router. All of this as per ipcop recommendation.
Here is where I stray from IPCOP recommendation:
IPCOP recommends several different network cards plugged into it, one card connected to the Red network, or internet, one wire going out to a Green, or trusted network, a seperate card for the Blue, or wireless network, and one card going out to the orange network, or webserver.
Because of the layout of my house and property, and the way I have the computers located, I chose to put everything on the Green network, rather than making seperate networks for everything as per recommendation. Also because I was having serious problems before getting the Blue network to be even able to see the internet. Anyways, this is my setup and it works perfectly.
I don't use the wireless network on the webserver which is located upstairs, because i hate wireless myself, i chose to run a very long network cable from the wireless router, outside the window, up the hill, and into the the "converted workshed"/house we have upstairs.
Inside the workshop I have several rack mount 10 base T hubs, one of which I am putting to use by feeding the long network cable (with ipcop filtered internet) into a port, and I am also plugging in my personal computer, and web server. Fact that it is 10 base T doesn't slow down the net at all, but makes file transfers between computers a little much, so sometime i'll take the 10 base T out of the picture, and use that for other things. But right now its happily at work.
Last edited by uptonm; 21st May 2006 at 07:48 PM.
|

22nd May 2006, 08:53 AM
|
|
Registered User
|
|
Join Date: Apr 2006
Posts: 1,092

|
|
Quote:
|
Originally Posted by uptonm
first there is a PPPoE Modem connected to the internet. This is then connected to my IPCOP router/computer, which serves up internal ip addresses to the network.
|
OK - so this box is acting as a NAT router. In which case, you don't need to know *anything* about dyndns inside this; you have a seperate. private network that is not part of the Internet, and does not need public addressing schemes to talk to itself.
So your /etc/hosts entry could just contain the internal IP address for that machine - however, if you're running DHCP, you might like to run an internal DNS zone & update it from your DHCP server. This means that connecting a machine via DHCP allows you to address it by name, as your DNS system is made aware of it immediately.
Vic.
|

22nd May 2006, 11:37 AM
|
|
Registered User
|
|
Join Date: Feb 2006
Posts: 89

|
|
|
thanks vic. By the way is that a creedence clearwater revival reference in your user name?
|

26th May 2006, 09:07 PM
|
|
Registered User
|
|
Join Date: Feb 2006
Posts: 89

|
|
|
ok i set up /etc/hosts so it has the following line:
192.168.1.4 repairsbymike.com repairsbymike
hope its right.
|

27th May 2006, 12:37 AM
|
|
Registered User
|
|
Join Date: Apr 2006
Posts: 1,092

|
|
Quote:
|
Originally Posted by uptonm
By the way is that a creedence clearwater revival reference in your user name?
|
No, it's not actually - although that would be a reaonable thing for me to claim :-)
It started when I joined a diving list a while back - the username "Vic" is usually gone by the time I join up (as it is here - even though the user "Vic" has never posted!). So I put my name together with the type of dive kit I use (for which I was somewhat notoriious at the time), and got "ccrvic"...
Vic.
|

27th May 2006, 12:38 AM
|
|
Registered User
|
|
Join Date: Apr 2006
Posts: 1,092

|
|
Quote:
|
Originally Posted by uptonm
ok i set up /etc/hosts so it has the following line:
192.168.1.4 repairsbymike.com repairsbymike
hope its right.
|
Syntactically, it's fine.
Let us know whether or not it does what you expect :-)
Vic.
|

12th June 2006, 12:06 PM
|
|
Registered User
|
|
Join Date: Feb 2006
Posts: 89

|
|
|
seems to work well as far as i can tell. thanks for the help...
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 04:50 (Monday, 20-05-2013)
|
|
 |
 |
 |
 |
|
|