For every IP you want to listen on add a --listen-address flag to the command line or if you have a config, add it there.
You can have multiple of those. Regards Jorge On 2017-05-30 16:00, the outsider wrote: > And how do i do that ? > > Problem is that helpfiles and most forums show different ways to "bind" and I > am lost > > VAN: Jorge Schrauwen [mailto:[email protected]] > VERZONDEN: dinsdag 30 mei 2017 15:37 > AAN: [email protected] > CC: the outsider <[email protected]> > ONDERWERP: Re: [smartos-discuss] DNS server in zone > > Have you tried listening on the IP instead of using the default > bind-interface thing? > > I had issues with dnsmasq that. > > Regards > > Jorge > > On 2017-05-30 14:31, the outsider wrote: > >> I try to get DNSMASQ running inside a plain SmartOS zone with 3 nics. >> >> Each nic is connected to a switchport and each switchport has its own VLAN >> defined. >> >> There is no VLAN config on SmartOS , nor on the zone itself. >> >> These nics are defined as follows: >> >> [ >> >> { >> >> "interface": "net0", >> >> "mac": "92:dd:b6:c5:20:60", >> >> "nic_tag": "admin", >> >> "gateway": "192.168.120.1", >> >> "gateways": [ >> >> "192.168.120.1" >> >> ], >> >> "netmask": "255.255.255.0", >> >> "ip": "192.168.120.2", >> >> "ips": [ >> >> "192.168.120.2/24" >> >> ], >> >> "dhcp_server": "1", >> >> "allow_dhcp_spoofing": true, >> >> "allow_ip_spoofing": true, >> >> "primary": true >> >> }, >> >> { >> >> "interface": "net1", >> >> "mac": "92:dd:b6:c5:20:61", >> >> "nic_tag": "nicp4r", >> >> "netmask": "255.255.255.0", >> >> "ip": "192.168.140.2", >> >> "ips": [ >> >> "192.168.140.2/24" >> >> ], >> >> "dhcp_server": "1", >> >> "allow_dhcp_spoofing": true, >> >> "allow_ip_spoofing": true >> >> }, >> >> { >> >> "interface": "net2", >> >> "mac": "92:dd:b6:c5:20:62", >> >> "nic_tag": "demo", >> >> "netmask": "255.255.255.0", >> >> "ip": "192.168.141.2", >> >> "ips": [ >> >> "192.168.141.2/24" >> >> ], >> >> "dhcp_server": "1", >> >> "allow_dhcp_spoofing": true, >> >> "allow_ip_spoofing": true >> >> } >> >> ] >> >> It all works from time to time, but it lags and stalls a lot. >> >> So I have 3 subnets: >> >> Net0 -> 192.168.120.x >> >> Net1 -> 192.168.140.x >> >> Net2 -> 192.168.141.x >> >> Sometimes it all works great but after a few hours people start complaining >> about not getting an IP-address. >> >> Has anyone experience with this setup ? > > SMARTOS-DISCUSS | Archives [1] [2] | Modify [3] Your Subscription > [4] Links: ------ [1] https://www.listbox.com/member/archive/184463/=now [2] https://www.listbox.com/member/archive/rss/184463/26452851-88b650c7 [3] https://www.listbox.com/member/?& [4] http://www.listbox.com ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
