Hi,
Which of the following configuration is the best or the recommended to connect two site?.
Topology:
SwitchLayer3GE0/1 -10.0.0.1---> ----> <----<--10.0.0.2-- GE0/1SwitchLayer3-02
Configuration Number 1-Interface Routing:
Switch Layer3-01
interface GE 0/1
no switchport
ip add 10.0.0.1 255.0.0.0
exit
Switch Layer3-02
interface GE 0/1
no switchport
ip add 10.0.0.2 255.0.0.0
exit
Configuration Number 2-Interface mode Trunk.
Switch Layer3-01
interface GE 0/1
switchport
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10
exit
interface vlan 10
ip add 10.0.0.1 255.0.0.0
exit
Switch Layer3-02
interface GE 0/1
switchport
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10
exit
interface vlan 10
ip add 10.0.0.2 255.0.0.0
exit