10-14-2016 02:58 AM - edited 03-08-2019 07:47 AM
Hi,
I'm hoping some of you clever folks can help me here. I'm planning a new network for a small business. There are two sites in the same town and the company has a 1Gbps leased line connecting the two sites. I am planning to deploy a new two-shelf SG550XG-24T stack as a core L3 switch at each site. My plan is that each of these devices will have a route to the other across the site to site link.
I know that if you are directly connecting two Cisco routers to each other with a point-to-point link, you can use a /31 subnet and give each device's interface one of the two addresses. What I'm wondering is whether I will be able to configure the same thing on my SG550XG-24T devices. The physical topology will be something like this:
Switch A and Switch B are connected to the CPEs at each location by a 1Gbps fibre port, configured as a VLAN trunk. From the company's perspective, it's as if they have a really long Ethernet cable between the two sites. If I were to configure a new VLAN on that trunk, could I give each SG550XG-24T device an interface in a /31 subnet and plug it into an access port in that VLAN on the switch?
I can't think of any particular reason why this setup would behave any differently than if the two devices were directly connected. Although, perhaps it's only dedicated routers which allow the use of /31 subnets for p2p links? Do the SG550XG-24T L3 swtiches even support this functionality. Maybe there are best-practice recommendations which discourage /31 subnets on anything but direct connections? I suppose, if it's not supported or recommended, I can just use a /30 instead.
Any help or advice would be greatly appreciated. Thanks.
10-14-2016 05:33 AM
Hello,
Cisco apparently even recommends the use of /31 masks as defined in RFC 3021. In the link below, scroll down to the section
somewhere down the middle of the document.
I think accepting 31 masks is software specific though, I am using 12.x versions, and it won't accept the 31 mask...
http://www.cisco.com/c/en/us/td/docs/ios/ios_xe/ipaddr/configuration/guide/xe_3s/iad_xe_3s_book/iad_config_ipadd_xe.html
10-14-2016 06:13 AM
Interesting stuff. Thanks.
Really, I just want to know whether /31 masks are supported on the SG550XG-24T devices and whether the configuration will work when carried on a VLAN across multiple devices; i.e. the link isn't a direct connection.
10-14-2016 08:12 AM
Alan,
you need to check your switch if it supports /31 masks. The CLI reference for firmware release 2.1.0.x (which you are likely running) doesn't mention if it does or not. As stated, I get an error message when I try to do this on a 12.x release:
"Bad mask /31 for 192.168.1.1"
I have labbed this with a /30 address, and it works fine. A /31 address shouldn't make a difference, since you are basically simulating a WAN link that only needs two addresses anyway.
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