<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Getting default gateway address after DHCP in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Getting-default-gateway-address-after-DHCP/m-p/317384#M10116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Generally the DHCP server will give you a DNS server address (in addition to your own address, the netmask and the default gateway address), so you don't have to do anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The list of things that the DCHP server gives you is flexible and is generally configurable on the server, but DNS server address is almost always included in the list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jul 2014 22:42:43 GMT</pubDate>
    <dc:creator>matthewkendall</dc:creator>
    <dc:date>2014-07-08T22:42:43Z</dc:date>
    <item>
      <title>Getting default gateway address after DHCP</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Getting-default-gateway-address-after-DHCP/m-p/317382#M10114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running MQX 4.1 on a custom board based on TWR-K60F120M.&lt;/P&gt;&lt;P&gt;I want to get the default gateway IP of my system after setting up the network using DHCP. I will use this address&lt;/P&gt;&lt;P&gt;as the DNS server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is that ok or is it a better way to do so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Óscar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 10:57:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Getting-default-gateway-address-after-DHCP/m-p/317382#M10114</guid>
      <dc:creator>oscargarciaabad</dc:creator>
      <dc:date>2014-07-08T10:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Getting default gateway address after DHCP</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Getting-default-gateway-address-after-DHCP/m-p/317383#M10115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oscar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look to this thread: &lt;A href="https://community.nxp.com/message/389160"&gt;Re: How to read active ethernet configuration in MQX 3.8?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Garabo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 14:29:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Getting-default-gateway-address-after-DHCP/m-p/317383#M10115</guid>
      <dc:creator>Luis_Garabo</dc:creator>
      <dc:date>2014-07-08T14:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting default gateway address after DHCP</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Getting-default-gateway-address-after-DHCP/m-p/317384#M10116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Generally the DHCP server will give you a DNS server address (in addition to your own address, the netmask and the default gateway address), so you don't have to do anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The list of things that the DCHP server gives you is flexible and is generally configurable on the server, but DNS server address is almost always included in the list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 22:42:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Getting-default-gateway-address-after-DHCP/m-p/317384#M10116</guid>
      <dc:creator>matthewkendall</dc:creator>
      <dc:date>2014-07-08T22:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Getting default gateway address after DHCP</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Getting-default-gateway-address-after-DHCP/m-p/317385#M10117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Garabo, many thanks for this link is really interesting.&lt;/P&gt;&lt;P&gt;Matthew, you are right I tried and DNS service is working fine after DNS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem now is that when I use static IP configuration DNS is not working. &lt;/P&gt;&lt;P&gt;How can I change the DNS server address at runtime?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Óscar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 15:19:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Getting-default-gateway-address-after-DHCP/m-p/317385#M10117</guid>
      <dc:creator>oscargarciaabad</dc:creator>
      <dc:date>2014-07-10T15:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Getting default gateway address after DHCP</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Getting-default-gateway-address-after-DHCP/m-p/317386#M10118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is answered on the link Garabo posted, the solution is ipcfg_add_dns_ip().&lt;/P&gt;&lt;P&gt;I'm going to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Óscar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 15:39:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Getting-default-gateway-address-after-DHCP/m-p/317386#M10118</guid>
      <dc:creator>oscargarciaabad</dc:creator>
      <dc:date>2014-07-10T15:39:38Z</dc:date>
    </item>
  </channel>
</rss>

