๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.sieci
Article #231773

Re: dnsmasq - konfiguracja

#231773
From: retikulum
Date: Thu, 13 Dec 2007 11:22
30 lines
1647 bytes
> Witam. W jaki sposob w dnsmasq dodac drugi interfejs? a dla tego interfejsu 
> nowy zakres ip oraz brame?
> 
> expand-hosts
> domain=osiedle.lan
> interface=eth1
> dhcp-option=6,192.168.0.1,192.168.0.200
> dhcp-option=3,192.168.0.1
> dhcp-range=192.168.0.10,192.168.0.50,6h
> 
> wystarczy jak teraz dopisze 
> interface=eth2
> dhcp-option=6, ip, ip
> dhcp-range=ip,ip,6h
> dhcp-option=3, ip 
> czy dnsmasq "polapie sie" ze dla danego interfejsu to jest brama? czy moze w 
> jakis sposob okresla sie, czytalem cos o network-id - ale nei wiem jak je 
> ustawic dla dlanego interfejsu
> 
> pewnie jest to trywialne pytanie, ale z gory dziekuje za pomoc.
> 
poprawiona wersja
 wystarczy jak teraz dopisze 
 interface=eth2
 dhcp-range=ip,ip,6h
 dhcp-option=3, ip 


-- 
Wysล‚ano z serwisu OnetNiusy: http://niusy.onet.pl
Technical Details
Message-ID: <4047.0000007d.476115e2@newsgate.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsgate.onet.pl!niusy.onet.pl
References: <4047.00000073.47610d1f@newsgate.onet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsgate.onet.pl!niusy.onet.pl
From: retikulum@vp.pl
Newsgroups: pl.comp.os.linux.sieci
Subject: Re: dnsmasq - konfiguracja
Date: 13 Dec 2007 12:22:11 +0100
Organization: Onet.pl SA
Lines: 30
Message-ID: <4047.0000007d.476115e2@newsgate.onet.pl>
References: <4047.00000073.47610d1f@newsgate.onet.pl>
NNTP-Posting-Host: newsgate.onet.pl
Mime-Version: 1.0
X-Trace: newsgate.test.onet.pl 1197544931 19921 213.180.130.18 (13 Dec 2007 11:22:11 GMT)
X-Complaints-To: abuse@onet.pl
NNTP-Posting-Date: 13 Dec 2007 11:22:11 GMT
X-Mailer: http://niusy.onet.pl
X-Forwarded-For: 83.3.94.42, 192.168.243.36
X-User-Agent: Opera/9.21 (X11; Linux i686; U; en)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit