How can I give the interface gi0/0 on router4 a IP with dhcp from the router ISP_RECHTS?

Current Config

ISP_RECHTS config:

ip dhcp pool EINS

interface GigabitEthernet0/1
 ip address
 duplex auto
 speed auto


interface GigabitEthernet0/0
 ip address dhcp
 duplex auto
 speed auto

enter image description here


For that config snippet to work, everything between the two routers has to be 100% layer-2 transparent. The broadcast probes from R4 have to be seen as-is on ISP_RECHTS g0/1. (as if they're one LAN)

In more complex networks, the DHCP server doesn't live directly on the segments with clients. In this case, dhcp relay is setup somewhere in each LAN to carry the traffic to/from the foreign DHCP server. The relay agent fills in fields allowing the server to know which pool is appropriate -- i.e. a LAN other than one of the servers directly connected networks (where it should hear the broadcast traffic already.)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.