[c-nsp] DHCP configuration
Leto Tokarev
leto at irisz.hu
Mon Dec 13 10:57:38 EST 2004
> which handle 2 vlans (router-on-stick). I saw the configuration to configure
> it as a DHCP server, but I can't find a way to enable it only on one of the
> subinterfaces (one of the vlans) and not in the other one.
You can't enable on any subinterface, that's not the way it works.
It will serve on interfaces with matching ip addresses.
Example:
ip dhcp pool 1
network 10.10.10.0 255.255.255.252
default-router 10.10.10.2
!
interface FastEthernet0/0.101
encapsulation isl 101
ip address 10.10.10.2 255.255.255.252
!
interface FastEthernet0/0.102
encapsulation isl 102
ip address 10.10.10.6 255.255.255.252
!
network 10.10.10.0 matches only to FastEthernet0/0.102, so it won't run
on fa0/0.101
Leto
More information about the cisco-nsp
mailing list