You are not logged in.

#1 2009-12-07 21:05:46

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Setup Archlinux as router on server.

Hello.
Someone tried that configuration?
What I must do to have this work?
I want to set up like that.
I got 4 computer in my network all of them will be connected to server (Archlinux) two of them are on Windows (7,XP) and one of them is on FreeBSD.
I want to this server work as DHCP and give adreses to rest computers smile
Thanks for help smile


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#2 2009-12-07 21:07:10

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Setup Archlinux as router on server.

i have such configuration.
is doing NAT and running dhcpd, bind as resolver, samba.


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-12-07 21:31:04

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: Setup Archlinux as router on server.

wonder wrote:

i have such configuration.
is doing NAT and running dhcpd, bind as resolver, samba.

Ohh nice smile
Cna you post a little how to how to configure this?
Thanks.
BTW.How you connect all computers to Server  (Using network cable) you use switch?


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#4 2009-12-07 21:42:59

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Setup Archlinux as router on server.

i have a linksys wrt54gl that is connecting the server with one of the computer with cable. the other computers are connecting via wireless on the same linksys.

i installed dhcp and is configured to handle static ip based on mac address on every computer in my house.
for bind i have an acl list named allow like this:

acl "allow" {
        127.0.0.0/8;
        192.168.0.0/24;
};

then configure bind to list only on those interfaces

 listen-on { allow; };

now allow the bind to resolve domains

allow-recursion { allow; };

if you want i can post all configs also for nat,dhcp. for bind i didn't do anything else.

Last edited by wonder (2009-12-07 21:44:21)


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2009-12-08 13:40:28

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: Setup Archlinux as router on server.

wonder wrote:

i have a linksys wrt54gl that is connecting the server with one of the computer with cable. the other computers are connecting via wireless on the same linksys.

i installed dhcp and is configured to handle static ip based on mac address on every computer in my house.
for bind i have an acl list named allow like this:

acl "allow" {
        127.0.0.0/8;
        192.168.0.0/24;
};

then configure bind to list only on those interfaces

 listen-on { allow; };

now allow the bind to resolve domains

allow-recursion { allow; };

if you want i can post all configs also for nat,dhcp. for bind i didn't do anything else.

This will be nice when you post your config's smile
Thanks smile


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#6 2009-12-08 21:26:37

brenix
Member
From: California
Registered: 2008-03-05
Posts: 185

Re: Setup Archlinux as router on server.

You might find this wiki article useful..

Offline

#7 2009-12-09 05:19:35

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Setup Archlinux as router on server.

For only four computers, you might want to think about Dnsmasq too - real basic configuration, includes DNS caching.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

Board footer

Powered by FluxBB