<?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 hi, in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/dhcp-service-does-not-work-on-subinterface/m-p/2890954#M152772</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;i agree, either you insert a L2 switch or do as below:&lt;/P&gt;
&lt;P&gt;no Interface GigabitEthernet0/1.40&lt;BR /&gt;no Interface GigabitEthernet0/2.50&lt;BR /&gt;&lt;BR /&gt;Interface GigabitEthernet0/1&lt;BR /&gt;no shutdown&lt;BR /&gt;nameif inside1&lt;BR /&gt;ip address 172.16.10.1 255.255.255.0&lt;BR /&gt;security-level 70&lt;BR /&gt;&lt;BR /&gt;Interface GigabitEthernet0/2&lt;BR /&gt;no shutdown&lt;BR /&gt;nameif inside2&lt;BR /&gt;ip address 172.16.30.1 255.255.255.0&lt;BR /&gt;security-level 80&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2016 03:01:48 GMT</pubDate>
    <dc:creator>johnlloyd_13</dc:creator>
    <dc:date>2016-06-23T03:01:48Z</dc:date>
    <item>
      <title>DHCP service does not work on subinterface</title>
      <link>https://community.cisco.com/t5/network-security/dhcp-service-does-not-work-on-subinterface/m-p/2890952#M152770</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please your help in this weird matter. I created sub interfaces on two different physical interface then I enabled DHCP on each sub interface as shown below &lt;STRONG&gt;but non of the clients pick IP from its designated sub interface!! &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Note: In my lab, those clients are connected directly to the physical interface (WS1 to&amp;nbsp;Gig0/1 and WS2 to Gig0/2)&lt;/P&gt;
&lt;P&gt;any help is appreciated&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;Interface GigabitEthernet0/1&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;no ip address&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;no nameif&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;no description&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;no security-level&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;no shutdown&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;!&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;Interface GigabitEthernet0/1.40&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;vlan 40&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;no shutdown&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;nameif inside1&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;ip address 172.16.10.1 255.255.255.0&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;security-level 70&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;Interface GigabitEthernet0/2&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;no ip address&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;no nameif&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;no description&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;no security-level&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;no shutdown&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;!&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;Interface GigabitEthernet0/2.50&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;vlan 50&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;no shutdown&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;nameif inside2&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;ip address 172.16.30.1 255.255.255.0&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;security-level 80&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dhcpd address 172.16.10.30-172.16.10.250 inside1&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dhcpd enable inside1&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dhcpd dns 10.80.80.18 10.80.80.11 interface inside1&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dhcpd address 172.16.30.30-172.16.30.250 inside2&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dhcpd enable inside2&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dhcpd dns 10.80.80.18 10.80.80.11 interface inside2&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 07:56:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/dhcp-service-does-not-work-on-subinterface/m-p/2890952#M152770</guid>
      <dc:creator>Serpent2010</dc:creator>
      <dc:date>2019-03-12T07:56:05Z</dc:date>
    </item>
    <item>
      <title>Hi</title>
      <link>https://community.cisco.com/t5/network-security/dhcp-service-does-not-work-on-subinterface/m-p/2890953#M152771</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;The configuration done on router with sub interfaces needs that traffic is tagged. I mean, for example, on sub g0/1.40, all traffic tagged with vlan 40 will passthrough this interface and then get an IP from dhcp.&lt;/P&gt;
&lt;P&gt;In your test lab, your PC is directly connected to the router interface and all traffic going out of your PC is untagged then it will never passthrough this sub interface and never get an IP. To test it, you need to add a switch, put your pc in vlan 40 and connect this switch with the router in trunk mode. The other solution would be (some PC supports that) to configure your OS to tag traffic with vlan 40.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hope this is clear.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;PS: Please don't forget to rate and mark as correct answer if this solved your issue.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 23:46:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/dhcp-service-does-not-work-on-subinterface/m-p/2890953#M152771</guid>
      <dc:creator>Francesco Molino</dc:creator>
      <dc:date>2016-06-22T23:46:28Z</dc:date>
    </item>
    <item>
      <title>hi,</title>
      <link>https://community.cisco.com/t5/network-security/dhcp-service-does-not-work-on-subinterface/m-p/2890954#M152772</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;i agree, either you insert a L2 switch or do as below:&lt;/P&gt;
&lt;P&gt;no Interface GigabitEthernet0/1.40&lt;BR /&gt;no Interface GigabitEthernet0/2.50&lt;BR /&gt;&lt;BR /&gt;Interface GigabitEthernet0/1&lt;BR /&gt;no shutdown&lt;BR /&gt;nameif inside1&lt;BR /&gt;ip address 172.16.10.1 255.255.255.0&lt;BR /&gt;security-level 70&lt;BR /&gt;&lt;BR /&gt;Interface GigabitEthernet0/2&lt;BR /&gt;no shutdown&lt;BR /&gt;nameif inside2&lt;BR /&gt;ip address 172.16.30.1 255.255.255.0&lt;BR /&gt;security-level 80&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 03:01:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/dhcp-service-does-not-work-on-subinterface/m-p/2890954#M152772</guid>
      <dc:creator>johnlloyd_13</dc:creator>
      <dc:date>2016-06-23T03:01:48Z</dc:date>
    </item>
    <item>
      <title>Awesome! it does support Vlan</title>
      <link>https://community.cisco.com/t5/network-security/dhcp-service-does-not-work-on-subinterface/m-p/2890955#M152773</link>
      <description>&lt;P&gt;Awesome! it does support Vlan tag on my NIC.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 14:24:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/dhcp-service-does-not-work-on-subinterface/m-p/2890955#M152773</guid>
      <dc:creator>Serpent2010</dc:creator>
      <dc:date>2016-06-23T14:24:56Z</dc:date>
    </item>
    <item>
      <title>Cool! Nice to hear that</title>
      <link>https://community.cisco.com/t5/network-security/dhcp-service-does-not-work-on-subinterface/m-p/2890956#M152774</link>
      <description>&lt;P&gt;Cool! Nice to hear that everything is working&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 17:08:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/dhcp-service-does-not-work-on-subinterface/m-p/2890956#M152774</guid>
      <dc:creator>Francesco Molino</dc:creator>
      <dc:date>2016-06-23T17:08:35Z</dc:date>
    </item>
  </channel>
</rss>

