Skip to contentSkip to conversation

bootp problems

DISCUSSION Jochen Vogel 2 participants 2 messages Apr 7, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines
Quoted 3 lines

[DialIn]2.2.2.2----2.2.2.1[FW]1.1.1.1---1.1.1.2[DHCP]

the DialIn tries to get an IP from the DHCP Server.

You need a DHCP relay on the 2 network to do this.

DHCP requests do not cross routers (they are ethernet broadcasts).

Hi antony,

The DialIN should play Relay

FIRST the DialIn try it DIRECTLY to the DHCP Server with tcpdump on 2.1 i can see 0.0.0.0:68 > 1.1.1.2:67 It doesnt work and i CANT see any entry in the iptables log

SECOND the DialIn try it with BROADCAST
with tcpdump on 2.1 i can see 0.0.0.0:68 > 255.255.255.255:67 It doesnt work and i CAN see an entry in the iptables log

Thx for more informations
Jo

#1 lore raw
Quoted 8 lines · Jochen Vogel
Quoted 7 lines
Quoted 3 lines

[DialIn]2.2.2.2----2.2.2.1[FW]1.1.1.1---1.1.1.2[DHCP]

the DialIn tries to get an IP from the DHCP Server.

You need a DHCP relay on the 2 network to do this.

DHCP requests do not cross routers (they are ethernet broadcasts).

Quoted 7 lines

Hi antony,

The DialIN should play Relay

FIRST the DialIn try it DIRECTLY to the DHCP Server with tcpdump on 2.1 i can see 0.0.0.0:68 > 1.1.1.2:67 It doesnt work and i CANT see any entry in the iptables log

How is Linux supposed to route a reply packet from 1.1.1.2:67 back to 0.0.0.0:68?

Quoted 3 lines

SECOND the DialIn try it with BROADCAST
with tcpdump on 2.1 i can see 0.0.0.0:68 > 255.255.255.255:67 It doesnt work and i CAN see an entry in the iptables log

Broadcasts do not cross routers. That is nothing to do with netfilter (and
no, you cannot create any netfilter rules to make a broadcast cross to the other side).

Maybe your firewall needs to be a bridge?

Regards,

Antony.

Signature · 5 lines
Christmas was just an opportunity to upgrade to kernel 2.6 while no-one was 
around to notice the downtime.

                                                     Please reply to the list;
                                                           please don't CC me.