public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dave Oxley <dave@daveoxley.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] dhcpd and routes
Date: Tue, 06 Feb 2007 23:20:28 +1100	[thread overview]
Message-ID: <45C8728C.7000602@daveoxley.co.uk> (raw)

-----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



             reply	other threads:[~2007-02-06 12:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-06 12:20 Dave Oxley [this message]
2007-02-07  8:48 ` [gentoo-user] dhcpd and routes Nick Rout
2007-02-08 16:35 ` Dan Farrell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45C8728C.7000602@daveoxley.co.uk \
    --to=dave@daveoxley.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox