Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Netzwerkkarte als DHCP
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
elomaniak
n00b
n00b


Joined: 27 Jan 2013
Posts: 47

PostPosted: Tue Jul 09, 2013 3:08 pm    Post subject: Netzwerkkarte als DHCP Reply with quote

Hi Leute

ich will hier ein kleines Projekt machen und habe folgendes vor.

Ein PC arbeitet als server und hat 2 Netzwerkkarten
1. ist normal ans INet angebunden
2. Soll mit eigenem DHCP laufen

ferner soll 2. karte an einen Switch angeschlossen sein, an dem sich ein anderer Rechner befindet, welcher per PXE gebootet werden soll.

Wie kann ich Karte 2. so konfigurieren das Sie dem Client PC eine IP zuweist zB: 192.168.0.2??

Danke im Voraus

Gruß
Mathias
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Tue Jul 09, 2013 9:07 pm    Post subject: Reply with quote

dafür brauchst du ein eigenes programm, den sogenannten dhcp server. das programm lauscht am DHCP port der gewünschten netzwerkkarte(n). wenn eine entsprechende anfrage kommt beantwortet das programm das.
ein programm dafür wäre net-misc/dhcp. damit kenn ich mich aber net aus. Ich persönlich verwende dnsmasq. ist eigentlich ein dns-server, der aber einen dhcp-server integriert hat und recht einfach zu konfigurieren ist und sich auch als alleiniger dhcpserver nutzen lässt. (Siehe hier: http://wiki.ubuntuusers.de/Dnsmasq Sorry für den link zur "Konkurrenz"). kannst auch gerne dazu nachfragen.
viel erfolg!
Back to top
View user's profile Send private message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2545
Location: Konradsreuth (Germany)

PostPosted: Wed Jul 10, 2013 10:37 am    Post subject: Reply with quote

Ich habe (zum Aufsetzen meines Alix-3D2-Boards) mal eine PXE-Boot-Umgebung eingerichtet. Als DHCP-Server habe ich net-misc/dhcp benutzt. Außer dem DHCP-Server brauchst du noch ein paar andere Dienste, damit das funktioniert. Ist aber kein großes Problem gewesen.

Wie man das anstellt, kannst du z. B. in der Gentoo-Dokumentation nachlesen: http://www.gentoo.org/doc/de/altinstall.xml#doc_chap4

Eine zweite Netzwerkkarte brauchst du aber eigentlich nicht dazu, oder?
Back to top
View user's profile Send private message
boospy
Guru
Guru


Joined: 07 Feb 2010
Posts: 308
Location: Austria

PostPosted: Tue Jul 23, 2013 8:15 pm    Post subject: Reply with quote

Interessant für dich vielleicht auch noch das LTSP-Projekt: http://wiki.ubuntuusers.de/LTSP
Hierfür gibt es in Gentoo ein eigenes Overlay.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum