DHCP Ping
Christopher Dobkowski
Member Posts: 98 ■■□□□□□□□□
in CCNA & CCENT
Hi there guyz! I have an important question...
I did a lab on DHCP in packet tracer that goes something along the lines:
I have 2 routers, R1 and R2. R1 and R2 is connected with a serial link on network 192.168.1.0 /30.
Each router has one additional ethernet network ok?
So R1 has an ethernet network: 192.168.0.0 /24 (let's call that network Bob's Network)
And R2 has an ethernet network: 192.168.2.0 /24 (this one let's call Jessie's Network)
So on Bob's network I have 2 hosts connected to a switch on it's default settings (no config involved).
On Jessie's network I have 1 host and one DHCP server connected to a switch (no config involved..) ok? OK!
I set on DHCP server two Pools.. One for Bob's network and one for Jessie's network.
In order for hosts on Bob's network to access the DHCP server that's located on Jessie's network I use the command "ip helper <ip-address-of-the-DHCP-server>" on the fast ethernet interface of Bob's network that goes to the R1. And on Jessie's network i set the host to DHCP and it gets it's IP normally from the pool for it's network. Hosts from Bob's network get IP addresses as well! So everything's fine right?
Yes.. there's a tiny problem.. When I do pings from hosts they can only ping their default gateway and the DHCP server but nothing else! Not each other, nothing.. Only their default gateway and the DHCP server..
Why? Do I need to use NAT?
I did a lab on DHCP in packet tracer that goes something along the lines:
I have 2 routers, R1 and R2. R1 and R2 is connected with a serial link on network 192.168.1.0 /30.
Each router has one additional ethernet network ok?
So R1 has an ethernet network: 192.168.0.0 /24 (let's call that network Bob's Network)
And R2 has an ethernet network: 192.168.2.0 /24 (this one let's call Jessie's Network)
So on Bob's network I have 2 hosts connected to a switch on it's default settings (no config involved).
On Jessie's network I have 1 host and one DHCP server connected to a switch (no config involved..) ok? OK!
I set on DHCP server two Pools.. One for Bob's network and one for Jessie's network.
In order for hosts on Bob's network to access the DHCP server that's located on Jessie's network I use the command "ip helper <ip-address-of-the-DHCP-server>" on the fast ethernet interface of Bob's network that goes to the R1. And on Jessie's network i set the host to DHCP and it gets it's IP normally from the pool for it's network. Hosts from Bob's network get IP addresses as well! So everything's fine right?
Yes.. there's a tiny problem.. When I do pings from hosts they can only ping their default gateway and the DHCP server but nothing else! Not each other, nothing.. Only their default gateway and the DHCP server..
Why? Do I need to use NAT?
Comments
-
Christopher Dobkowski Member Posts: 98 ■■□□□□□□□□Where to upload the file? Can't send it through priv message.
-
jsb515 Member Posts: 253ok, i was able to ping from one side to the other now. You didn't put a gateway for serverpool to 192.168.2.254 on the DHCP server.
-
Christopher Dobkowski Member Posts: 98 ■■□□□□□□□□Ohhhhh! That's the default pool, and it gave to the host of it's own network the IP but not a default-gateway! Heh silly me
I thought it will use the "Jessie's Network" pool..
Thank you VERY MUCH!!!