Re: Problems setting up DNS, gateway und subnetmask!
- From: ibuprofin@xxxxxxxxxxxxxxxxxxxxxx (Moe Trin)
- Date: Wed, 28 Dec 2005 13:46:29 -0600
On Wed, 28 Dec 2005, in the Usenet newsgroup comp.os.linux.setup, in article
<43b1d7dc$0$3797$9b4e6d93@xxxxxxxxxxxxxxxxxxxxxxxxxx>, Tamer Higazi wrote:
>I have received from my ISP an IP, DNS, Subnetmask and the DNS
>Serverentries to add to my ubuntu linux machine
The information is wrong.
>iface eth0 inet static
>address 81.10.53.22
>netmask 255.255.255.252
Looking at RFC1878, that mask says there are four IP addresses on this
segment:
81.10.53.20 "Network" address - probably not usable for a host
81.10.53.21
81.10.53.22
81.10.53.23 "Broadcast" address - not usable
>gateway 10.0.0.138
And how does one reach that address? It is not one of the four addresses
noted above.
>My File /etc/hosts:
Generally, it is a good idea to list the IP address of "this" host, so it
can boot properly if the name server is not reachable.
>If I enter the command route:
Yes
>sudo route add default gateway 10.0.0.138 eth0
>
>I receive this errormessage:
>SIOCADDRT: Das Netzwerk ist nicht erreichbar (Network unreachable)
Yes - because you can not reach 10.0.0.138 from 81.10.53.20/28. The
gateway MUST be on the "local" interface (which _probably_ means it
is 81.10.53.21).
Old guy
.
- Follow-Ups:
- Re: Problems setting up DNS, gateway und subnetmask!
- From: Alan Adams
- Re: Problems setting up DNS, gateway und subnetmask!
- From: slackware guy
- Re: Problems setting up DNS, gateway und subnetmask!
- References:
- Problems setting up DNS, gateway und subnetmask!
- From: Tamer Higazi
- Problems setting up DNS, gateway und subnetmask!
- Prev by Date: Re: Sharing a Printer
- Next by Date: Re: Sound not working
- Previous by thread: Re: Problems setting up DNS, gateway und subnetmask!
- Next by thread: Re: Problems setting up DNS, gateway und subnetmask!
- Index(es):