David Syratt wrote:
> I am attempting to configure a linux box to act as a router in a network
> comprising a Win2000 network utilising Dhcp and a Linux network using
> statically assigned internal IP's. I require the Dhcp PC users to access a
> a seperate linux internet gateway.
> Most articles I have googled require the linux routers nix cards to have
> there gateway address set as each others ip address but because one of the
> cards is assigned a dynamic address I am at a loss as how to configure it
> in this situation.
>
> <--[Linux Gateway] - [ Linux Router ] - [ Win2000 Server ] - [PC's]
>
> 10.10.10.254 eth0 10.10.10.13 10.0.0.X 10.0.0.x
> eth1 10.0.0.x
>
> I appreciate your assistance.
>
> Regards
>
> David
Routers, as a rule, should never really have dynamic address assigned to
their interfaces. It creates exactly this problem. You _could_ get
around it by running routing protocol daemons on your linux router and
all your PC's (ospf, rip, BGP, etc), assuming you could find daemons for
the windows pcs. That would allow the router and the pcs to know when
an interface ip has changed, so they could update their routing tables,
but the configuration and maintenence headache would be such that its
far easier to just reserve an ip address out of the dhcp pool and assign
it statically to the router.
HTH
Neil
--
Neil Horman
Red Hat, Inc.,
http://people.redhat.com/nhorman
gpg keyid: 1024D / 0x92A74FA1,
http://www.keyserver.net