Page 1 of 1

ip helper and multinetting

Posted: 30 Oct 2013 10:33
by duBeN
Hello,

does anyone know how is ip helper working on vlan which have more ip interfaces ? I did few tests and it seems that dhcp request is forwarded only for one subnet. Once it's full and dhcp server is not responding because no free lease in pool - switch is not trying to ask for IP from another subnet.

Code: Select all

ip interface test1 address 192.168.1.1/24 vlan 1
ip interface test2 address 192.168.2.1/24 vlan 1

ip helper address 10.10.10.10 vlan 1
ip helper is asking for ip from subnet 192.168.1.0/24. It's working ok until the pool is full. Then clients simply stop receiving IPs because switch is not trying to ask for IP from subnet 192.168.2.0/24. I'd like to find something in documentation where is this behavior described.

Re: ip helper and multinetting

Posted: 31 Oct 2013 09:06
by devnull
Must say i never used different subnets on same vlan (you can have more vlans, you know ).

So open a SR, but i guess this is not the commonly used scenario..

Re: ip helper and multinetting

Posted: 31 Oct 2013 13:53
by silvio
Hi,
I think the same like devnull. Better it to change the design at the customer with one subnet per vlan.
Maybe vendorspecific attributs at the dhcp-server itself is helpfull for your (depends from the reason of your wish).
regards
Silvio

Re: ip helper and multinetting

Posted: 03 Nov 2013 23:22
by knt
Your Configuration is Secondary interface. Ip helper is use for primary address only.

Example

ip interface test1 address 192.168.1.1/24 vlan 1 [ It is primary address because is first interface ]
ip interface test2 address 192.168.2.1/24 vlan 1

ip helper address 10.10.10.10 vlan 1


-> show ip interface vlan 1
Total 2 interfaces
Name IP Address Subnet Mask Status Forward Device
--------------------+---------------+---------------+------+-------+----------------------------------------------------
test1 192.168.1.1 255.255.255.0 UP YES vlan 1
test2 192.168.2.1 255.255.255.0 UP YES vlan 1
test1 is currently primary.