From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.62)
	(envelope-from <gentoo-user+bounces-59577-garchives=archives.gentoo.org@gentoo.org>)
	id 1HEPOL-00032z-UN
	for garchives@archives.gentoo.org; Tue, 06 Feb 2007 12:25:46 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l16COVFk025835;
	Tue, 6 Feb 2007 12:24:31 GMT
Received: from blackadder.daveoxley.co.uk (cust6483.nsw01.dataco.com.au [203.171.86.83])
	by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l16CJMSs019531
	for <gentoo-user@lists.gentoo.org>; Tue, 6 Feb 2007 12:19:24 GMT
Received: from [192.168.1.102] ([192.168.1.102])
	(authenticated bits=0)
	by blackadder.daveoxley.co.uk (8.13.7/8.13.4) with ESMTP id l16CJHNi011437
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <gentoo-user@lists.gentoo.org>; Tue, 6 Feb 2007 23:19:18 +1100
Message-ID: <45C8728C.7000602@daveoxley.co.uk>
Date: Tue, 06 Feb 2007 23:20:28 +1100
From: Dave Oxley <dave@daveoxley.co.uk>
User-Agent: Thunderbird 2.0b1 (X11/20070201)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] dhcpd and routes
X-Enigmail-Version: 0.94.1.0
OpenPGP: id=7CE90D55;
	url=http://www.daveoxley.co.uk/0x7CE90D55.asc
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on blackadder.daveoxley.co.uk
X-Virus-Status: Clean
X-Archives-Salt: 8257fb5c-e9a9-4c4b-82ec-f2df759188fa
X-Archives-Hash: 32171d940e676e33ec99d0e0b5808bb1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a Gentoo server that is running Cisco VPN software to connect to
my companies VPN. I have setup the server as a NAT for the specific
subnet required for the VPN and the rest of my traffic goes through my
router (192.168.1.1). I currently have to manually run the following
command to setup the route:
route add -net 10.4.0.0 netmask 255.255.255.0 gw 192.168.1.200

On my Gentoo server I run dhcpd to allocate IP addresses for machines on
my LAN. The current configuration is:
subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.100 192.168.1.199;
  option routers 192.168.1.1;
}

So the question is how can I setup dhcpd to automatically setup the
route command for all clients using the dhcpd?

Cheers,
Dave.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFyHKMx43ifHzpDVURAhdrAJ4qDCmtotrW0I3B1JPF7+fVNeQlBwCfZr13
9ZcoJHn+fX8e8tqiWPok05w=
=kJ0P
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list