ā05-06-2017 03:56 PM - edited ā03-08-2019 10:28 AM
Hey all,
How can I use the same vlan 30 from the top router (router 1) in pc 1 where the near router is router2?
What is the configuration that should be on router2?
Packet tracer with the design attached.
PC0 connected to switch 1 fas 0/1
10.0.30.10
255.255.255.192
10.0.30.1
Switch 1
interface FastEthernet0/1
switchport access vlan 30
interface GigabitEthernet0/1
switchport mode trunk
Router1:
interface GigabitEthernet0/0
ip address 10.0.0.1 255.255.255.248
interface GigabitEthernet0/0.30
encapsulation dot1Q 30
ip address 10.0.30.1 255.255.255.192
ip nat inside
Ping from PC0 to router 1 -> ok
PC1
PC1 connected to switch 2 fas 0/1
10.0.30.10
255.255.255.192
10.0.30.1
Switch2
interface FastEthernet0/1
switchport access vlan 30
!
interface GigabitEthernet0/1
switchport mode trunk
!
Router 2:
interface GigabitEthernet0/0
ip address 10.0.0.3 255.255.255.248
Thank you for support.
ā05-06-2017 04:57 PM
Hi
Is not good practice configure the same gateway for the vlan 30 on different routers at the same network environment unless you are using VRF but I think packet tracer cannot handle VRF by software limitations.
My suggestion is remove one of the sub-interface for vlan 30 and make a trunk connection between the switches in order to enable the communication between the PC's over the vlan 30
Hope it is useful
:-)
ā05-09-2017 06:45 PM
Hello,
You can certainly accomplish this goal without using VRF, depending on your end goal. You could possibly use GLBP or VRRP to accomplish this method.
The configuration would look like this:
Router 1: interface GigabitEthernet0/0 Router 2: interface GigabitEthernet0/0 ip address 10.0.0.2 255.255.255.248 glbp 1 ip 10.0.0.1 glbp 1 priority 110 (100 is default) glbp 1 preempt (switches back to this router once router comes back online) glbp 1 load-balancing |
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide