ā11-16-2010 07:08 AM - edited ā03-06-2019 02:04 PM
Do you happen to have or direct me to a config of OSPF and loopback interface on layer3 switch (WS-C3560G-24TS) using VLAN. I know how to do on a router with Serial and ethernet interface, but not on a switch where i have to use the Vlan interface to assing my /30 IP.
Thanks much in advance,
Winston
ā11-16-2010 08:00 AM
Winston
Not sure what you are asking here ?
Is the 3560 doing inter-vlan routing ?
Could you provide some more details ?
Jon
ā11-16-2010 08:14 AM
Sorry about that.
I have BGP running on that switch to my ISP provider which i do not want to touch, I have about 6 VLANs distributed in for different network segments. I now need to connect to a 2nd provider thru a cat5 hand off which i plugged into the switch port 23, created VLAN23 and interface loopback23 so that i can connecto that 2nd provider which will give me a /30 IP and a /32 IP, i will assign the /30 ip to VLAN23 and /32 IP to loopback23 interface and use OSPF.
I will then send VoIP traffic from my VoIP gateway thru another network switch which will hit my FW, then the FW will route to the L3 switch where I will have the OSPF config to direct the VoIP traffic to the 2nd provider, since i am running BGP with my primary provider, i do not want the Voip traffic to go to/thru them, but instead to that 2nd provider which will be expecting that traffic. Should i create some soft of static routes, VLAN routing, etc. to make happen,
Thanks
ā11-16-2010 08:34 AM
Winston,
For your connection to the service provider, the port does not have to be in a vlan. You can make the port a later-3 point-to-point port and assign an IP address to it as long as the SP does the same thing on there side.
As for your loopback address, the config is the same as a router
this is from a 3750 but it is the same for 3560:
Switch-1(config-if)#do sh run in lo23
Building configuration...
Current configuration : 68 bytes
!
interface Loopback23
ip address 23.23.23.23 255.255.255.255
end
Switch-1(config-if)#
HTH
Reza
ā11-16-2010 08:57 AM
Great!
Thanks a lot Reza
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