Re: Problems setting up DNS, gateway und subnetmask!
- From: Alan Adams <alan.adams@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 30 Dec 2005 23:16:48 GMT
In message <slrndrb5bm.rb8.ibuprofin@xxxxxxxxxxxxxxxxx>
ibuprofin@xxxxxxxxxxxxxxxxxxxxxx (Moe Trin) wrote:
> On Thu, 29 Dec 2005, in the Usenet newsgroup comp.os.linux.setup, in article
> <772213e14d.Alan.Adams@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, Alan Adams wrote:
>
> >On the LAN side of your router, i.e. the wiring between the router and your
> >machine, you are using the private network 10.0.0.x. For this to work your
> >machine needs to have an address in the 10.0.0.<1-254> range. The router is
> >10.0.0.138, so don't use that for your machine.
> >
> >(For this network, the "official" subnet mask is 255.0.0.0, giving addresses
> >from 10.0.0.1 to 10.255.255.254.
>
> Couple of problems. Who is defining the "official" in the sentence above?
> Are you assuming that because the address is between 0.0.0.0 and
> 127.255.255.255, this must use a 255.0.0.0 or /8? If so, have a look at
> RFC1517 to RFC1519 from late 1993 - we're not using Class A, B, or C
> address names any more. That would also be a 'network' mask, as putting
> 16,777,215 hosts on a single subnet is like trying to fit everyone in
> London into a single airplane. It would be a very tight fit.
>
> >However you need to use the mask that is set on the router, which may be
> >different. Addresses below 10.0.0.254 will work with any likely mask,
> >provided the mask you set on your machine does match that on the router.)
>
> Yes, the masks have to match, but "any" likely mask? What about the
> 255.255.255.252 mask mentioned by the O/P?
I was assuning, if it wasn't clear, that the 10.0.0.0 network was being
defined by the router. Routers, in my experience usually come set with a
class A or C network defined. (Either 10.0.0.0/8 or 192.168.x.0/24). It is
usual, though obviously not essential, to leave the router set and alter the
rest to match. You can of course alter the router to match your network,
provided you aren't using somebody else's network number, i.e. you need to
be on a private range.
The latter solution is simpler if you already have a network, but it can be
a little tricky to set the router up initially, or after a reset. Using
secondary addresses is the way I solve that one.
>
> >I can't help you with the routing commands - I'm new to Linux myself.
>
> The routing commands actually used are detailed on the 'route' man page.
>
> [compton ~]$ whatis route
> route (8) - show / manipulate the IP routing table
> [compton ~]$
>
> However each distribution has their own cute little tool designed to "help"
> with networking setup - only problem is that each tool is very different
> from those of other distributions. Also, networking is normally set up at
> boot time by scripts and configuration files in /etc/ but as with the tools,
> each distribution does it's own thing.
>
> Old guy
--
Alan Adams, from Northamptonshire
alan.adams@xxxxxxxxxxxxxxxxxxxxxxxxxxx
http://www.nckc.org.uk/
.
- References:
- Problems setting up DNS, gateway und subnetmask!
- From: Tamer Higazi
- Re: Problems setting up DNS, gateway und subnetmask!
- From: Moe Trin
- Re: Problems setting up DNS, gateway und subnetmask!
- From: Alan Adams
- Re: Problems setting up DNS, gateway und subnetmask!
- From: Moe Trin
- Problems setting up DNS, gateway und subnetmask!
- Prev by Date: Re: CD Drive not being recognized
- Next by Date: Re: Simple one: How to set a static IP address?
- Previous by thread: Re: Problems setting up DNS, gateway und subnetmask!
- Next by thread: Sharing a Printer
- Index(es):
Relevant Pages
|