On 02/08/2012 17:52, Johnny Hughes wrote:
> On 08/02/2012 09:33 AM, Birta Levente wrote:
>> On 02/08/2012 17:24, Johnny Hughes wrote:
>>> On 08/02/2012 09:00 AM, Birta Levente wrote:
>>>> Hi all
>>>>
>>>> Can someone explain me this:
>>>>
>>>> ifcfg-eth0-range1:
>>>> ONBOOT="yes"
>>>> IPADDR_START="192.168.1.48"
>>>> IPADDR_END="192.168.1.55"
>>>> CLONENUM_START="1"
>>>>
>>>> Why Bcast is 192.168.1.51 and why Mask is 255.255.255.252 ?
>>>>
>>>> OS: Centos 6.3/64bit
>>>>
>>>>
>>>> Thanks
>>>>
>>>> Levi
>>>>
>>>> # ifconfig
>>>>
>>>> eth0:1 Link encap:Ethernet HWaddr 00:9C:02:99:FA:00
>>>> inet addr:192.168.1.48 Bcast:192.168.1.51 Mask:255.255.255.252
>>>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>>>> Interrupt:16 Memory:fbee0000-fbf00000
>>>>
>>>> eth0:2 Link encap:Ethernet HWaddr 00:9C:02:99:FA:00
>>>> inet addr:192.168.1.49 Bcast:192.168.1.51 Mask:255.255.255.252
>>>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>>>> Interrupt:16 Memory:fbee0000-fbf00000
>>>>
>>>> eth0:3 Link encap:Ethernet HWaddr 00:9C:02:99:FA:00
>>>> inet addr:192.168.1.50 Bcast:192.168.1.51 Mask:255.255.255.252
>>>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>>>> Interrupt:16 Memory:fbee0000-fbf00000
>>>>
>>>> eth0:4 Link encap:Ethernet HWaddr 00:9C:02:99:FA:00
>>>> inet addr:192.168.1.51 Bcast:192.168.1.51 Mask:255.255.255.252
>>>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>>>> Interrupt:16 Memory:fbee0000-fbf00000
>>>>
>>>> eth0:5 Link encap:Ethernet HWaddr 00:9C:02:99:FA:00
>>>> inet addr:192.168.1.52 Bcast:192.168.1.51 Mask:255.255.255.252
>>>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>>>> Interrupt:16 Memory:fbee0000-fbf00000
>>>>
>>>> eth0:6 Link encap:Ethernet HWaddr 00:9C:02:99:FA:00
>>>> inet addr:192.168.1.53 Bcast:192.168.1.51 Mask:255.255.255.252
>>>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>>>> Interrupt:16 Memory:fbee0000-fbf00000
>>>>
>>>> eth0:7 Link encap:Ethernet HWaddr 00:9C:02:99:FA:00
>>>> inet addr:192.168.1.54 Bcast:192.168.1.51 Mask:255.255.255.252
>>>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>>>> Interrupt:16 Memory:fbee0000-fbf00000
>>>>
>>>> eth0:8 Link encap:Ethernet HWaddr 00:9C:02:99:FA:00
>>>> inet addr:192.168.1.55 Bcast:192.168.1.51 Mask:255.255.255.252
>>>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>>>> Interrupt:16 Memory:fbee0000-fbf00000
>>> That is obviously not going to work ... a 255.255.255.252 mask is a 4 IP
>>> subnet, with only 2 usable addresses and a network number and a
>>> broadcast address. The only free addresses in
>>> 192.168.1.48/255.255.255.252 are .49 and .50
>>>
>>> The Broadcast and Mask settings are likely in your ifcfg-eth0 file and
>>> not in the range file at all.
>>>
>>> The Mask would either be set manually in ifcfg-eth0 ... or by the DHCP
>>> server if you get DHCP. The Broadcast address would automatically be set
>>> based on the Mask, unless it is overridden in ifcfg-eth0.
>>>
>>> If the address is set via DHCP, you need to change the subnet mask on
>>> the DHCP server as that is where it comes from.
>>>
>>> If you want 8 usable addresses (including the Network number, a gateway
>>> address, and a Broadcast address), that would mean you need at least 11
>>> IPs in that subnet ... the closest fit would be a 255.255.255.240 subnet
>>> (which has 16 addresses). If you were to want to use th 255.255.255.240
>>> subnet, then 192.168.1.48 would not be available as it would the the
>>> Network number for that subnet ... the usable addresses would be
>>> 192.168.1.49-63 that case and the Broadcast Address would be 192.168.1.64
>>>
>>> Since this is on a private network, why are you not just using the full
>>> 192.168.1.0 network with a 255.255.255.0 subnet?
>>>
>>> I guess the real question is, what are you trying to do

>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> CentOS mailing list
>>> CentOS@centos.org
>>> http://lists.centos.org/mailman/listinfo/centos
>>>
>> I have eth0 with public IP, netmask is 255.255.255.252.
>> Additionally I own 8 public IPs xxx.xxx.xxx.48-55 with class subnet mask
>> 255.255.255.248
>>
>> If I set up with ifconfig eth

0 to 7) xxx.xxx.xxx.(48-55) netmask
>> 255.255.255.255 it's work.
>>
>> But if I set up the ifcfg-eth0

0-7) files with the same IP and netmask
>> it's not work. ifconfig show me the 255.255.255.252 netmask even if in
>> file other netmask is specified.
>> The same situation in ifcfg-eth0-range1 case.
>
> What if you do this:
>
> ifcfg-eth0-range1:
> ONBOOT="yes"
> IPADDR_START="192.168.1.49"
> IPADDR_END="192.168.1.54"
> CLONENUM_START="1"
> BROADCAST=192.168.1.55
> NETMASK=255.255.255.248
> NETWORK=192.168.1.48
>
> (with a .248 subnet, you can not use the first address (192.168.1.48) or
> the last address (192.168.1.55) on a device, they are the Network
> Address and the Broadcast Address ... so an 8 IP subnet has 6 usable
> addresses. Also, one of those 6 addresses will also need to be assigned
> to the gateway router if you need to talk to another network, so you
> really only have 5 addresses that you can assign for use).
>
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
Nope....
Work only .49 and .50
I bought 8 public IP-s ... so 8 IPs have to get work.
In the hosting specification this IPs is usable with xxx.xxx.xxx.48-55
with subnet mask 255.255.255.255 with no gateway.
As I sad, works perfectly with this command (8 times, of course

):
#ifconfig eth

0 to 7) xxx.xxx.xxx.(48-55) netmask 255.255.255.255
Thanks
Levi
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Thu Aug 2 17:30:02 2012
Return-Path: <ubuntu-users-bounces@lists.ubuntu.com>
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
eagle542.startdedicated.com
X-Spam-Level:
X-Spam-Status: No, score=-4.9 required=5.0 tests=DKIM_ADSP_CUSTOM_MED,
DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNS WL_HI,T_DKIM_INVALID
autolearn=ham version=3.3.2
X-Original-To: tom@linux-archive.org
Delivered-To: tom-linux-archive.org@eagle542.startdedicated.com
Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204])
by eagle542.startdedicated.com (Postfix) with ESMTP id 3787320E01A3
for <tom@linux-archive.org>; Thu, 2 Aug 2012 17:08:53 +0200 (CEST)
Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com)
by chlorine.canonical.com with esmtp (Exim 4.71)
(envelope-from <ubuntu-users-bounces@lists.ubuntu.com>)
id 1Swx0S-0004bg-RW; Thu, 02 Aug 2012 15:08:08 +0000
Received: from mail-vb0-f49.google.com ([209.85.212.49])
by chlorine.canonical.com with esmtp (Exim 4.71)
(envelope-from <toshazed@gmail.com>) id 1Swx0Q-0004bZ-S6
for ubuntu-users@lists.ubuntu.com; Thu, 02 Aug 2012 15:08:07 +0000
Received: by vbbfo1 with SMTP id fo1so9489447vbb.8
for <ubuntu-users@lists.ubuntu.com>;
Thu, 02 Aug 2012 08:08:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type; bh=0eqbJdOvnvQUcbQFOUA8q7i9uujKKX/NNsaa08NAw3M=;
b=RE00NqSJmo8U6O2ZQ9yFWTNzePYvrp1MH0oMtrSXK+cNcY6P QGRjUJr36Eg8jrRblc
ZpBCyEKvJc3kxnjcOQYJwO6g4Uou6AXjmBGejfCJ3QmVuwekot PKUgQiyvw7LAIwBFyW
uB2KvF6X9lgP/xmlbJzuNjL2oE/KHmftXQp/TuCfwPU1d85LbCGfb5MuEXmopX1qx9kd
sqIsRjPD8TN4jbuVhiSPJr4VlOYSU+gjVQsWm5hMbXnzMtFdss VExx4I3i8fHmwb6lhW
rh2haFu5PIindsvjIXyreWbDzIw7UrGVdMAImnP1IB2L7eUQnS p6+1S4w2zvB888yqUN
Y5Yw==
MIME-Version: 1.0
Received: by 10.52.72.79 with SMTP id b15mr17793108vdv.13.1343920086153; Thu,
02 Aug 2012 08:08:06 -0700 (PDT)
Received: by 10.58.247.129 with HTTP; Thu, 2 Aug 2012 08:08:06 -0700 (PDT)
In-Reply-To: <CAGhgHb+LzYsu7AEXUmn4cSMay8dK6pocM9xHGtH6Ed00b6sY rA@mail.gmail.com>
References: <CAGhgHb+LzYsu7AEXUmn4cSMay8dK6pocM9xHGtH6Ed00b6sY rA@mail.gmail.com>
Date: Thu, 2 Aug 2012 21:08:06 +0600
Message-ID: <CAK6e52o8arp_BsYRU+Aot88V2Q4zS5RYmBpbM_EZu5t2T9ja qQ@mail.gmail.com>
Subject: Re: problem printing on Canon mp250
From: =?UTF-8?B?4Ka44Ka+4Kac4KeH4Kam4KeB4KawIOCmsOCmueCmv+Cmri Dgppzgp4vgp5/gpr7gprDgpqY=?=
=?UTF-8?B?4Ka+4Kaw?= <toshazed@gmail.com>
To: "Ubuntu user technical support,
not for general discussions" <ubuntu-users@lists.ubuntu.com>
X-BeenThere: ubuntu-users@lists.ubuntu.com
X-Mailman-Version: 2.1.13
Precedence: list
Reply-To: "Ubuntu user technical support,
not for general discussions" <ubuntu-users@lists.ubuntu.com>
List-Id: "Ubuntu user technical support,
not for general discussions" <ubuntu-users.lists.ubuntu.com>
List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/ubuntu-users>,
<mailto:ubuntu-users-request@lists.ubuntu.com?subject=unsubscribe>
List-Archive: <https://lists.ubuntu.com/archives/ubuntu-users>
List-Post: <mailto:ubuntu-users@lists.ubuntu.com>
List-Help: <mailto:ubuntu-users-request@lists.ubuntu.com?subject=help>
List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/ubuntu-users>,
<mailto:ubuntu-users-request@lists.ubuntu.com?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5674697108526605161=="
Sender: ubuntu-users-bounces@lists.ubuntu.com
Errors-To: ubuntu-users-bounces@lists.ubuntu.com
--===============5674697108526605161==
Content-Type: multipart/alternative; boundary=20cf307f362e57782904c649c7e4
--20cf307f362e57782904c649c7e4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: base64
RGVhciBnYXJ5awoKSSBkb24ndCBrbm93IHdoYXQgYXJjaGl0ZW N0dXJlIGFyZSB5b3UgdXNpbmcg
b2YgVWJ1bnR1IDEyLjA0ICgzMmJpdCBvcgo2NGJpdCkuIFRob3 VnaCwgcGxlYXNlIHRyeSB0aGUg
Zm9sbG93aW5nIGFmdGVyIHJlbW92aW5nIHlvdXIgY3VycmVudC Bkcml2ZXIKaW5zdGFsbGF0aW9u
IGFuZCB0aGUgcHJpbnRlci4KCnN1ZG8gYWRkLWFwdC1yZXBvc2 l0b3J5IHBwYTptaWNoYWVsLWdy
dXovY2Fub24tdHJ1bmsKc3VkbyBhcHQtZ2V0IHVwZGF0ZQpzdW RvIGFwdC1nZXQgaW5zdGFsbCBj
bmlqZmlsdGVyLWNvbW1vbgoKClBseiBsZXQgdXMga25vdyBpZi B0aGlzIHNvbHZlcyB5b3VyIHBy
b2JsZW0uCgpXaXRoIHJlZ2FyZHMKLS0gCuCmsOCmv+Cmgi9yaW 5nCis4ODAxNjcxNDExNDM3Cgrg
pq7gprngpr7gprjgpprgpr/gpqwvR2VuZXJhbCBTZWNyZXRhcnkK4Kar4Ka+4KaJ4Kao4KeN4 Kah
4KeH4Ka24KaoIOCmq+CmsCDgppPgpqrgp4fgpqgg4Ka44KeL4K aw4KeN4Ka4IOCmuOCmsuCmv+Cm
ieCmtuCmqOCmuCDgpqzgpr7gpoLgprLgpr7gpqbgp4fgprYvRm 91bmRhdGlvbiBmb3IgT3BlbiBT
b3VyY2UKU29sdXRpb25zIEJhbmdsYWRlc2guCg==
--20cf307f362e57782904c649c7e4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Dear garyk<div><br></div><div>I don't know what architecture are you us=
ing of Ubuntu 12.04 (32bit or 64bit). Though, please try the following afte=
r removing your current driver installation and the printer.</div><div><br>
</div><div><pre style=3D"margin-top:0px;margin-bottom:10px;padding-top:5px;=
padding-right:5px;padding-bottom:5px;padding-left:5px;border-top-width:0px;=
border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border=
-style:initial;border-color:initial;font-size:14px;vertical-align:baseline;=
background-color:rgb(224,224,224);overflow-x:auto;overflow-y:auto;width:aut=
o;max-height:600px;font-family:'Ubuntu Mono','Ubuntu Beta Mono =
A',Consolas,'Bitstream Vera Sans Mono','Courier New',Co=
urier,monospace;color:rgb(51,51,51);line-height:17px;text-align:left">
<code style=3D"margin-top:0px;margin-right:0px;margin-bottom:0px;margin-lef=
t:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px=
;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border=
-left-width:0px;border-style:initial;border-color:initial;vertical-align:ba=
seline;font-family:'Ubuntu Mono','Ubuntu Beta Mono A',Conso=
las,'Bitstream Vera Sans Mono','Courier New',Courier,monosp=
ace;color:rgb(34,34,34)">sudo add-apt-repository ppa:michael-gruz/canon-tru=
nk
sudo apt-get update
sudo apt-get install cnijfilter-common</code></pre></div><div><br></div><di=
v>Plz let us know if this=C2=A0solves your problem.=C2=A0</div><div><br></d=
iv><div>With regards</div><div>-- <br>=E0=A6=B0=E0=A6=BF=E0=A6=82/ring<br>+=
8801671411437<br><br>=E0=A6=AE=E0=A6=B9=E0=A6=BE=E 0=A6=B8=E0=A6=9A=E0=A6=BF=
=E0=A6=AC/General Secretary<br>
=E0=A6=AB=E0=A6=BE=E0=A6=89=E0=A6=A8=E0=A7=8D=E0=A 6=A1=E0=A7=87=E0=A6=B6=E0=
=A6=A8 =E0=A6=AB=E0=A6=B0 =E0=A6=93=E0=A6=AA=E0=A7=87=E0=A6=A8 =E0=A6=B8=E0=
=A7=8B=E0=A6=B0=E0=A7=8D=E0=A6=B8 =E0=A6=B8=E0=A6=B2=E0=A6=BF=E0=A6=89=E0=
=A6=B6=E0=A6=A8=E0=A6=B8 =E0=A6=AC=E0=A6=BE=E0=A6=82=E0=A6=B2=E0=A6=BE=E0=
=A6=A6=E0=A7=87=E0=A6=B6/Foundation for Open Source Solutions Bangladesh.<b=
r>
</div>
--20cf307f362e57782904c649c7e4--
--===============5674697108526605161==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--===============5674697108526605161==--