Gentoo Archives: gentoo-user

From: Dave Oxley <dave@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] dhcpd and routes
Date: Tue, 06 Feb 2007 12:25:46
Message-Id: 45C8728C.7000602@daveoxley.co.uk
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 I have a Gentoo server that is running Cisco VPN software to connect to
5 my companies VPN. I have setup the server as a NAT for the specific
6 subnet required for the VPN and the rest of my traffic goes through my
7 router (192.168.1.1). I currently have to manually run the following
8 command to setup the route:
9 route add -net 10.4.0.0 netmask 255.255.255.0 gw 192.168.1.200
10
11 On my Gentoo server I run dhcpd to allocate IP addresses for machines on
12 my LAN. The current configuration is:
13 subnet 192.168.1.0 netmask 255.255.255.0 {
14 range 192.168.1.100 192.168.1.199;
15 option routers 192.168.1.1;
16 }
17
18 So the question is how can I setup dhcpd to automatically setup the
19 route command for all clients using the dhcpd?
20
21 Cheers,
22 Dave.
23 -----BEGIN PGP SIGNATURE-----
24 Version: GnuPG v2.0.1 (GNU/Linux)
25 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
26
27 iD8DBQFFyHKMx43ifHzpDVURAhdrAJ4qDCmtotrW0I3B1JPF7+fVNeQlBwCfZr13
28 9ZcoJHn+fX8e8tqiWPok05w=
29 =kJ0P
30 -----END PGP SIGNATURE-----
31 --
32 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] dhcpd and routes Nick Rout <nick@×××××××.nz>
Re: [gentoo-user] dhcpd and routes Dan Farrell <dan@×××××××××.cx>