OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • International Forums »
  • German - Deutsch (Moderator: Patrick M. Hausen) »
  • Static DHCP - gültig für alle Interfaces?
« previous next »
  • Print
Pages: [1]

Author Topic: Static DHCP - gültig für alle Interfaces?  (Read 3288 times)

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Static DHCP - gültig für alle Interfaces?
« on: June 27, 2016, 08:56:06 am »
Hi!

pfsense hat ja die merkwürdige Angewohnheit, dass, wenn man einer MAC eine feste IP auf IRGENDEINEM Interfac zuweist, man auch auf ALLEN ANDEREN Interfaces mit dieser MAC eine IP bekommte.

Wenn ich also einen Rechner in meinem Gästenetz zulasse, bekommt der selbe Rechner (oder ein MAC Klon) auch in meinen übrigen Netzen an diesem Router einen IP und kann loslegen.

Hat opnsense diese unangenehme Eigenschaft eigentlich auch noch? Wenn ja, ist daran gedacht dies abzustellen?

Tausend Dank vorab

chemlud
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: Static DHCP - gültig für alle Interfaces?
« Reply #1 on: June 28, 2016, 08:08:48 am »
Hallöchen,

Scheinbar ist das durch DHCP und die Art der generierten Konfiguration bedingt:

Code: [Select]
       If client-specific boot parameters must change based on the network  to
       which the client is attached, then multiple host declarations should be
       used.  The host declarations will only match a client if one  of  their
       fixed-address  statements  is  viable on the subnet (or shared network)
       where the client is attached.  Conversely, for a  host  declaration  to
       match  a client being allocated a dynamic address, it must not have any
       fixed-address statements.  You may therefore need  a  mixture  of  host
       declarations  for  any  given client...some having fixed-address state-
       ments, others without.

Leider sehe ich gerade nicht wie man das "multiple host declarations" umsetzen kann damit es hinterher auf das korrekte Subnetz ausgeführt wird. Die Host-Deklaration in das Subnet zu setzen war schon mal falsch...


Grüße
Franco
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: Static DHCP - gültig für alle Interfaces?
« Reply #2 on: June 28, 2016, 08:13:03 am »
Hallo zurück! :-D

Na, dann mal weitersehen ;-) Vielen Dank für die Antwort!

Ich hoffe, dass man das irgendwie abgeschaltete bekommt, ich finde es sicherheitstechnisch suboptimal, oder?

Hat jemand vielleicht einen work-arround von den Netzwerkprofis? :-)
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • International Forums »
  • German - Deutsch (Moderator: Patrick M. Hausen) »
  • Static DHCP - gültig für alle Interfaces?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2