Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Query on default gateway with DHCP vs Static address (SIMON BABY)
   2. Re: Query on default gateway with DHCP vs Static address
      (Peter Yardley)
   3. Re: Query on default gateway with DHCP vs Static address
      (SIMON BABY)
   4. Re: Query on default gateway with DHCP vs Static address
      (glenn.satch...@uniq.com.au)


----------------------------------------------------------------------

Message: 1
Date: Thu, 18 Mar 2021 16:03:04 -0700
From: SIMON BABY <simonkb...@gmail.com>
To: dhcp-users@lists.isc.org
Subject: Query on default gateway with DHCP vs Static address
Message-ID:
        <caefuph3xmpuc9wzyvqv_hrhs+oate8fkv11g0k0dbsp28ua...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,
I have a query about the DHCP provided IP address vs Static IP address
configured manually.  When i get the IP address from DHCP, I can ping to
8.8.8.8 (google public server) where as
with a statically configured IP address, I could not.  When I looked into
the route table (route -n ), I did not see any default gateway with DHCP or
Statically configured IP.  (I am testing with Linux).

1. Can I know when the packet goes out , how did the hardware (NIC) find
the default gateway in the case of the DHCP provided IP address since I did
not see any default gw IP in the routing table?
2. With statically configured IP, if I explicitly configure a default GW, I
can see packets are going out and receiving. I can see the default GW in
the routing table. Do I need a default GW to send packets from a statically
configured IP address ?

Thank you for your time

Regards
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20210318/ea70d01f/attachment-0001.htm>

------------------------------

Message: 2
Date: Fri, 19 Mar 2021 11:07:30 +1100
From: Peter Yardley <peter.martin.yard...@gmail.com>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: Query on default gateway with DHCP vs Static address
Message-ID: <7a592f25-302c-41e4-a9b3-51b1e3b69...@gmail.com>
Content-Type: text/plain;       charset=utf-8

Hi,

This is prolly a problem with your configuration. Are you using ISC DHCPd? If 
so could provide a relevant snippet of your configuration, anonymised if 
necessary.

I used to configure subnets like this ?

subnet 10.20.50.0 netmask 255.255.254.0 {
    option subnet-mask 255.255.254.0;
    option broadcast-address 10.20.51.255;
    option routers 10.20.50.1;

    pool {
        # A device for Blah
        host HMTXYZ           { hardware ethernet 00:40:9d:54:4c:c7;
                                        fixed-address 10.20.50.32; }
        ?

        range 10.20.51.0 138.25.51.254;
    }

Of course there are many other correct possiblities


> On 19 Mar 2021, at 10:03 am, SIMON BABY <simonkb...@gmail.com> wrote:
> 
> Hi,
> I have a query about the DHCP provided IP address vs Static IP address 
> configured manually.  When i get the IP address from DHCP, I can ping to 
> 8.8.8.8 (google public server) where as
> with a statically configured IP address, I could not.  When I looked into the 
> route table (route -n ), I did not see any default gateway with DHCP or 
> Statically configured IP.  (I am testing with Linux).
> 
> 1. Can I know when the packet goes out , how did the hardware (NIC) find the 
> default gateway in the case of the DHCP provided IP address since I did not 
> see any default gw IP in the routing table?
> 2. With statically configured IP, if I explicitly configure a default GW, I 
> can see packets are going out and receiving. I can see the default GW in the 
> routing table. Do I need a default GW to send packets from a statically 
> configured IP address ?
> 
> Thank you for your time
> 
> Regards
> Simon
>  
> _______________________________________________
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ for more information.
> 
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users

Peter Yardley
peter.martin.yard...@gmail.com



------------------------------

Message: 3
Date: Thu, 18 Mar 2021 19:54:37 -0700
From: SIMON BABY <simonkb...@gmail.com>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: Query on default gateway with DHCP vs Static address
Message-ID:
        <caefuph2vjelga8s_rfnovg7dhpjztoon1k6vgp02cgamzs6...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Peter,
Thank you so much for helping.

Yes, I am using ISC dhcpd. My query is with ISC DHCPd I can ping to any
network, but I did not see the ISC gateway in the kernel route table. Will
it be stored somewhere else so that when packet goes out, the hardware
(NIC) gets this information?

Regards
Simon

On Thu, Mar 18, 2021 at 5:07 PM Peter Yardley <
peter.martin.yard...@gmail.com> wrote:

> Hi,
>
> This is prolly a problem with your configuration. Are you using ISC DHCPd?
> If so could provide a relevant snippet of your configuration, anonymised if
> necessary.
>
> I used to configure subnets like this ?
>
> subnet 10.20.50.0 netmask 255.255.254.0 {
>     option subnet-mask 255.255.254.0;
>     option broadcast-address 10.20.51.255;
>     option routers 10.20.50.1;
>
>     pool {
>         # A device for Blah
>         host HMTXYZ           { hardware ethernet 00:40:9d:54:4c:c7;
>                                         fixed-address 10.20.50.32; }
>         ?
>
>         range 10.20.51.0 138.25.51.254;
>     }
>
> Of course there are many other correct possiblities
>
>
> > On 19 Mar 2021, at 10:03 am, SIMON BABY <simonkb...@gmail.com> wrote:
> >
> > Hi,
> > I have a query about the DHCP provided IP address vs Static IP address
> configured manually.  When i get the IP address from DHCP, I can ping to
> 8.8.8.8 (google public server) where as
> > with a statically configured IP address, I could not.  When I looked
> into the route table (route -n ), I did not see any default gateway with
> DHCP or Statically configured IP.  (I am testing with Linux).
> >
> > 1. Can I know when the packet goes out , how did the hardware (NIC) find
> the default gateway in the case of the DHCP provided IP address since I did
> not see any default gw IP in the routing table?
> > 2. With statically configured IP, if I explicitly configure a default
> GW, I can see packets are going out and receiving. I can see the default GW
> in the routing table. Do I need a default GW to send packets from a
> statically configured IP address ?
> >
> > Thank you for your time
> >
> > Regards
> > Simon
> >
> > _______________________________________________
> > ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
> >
> > dhcp-users mailing list
> > dhcp-users@lists.isc.org
> > https://lists.isc.org/mailman/listinfo/dhcp-users
>
> Peter Yardley
> peter.martin.yard...@gmail.com
>
> _______________________________________________
> ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
>
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20210318/d2b4f9b0/attachment-0001.htm>

------------------------------

Message: 4
Date: Fri, 19 Mar 2021 14:15:16 +1100
From: glenn.satch...@uniq.com.au
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: Query on default gateway with DHCP vs Static address
Message-ID: <f0f470f12b42bd7067135ecffb23b...@uniq.com.au>
Content-Type: text/plain; charset=UTF-8; format=flowed

Hi Simon,

The default route will show up with a destination of 0.0.0.0/0 if you 
use route -n.

If you use "ip route" it will show up with a destination of "default" in 
the first column.

regards,
Glenn

On 2021-03-19 13:54, SIMON BABY wrote:
> Hi Peter,
> Thank you so much for helping.
> 
> Yes, I am using ISC dhcpd. My query is with ISC DHCPd I can ping to
> any network, but I did not see the ISC gateway in the kernel route
> table. Will it be stored somewhere else so that when packet goes out,
> the hardware (NIC) gets this information?
> 
> Regards
> Simon
> 
> On Thu, Mar 18, 2021 at 5:07 PM Peter Yardley
> <peter.martin.yard...@gmail.com> wrote:
> 
>> Hi,
>> 
>> This is prolly a problem with your configuration. Are you using ISC
>> DHCPd? If so could provide a relevant snippet of your configuration,
>> anonymised if necessary.
>> 
>> I used to configure subnets like this ?
>> 
>> subnet 10.20.50.0 netmask 255.255.254.0 {
>> option subnet-mask 255.255.254.0;
>> option broadcast-address 10.20.51.255;
>> option routers 10.20.50.1;
>> 
>> pool {
>> # A device for Blah
>> host HMTXYZ           { hardware ethernet 00:40:9d:54:4c:c7;
>> fixed-address 10.20.50.32; }
>> ?
>> 
>> range 10.20.51.0 138.25.51.254;
>> }
>> 
>> Of course there are many other correct possiblities
>> 
>>> On 19 Mar 2021, at 10:03 am, SIMON BABY <simonkb...@gmail.com>
>> wrote:
>>> 
>>> Hi,
>>> I have a query about the DHCP provided IP address vs Static IP
>> address configured manually.  When i get the IP address from DHCP, I
>> can ping to 8.8.8.8 (google public server) where as
>>> with a statically configured IP address, I could not.  When I
>> looked into the route table (route -n ), I did not see any default
>> gateway with DHCP or Statically configured IP.  (I am testing with
>> Linux).
>>> 
>>> 1. Can I know when the packet goes out , how did the hardware
>> (NIC) find the default gateway in the case of the DHCP provided IP
>> address since I did not see any default gw IP in the routing table?
>>> 2. With statically configured IP, if I explicitly configure a
>> default GW, I can see packets are going out and receiving. I can see
>> the default GW in the routing table. Do I need a default GW to send
>> packets from a statically configured IP address ?
>>> 
>>> Thank you for your time
>>> 
>>> Regards
>>> Simon
>>> 
>>> _______________________________________________
>>> ISC funds the development of this software with paid support
>> subscriptions. Contact us at https://www.isc.org/contact/ for more
>> information.
>>> 
>>> dhcp-users mailing list
>>> dhcp-users@lists.isc.org
>>> https://lists.isc.org/mailman/listinfo/dhcp-users
>> 
>> Peter Yardley
>> peter.martin.yard...@gmail.com
>> 
>> _______________________________________________
>> ISC funds the development of this software with paid support
>> subscriptions. Contact us at https://www.isc.org/contact/ for more
>> information.
>> 
>> dhcp-users mailing list
>> dhcp-users@lists.isc.org
>> https://lists.isc.org/mailman/listinfo/dhcp-users
> _______________________________________________
> ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
> 
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

Subject: Digest Footer

_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 149, Issue 5
******************************************

Reply via email to