Link to home
Start Free TrialLog in
Avatar of lexmark1
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
Avatar of pergr
pergr

If you want the new router to communicate with the old router on only one VLAN, then you preferably configure the switch port as an 'access' port, for that VLAN.

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.
Avatar of lexmark1

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
What do you want to do with the router?
What traffic do you want to route?
Do you have a topology diagram?
Hi pergr,

Please see my attachment.

Thanks
Network-Design.jpg
ASKER CERTIFIED SOLUTION
Avatar of lexmark1
lexmark1

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
My one is solved the problem