dhcp 에서 ip 대역이 달라도 ip 할당이 가능한가요?

chxooi의 이미지

Linux 개발서버(DHCP) <---(회사내망)-----> Target 보드
(192.168.1.1/24) (192.168.22.3/24)

이렇게 쓰려고 합니다.
즉 개발서버에서 dhcp 로 192.168.22.3 이라는 아이피를 target 에 넘겨주려고 하는건데요

ethernet card 는 하나만 들어있고 target 보드는
단지 dhcp 로 ip 를 제공하려고하는데요...
이게 될까요??? MAC address 와 맵핑해서 192.168.22.3 이것을 주려고 하는데

네트워크가 연결되면 ping 은 회사내망어디든지 다니자나요...
제가 궁금한건 dhcp 서버도 그렇게 사용이 가능한지가 궁금해서요...
MAC 을 기준으로 찾는것도 회사내의 망안에서 다른네트워크로 찾는것이 불가능할거 같긴한ㄷ...
위의 개념이 되는건가요??

아니면
DHCP 는 꼭 같은 네트워크에서만 되는걸까요??

찾는것은 MAC address 기준으로 말이죠...

neon20의 이미지

리눅스 개발서버에서 고정 IP 할당(MAC, IP 매핑)을 지원하나보군요.

타겟보드에서 DHCP discover를 브로드캐스트로 보낼거라서 두 장비가 같은

브로드캐스트 도메인이면 리눅스 개발서버(DHCP 서버)에서 응답을 할거에요.

물론 타겟보드의 MAC과 할당할 IP의 매핑이 DHCP 서버에 설정되어 있다는 전제에서 말이죠..

neon20의 이미지

lease 시간이 지나게 되면 unicast로 renew를 하다가 일정 시간이 지나면 다시 DHCP discover를 브로드캐스트로

보낼테니.. 문제는 없다고 생각되네요.

v109의 이미지

웬만한 네트웍 장비는 DHCP Relay기능을 지원하고 있습니다. 그래서 로컬네트워크에서 브로드캐스팅되는 DHCP요청 메시지를 다른 네트워크에 위치한 DHCP서버로 전달해 줄 수 있습니다. 물론 이 때는 Unicast로 전환됩니다.

시스코 장비는 ip helper-address 라는 명령을 사용하면 되고, 다른 장비의 경우는 뭐...워낙 다양한 지라....

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.