Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
howto set up home lan
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
oldefortran
l33t
l33t


Joined: 28 Feb 2004
Posts: 652

PostPosted: Mon Nov 03, 2008 8:19 am    Post subject: howto set up home lan Reply with quote

Hi.
This is perhaps a faq, please point in that direction if so.
The setup I have is computer A get dynamic ip number on eth0. That works fine. now I wish to setup eth1 to be internal ip number and broadcast dhcp leases to computers on the internal network. How do I do that?
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Mon Nov 03, 2008 9:47 am    Post subject: Reply with quote

At first you have to install a dhcp server on that machine. You could use "dhcp" (not so easy to setup) or "dnsmasq" (very easy to setup and includes a DNS cache).

Then you have to configure your server to only listen on that particular eth1 interface and set up the ip ranges. If no firewall rules restrict the access, that should be all.
_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
oldefortran
l33t
l33t


Joined: 28 Feb 2004
Posts: 652

PostPosted: Mon Nov 03, 2008 10:55 am    Post subject: Reply with quote

sounds like it willbe dnsmasq then :-) Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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