lexmark1
asked on
Switch between two routers
Hi all,
I have cisco router connected to cisco switch by trunk port to pass all vlans and dhcp, I want to connect second router using one port of the switch which ip should I assign to the router and what port mode should I assign to the switch to get communications between two routers
Thanks
I have cisco router connected to cisco switch by trunk port to pass all vlans and dhcp, I want to connect second router using one port of the switch which ip should I assign to the router and what port mode should I assign to the switch to get communications between two routers
Thanks
ASKER
Hi pergr,
This is my router configuration:
Oldrouter# ip dhcp pool vlan-2
Oldrouter# network 255.255.255.0
Oldrouter# ip default 10.10.20.1
Oldrouter# interfase gig0/1.2
Oldrouter# ip add 10.10.20.1 255.255.255.0
Oldrouter# inter gig0/1
Oldrouter# no shutdown
Connected to the switch with trunk port
Now for the new router which ip should I give and what switch port mode?
Thanks
This is my router configuration:
Oldrouter# ip dhcp pool vlan-2
Oldrouter# network 255.255.255.0
Oldrouter# ip default 10.10.20.1
Oldrouter# interfase gig0/1.2
Oldrouter# ip add 10.10.20.1 255.255.255.0
Oldrouter# inter gig0/1
Oldrouter# no shutdown
Connected to the switch with trunk port
Now for the new router which ip should I give and what switch port mode?
Thanks
What do you want to do with the router?
What traffic do you want to route?
Do you have a topology diagram?
What traffic do you want to route?
Do you have a topology diagram?
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
My one is solved the problem
If you want the new router to communicate on all VLANS (for example if you want to run HSRP) then the ports on switch and new router should be configured in the same way as for the old router.
The IP to use in the new router should be in the same subnet as the IP on the old router - on the relevant VLAN. You should also make sure that IP is not included in the DHCP pool on the old router.