I have a multilayer Cisco 3560 network. All sites are connected to each other using RIP V2.
1. We have remote sites connected by microwave links using Cisco 3560.
2. In the attached image "Site-1" should get an IP from the HeadOffice DHCP Server. They also should get the internet connection from DHCP.
3. HEAD OFFICE switch is running the VTP Domain.
1. I have rip version 2 running. How do I get "SITE-1" to get an IP Address from the DHCP Server running in Head Office.
Kindly give me your expert comments/suggestions in how do I go about achieving the above.
You need to assign an IP address to your interface vlan 1. Also I can see that your interface VLAN 1 is down, you need to issue command " no shutdown" on interface VLAN 1. I would suggest you to do the following:
1) Assign an IP address to interface VLAN 1, it should be of the same subnet as you want for the clients of VLAN 1 to be in.
2) Put the command "ip helper-address 172.20.109.1" on interface vlan 1. I have assumed that 172.20.109.1 is your DHCp server at head office.
3) Connect one PC to a port in VLAN 1 to verify the DHCP functionality.
4) Also you need to ensure that you are able to ping the DHCP server from the switch.
*Pls rate if helpful
When I am putting the same subnet IP address on Site-1 "Vlan-1" i.e. 172.20.109.51, I am unable to ping the HeadOffice 172.20.109.1. when I am removing the IP from Vlan-1 I can ping 172.20.109.1.
I haven't told you to put the same subnet IP address. I wanted to say that you should put a new subnet ip address which would be recognised by the dhcp server and then dhcp server would send back the ip addresses to the clients.
interface vlan 1
ip address 10.20.20.1 255.255.255.0
ip helper-address 172.20.109.1
In the above example I have assumed that you need to assign the Ip addresses to the clients at site 1 with Ip addresses in the subnet 10.20.20.0/24
Also you should not give 172.X.X.X IP to your any other interface vlan.
Hope the above clarifies your doubt.
Just wanted to simplify that you need to put the IP subnet on interface VLAN 1 for which the scope configuration has already been done in your DHCP server.
You might need to ask the DHCP server guy regarding the IP subnet to be assigned to Site 1 clients and then should configure one IP address from that subnet to your interface VLAN 1.
* Pls rate if helpful
Dear Manmeet, Thanks for your reply. I had tried the following:-
Gave IP 172.20.222.1/24 on vlan 1. I also issued the ip helper-address 172.20.109.1 on vlan 1. However as you pointed out there was no scope of 172.20.122.x/24 defined on the server. I will try this out and get back to you.
Just a question. Why can't I use 172.20.109.x?
You are always welcome!
The reason why you can't use 172.20.109.X network on site 1 is bcoz you are already using this network at your HO and moreover you are running routing between the sites. Thus in a WAN network, you can't have same subnets on different segments.
* Pls rate if helps
Now I am facing another problem. I am able to get the IP address from the Head Office but I have no internet now. I can ping all the vlans at the HO. But when I am doing a traceroute from a PC to the internet it stops at the VLAN I have defined at Site-1.
int vlan 1
ip address 192.168.100.1 255.255.255.0
ip helper-address 172.20.110.12
Do I need to add a default route?
Yes that's true that you need to put a default route in your switch towards next hop which would be 10.10.10.2 ( as per the diagram). I wonder that if you would have used restribution in the HO switch for static routes, each site would have got that automatically. Anyways you should put a default route towards next hop.
Moreover you may also need to do the reverse routing at central site setup. I would not be able to comment till the time you can send me INternet setup diagram and configs.
Firstly, just check the same by adding default route.
ip route 0.0.0.0 0.0.0.0 10.10.10.2
*Pls rate if helps
I will have to add a default route on each site. At the HO L3 switch I have a default route pointing towards the DSL. The DSL is a cisco 97. My question is what redistribution command will I give on the HO switch?
You can give the following command user the router RIP config:
redistribute static metric 6
Please see the link below for more understanding.
HTH,please rate if it does.
Further to amit's comment you should add the following command under "router rip"
redestribute static metric 1
I would suggest the above command as it (metric 1)gives you scalability for future purposes as you may add more hops and would like to advertise the default route to these hops also.
*Pls rate if helpful