DHCP relay & IPoIP tunnel

Vincent CATROS vincent.catros at laposte.net
Mon May 23 08:33:36 UTC 2011


Hi,

I have a problem with my DHCP relay and it seems to be related to IPoIP tunnels.

The relay has 3 ethernet interfaces.
- eth0 is connected to LAN-1 (subnet 192.168.0.0/24).
- eth1 is connected to LAN-2 (subnet 192.168.1.0/24).
- eth2 is connected to the upstream network (subnet 192.168.2.0/24).

On eth2 I have an IPoIP tunnel and, hence, a "tunl1" virtual interface.
"tunl1" @IP is 192.168.3.2
the other end of the tunnel is 192.168.3.1

The routing configuration of my network and my relay is such that the downstream and upstream trafic from/to LAN-2 pass through the tunnel.

My relay is on a Linux Debian Squeeze
version of ISC relay is 4.1.1-P1

The command line I run is :
dhcrelay -d -i eth0 -i eth1 -i eth3 192.168.31.1

For LAN-1 every thing works properly.

The problem is that DHCPOFFER to LAN-2 (through) the tunnel are not forwarded to the client.
dst.addr of the packet is good (192.168.1.1). The packet seems well formed (yourip is 192.168.1.2 chaddr is good)

Any idea?

Regards
Vincent

Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net




More information about the dhcp-users mailing list