Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Two Mac Addresses, one hostname, one IP address?

    DHCP and DNS
    3
    5
    5.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yaxattax
      last edited by

      Hi,

      I've a laptop which I connect via a wireless AP, and occasioanlly a wired. Is there any way to link the two mac addresses, so they are both leased the same IP by the DHCP server?

      Cheers,

      Yax

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        In DHCP server you can add multiple entries with the same IP address and different MAC addresses as long as the names are different. This works for me: my laptop gets the same IP address regardless of whether I connect by wireless or wired interface.

        1 Reply Last reply Reply Quote 0
        • Y
          yaxattax
          last edited by

          Is that the only way? It creates static mappings, which cannot be inside the DHCP range. I was hoping to just tell it somehow that the two mac addresses should be treated as part of the same lease and let it do the rest.

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob
            last edited by

            @yaxattax:

            It creates static mappings, which cannot be inside the DHCP range.

            Whats the problem with that?

            @yaxattax:

            I was hoping to just tell it somehow that the two mac addresses should be treated as part of the same lease and let it do the rest.

            I don't know how you expect that to work.

            1 Reply Last reply Reply Quote 0
            • savagoS
              savago
              last edited by

              http://forum.pfsense.org/index.php/topic,36066.msg186013.html#msg186013
              http://redmine.pfsense.org/issues/1682

              Sys 2.0-RC1: Intel Atom N330 Dual Core @1.6 2048M Ram 40GHD

              1 Reply Last reply Reply Quote 0
              • luckman212L luckman212 referenced this topic on
              • luckman212L luckman212 referenced this topic on
              • luckman212L luckman212 referenced this topic on
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.