<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">Hi all,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p> </o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">Trying to do something with dnsmasq that I believe is
possible, but I cannot get it to work... First, please take a look at my
topology<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">diagram:<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p> </o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font color="#0000ff"><a href="http://s1096.photobucket.com/user/willdennis/media/testbed_topology_diagram.png.html">http://s1096.photobucket.com/user/willdennis/media/testbed_topology_diag</font>ram.png.html</a><o:p></o:p><font face="Times New Roman">

</font></p><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p> </o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">My problem is with the "WANem VM" host. It is
connected to the two LANs, and I want the "10-net" interface to get a
specific IP assigned, as well as a default gateway (this is working.) </p><p style="margin: 0in 0in 0pt;" class="MsoPlainText">The
problem is, I want the other NIC to get an IP assigned (which is working), but,
NO default gateway set for that NIC. So the state I want to end up with is:<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">Eth0 ("10-net") -> specific IP address
assigned, has default gateway set (same as all other hosts on that network that
use DHCP)<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">Eth1 ("20-net") -> pool IP address assigned,
NO default gateway set (unlike the other hosts on this network that use DHCP,
which all need a default gateway assigned)<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p> </o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">Right now, the eth1 on the WANem host IS getting a
default gateway assigned, which leads to this host having two default paths
out:<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p> </o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">Destination<span style="mso-tab-count: 1;">         </span>Gateway<span style="mso-tab-count: 2;">                  </span>Genmask<span style="mso-tab-count: 1;">             </span>Flags<span style="mso-tab-count: 1;">      </span>Metric<span style="mso-tab-count: 1;">   </span>Ref<span style="mso-tab-count: 1;">     </span>Use      Iface<o:p></o:p></p><font face="Times New Roman">

</font><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><netroutes redacted><o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">0.0.0.0<span style="mso-tab-count: 2;">                   </span>192.168.10.254<span style="mso-tab-count: 2;">     </span>0.0.0.0<span style="mso-tab-count: 2;">                   </span>UG<span style="mso-tab-count: 1;">         </span>0           0<span style="mso-tab-count: 1;">         </span>0<span style="mso-tab-count: 1;">           </span>eth0<o:p></o:p><font face="Times New Roman">

</font></p><p style="margin: 0in 0in 0pt;" class="MsoPlainText">0.0.0.0<span style="mso-tab-count: 2;">                   </span>192.168.20.254<span style="mso-tab-count: 2;">     </span>0.0.0.0<span style="mso-tab-count: 2;">                   </span>UG<span style="mso-tab-count: 1;">         </span>0           0<span style="mso-tab-count: 1;">         </span>0<span style="mso-tab-count: 1;">           </span>eth1<o:p></o:p><font face="Times New Roman">

</font></p><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p> </o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">This is causing a reachability problem with this host.<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p> </o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">Here are the active stanzas in dnsmasq.conf currently:<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p> </o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">interface=vl10-ovsbr0<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">interface=vl20-ovsbr0<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">bind-interfaces<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">dhcp-range=vl10-ovsbr0,192.168.10.50,192.168.10.150,4h<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">dhcp-range=vl20-ovsbr0,192.168.20.50,192.168.20.150,4h<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">dhcp-host=52:54:00:d5:ee:4d,id:*,192.168.10.1<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">dhcp-mac=set:wanem-20,52:54:00:45:8c:6a<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">dhcp-option=vl10-ovsbr0,3,192.168.10.254<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">dhcp-option=vl20-ovsbr0,3,192.168.20.254<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">dhcp-option=net:wanem-20,3<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p> </o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">I'm sure it's a simple config change, but I cannot seem
to figure it out... If someone could help me out here, I'd sure appreciate
it...<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p> </o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">Thanks,<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText">Will<o:p></o:p></p><font face="Times New Roman">

</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p> </o:p></p><font face="Times New Roman">

</font>                                     </div></body>
</html>