Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Simple dnamasq question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2198

PostPosted: Wed May 17, 2006 11:52 am    Post subject: Simple dnamasq question Reply with quote

Is there anyway to specify more than one interface device?
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
no-use
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2004
Posts: 76
Location: Belgium

PostPosted: Wed May 17, 2006 12:08 pm    Post subject: Reply with quote

assuming you mean dnsmasq

you can use
Code:
DNSMASQ_OPTS="-i eth1:0"


but there are more options than -i

use --except-interface if you for example have 3 interfaces and want to use 2 of them
Code:
DNSMASQ_OPTS="--except-interface eth1"


check the dnsmasq manual for more info
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2198

PostPosted: Wed May 17, 2006 12:10 pm    Post subject: Reply with quote

no-use wrote:
assuming you mean dnsmasq

you can use
Code:
DNSMASQ_OPTS="-i eth1:0"


but there are more options than -i

use --except-interface if you for example have 3 interfaces and want to use 2 of them
Code:
DNSMASQ_OPTS="--except-interface eth1"


check the dnsmasq manual for more info


Yeah, I read the man page, just wasn't sure on syntax.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed May 17, 2006 12:25 pm    Post subject: Reply with quote

no-use wrote:
assuming you mean dnsmasq

you can use
Code:
DNSMASQ_OPTS="-i eth1:0"


Hmmmm, no.

eth1:0 is interface eth1
So is eth1:1 and eth1:2 for that matter.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Thu May 18, 2006 4:43 am    Post subject: Reply with quote

if you read the config file it is HEAVILY commented, and explains it.


/etc/dnsmasq.conf
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum