🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.networking
Article #696

broadcast of ifconfig on Linux

#696
From: Bin Zhou
Date: Mon, 16 Oct 2000 05:33
16 lines
1790 bytes
hello there,

Im using Debian GUN/Linux 2.2--with 2.2.16 kernel. It seems to me that, the
/sbin/ifconfig command(version 1.39) performs strange. If I set all IP,MASK
and
broadcast values, everything go OK, but if I only set IP and MASK, not set
the
broadcast, the default broadcast is determinded by the class of the IP,
not the correct value(IP | ^MASK). ex. the broadcast of
172.31.0.1/255.255.255.0
is set to 172.31.255.255, not the 172.31.0.255. Is this the specification or
a bug?

thank you

zhoubin@no.spam.circle.to.no.spam
Technical Details
Message-ID: <8se3vo$3u5$1@nn-tk104.ocn.ad.jp>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-01!sn-xit-05!supernews.com!newsfeed.mesh.ad.jp!nntp-egw.ocn.ad.jp!nn1.news.ocn.ad.jp!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5392,e95968be50bc3c2f,start
X-Google-Attributes: gidf5392,public
X-Google-Thread: 101801,e95968be50bc3c2f,start
X-Google-Attributes: gid101801,public
X-Google-Thread: 10669a,e95968be50bc3c2f,start
X-Google-Attributes: gid10669a,public
X-Google-ArrivalTime: 2000-10-15 22:35:22 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-01!sn-xit-05!supernews.com!newsfeed.mesh.ad.jp!nntp-egw.ocn.ad.jp!nn1.news.ocn.ad.jp!not-for-mail
From: "Bin Zhou" <zhoubin@no.circle.to.spam>
Newsgroups: comp.os.linux.networking,comp.os.linux.development.system,fj.os.linux.networking
Subject: broadcast of ifconfig on Linux
Date: Mon, 16 Oct 2000 14:33:45 +0900
Organization: NTT Communications Co.(OCN)
Lines: 17
Message-ID: <8se3vo$3u5$1@nn-tk104.ocn.ad.jp>
NNTP-Posting-Host: ns2.gideon.co.jp
Mime-Version: 1.0
Content-Type: text/plain;
 charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
X-Trace: nn-tk104.ocn.ad.jp 971674424 4037 210.154.23.227 (16 Oct 2000 05:33:44 GMT)
X-Complaints-To: usenet@nn01.news.ocn.ad.jp
NNTP-Posting-Date: 16 Oct 2000 05:33:44 GMT
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400