Difference between revisions of "Example Network Configuration Scenarios"

From Internet Computer Wiki
Jump to: navigation, search
(Page creation)
Line 1: Line 1:
 
== Example one: IPv6 Gateway on the ISP device ==
 
== Example one: IPv6 Gateway on the ISP device ==
 
[[File:Example network config 1.jpg|none|thumb|673x673px]]
 
[[File:Example network config 1.jpg|none|thumb|673x673px]]
 +
 +
You have a network setup consisting of one or two switches. These switches are connected to a provider's IPv6 network, which has the address range <code>2a00:fb01:400:200::/64</code>. This means that any traffic destined for the <code>2a00:fb01:400:200::/64</code> subnet will be directed to our network.
 +
 +
The gateway for this network is located on the ISP device, and its IPv6 address is <code>2a00:fb01:400:200::1</code>. The gateway serves as the entry and exit point for your network, connecting it to the Internet.
 +
 +
Please note that these are simplified configurations assuming basic Layer 2 functionality with VLAN 1. Adjustments may be required based on your specific network requirements, such as additional VLANs or advanced features. Also, make sure to replace the IP addresses and gateway with your actual network information.
 +
 +
=== Configuration of Switch01 ===
 +
* Dell OS10:
 +
<syntaxhighlight lang="shell">
 +
hostname Switch01
 +
! Configure interfaces connected to ISP, Servers and Switch02
 +
interface ethernet 1/1/48
 +
  description ISP:WAN
 +
  switchport mode access
 +
  switchport access vlan 1
 +
!
 +
interface range ethernet 1/1/1-1/1/14
 +
  description Servers
 +
  switchport mode access
 +
  switchport access vlan 1
 +
  spanning-tree port type edge
 +
!
 +
interface ethernet 1/1/47
 +
  description SW01:SW02
 +
  switchport mode access
 +
  switchport access vlan 1
 +
</syntaxhighlight>
 +
 +
* Cumulus:
 +
<syntaxhighlight lang="shell">
 +
net add hostname switch01
 +
net add bridge bridge ports swp1-14,swp47,swp48
 +
net add bridge bridge pvid 1
 +
net add bridge bridge vids 1
 +
net add bridge bridge vlan-aware
 +
net add interface swp1-14,swp47,swp48
 +
net commit
 +
</syntaxhighlight>
 +
 +
* Cisco:
 +
<syntaxhighlight lang="shell">
 +
hostname Switch01
 +
!
 +
interface Ethernet1/1-14
 +
  description Server
 +
  switchport
 +
  switchport mode access
 +
  switchport access vlan 1
 +
  spanning-tree port type edge
 +
  no shutdown
 +
!
 +
interface Ethernet1/47
 +
  description SW1:SW2
 +
  switchport
 +
  switchport mode access
 +
  switchport access vlan 1
 +
  spanning-tree port type network
 +
!
 +
interface Ethernet1/48
 +
  description ISP
 +
  switchport
 +
  switchport mode access
 +
  switchport access vlan 1
 +
  spanning-tree port type network
 +
</syntaxhighlight>
 +
 +
=== Configuration of Switch02 ===
 +
* Dell OS10:
 +
<syntaxhighlight lang="shell">
 +
hostname Switch02
 +
! Configure interfaces connected to Servers and Switch01
 +
interface range ethernet 1/1/1-1/1/14
 +
  description Servers
 +
  switchport mode access
 +
  switchport access vlan 1
 +
  spanning-tree port type edge
 +
!
 +
interface ethernet 1/1/47
 +
  description SW02:SW01
 +
  switchport mode access
 +
  switchport access vlan 1
 +
</syntaxhighlight>
 +
 +
* Cumulus:
 +
<syntaxhighlight lang="shell">
 +
net add hostname switch02
 +
net add bridge bridge ports swp1-14,swp47
 +
net add bridge bridge pvid 1
 +
net add bridge bridge vids 1
 +
net add bridge bridge vlan-aware
 +
net add interface swp1-14,swp47
 +
net commit
 +
</syntaxhighlight>
 +
 +
* Cisco:
 +
<syntaxhighlight lang="shell">
 +
hostname Switch02
 +
!
 +
interface Ethernet1/1-14
 +
  description Server
 +
  switchport
 +
  switchport mode access
 +
  switchport access vlan 1
 +
  spanning-tree port type edge
 +
  no shutdown
 +
!
 +
interface Ethernet1/47
 +
  description SW2:SW1
 +
  switchport
 +
  switchport mode access
 +
  switchport access vlan 1
 +
  spanning-tree port type network
 +
</syntaxhighlight>
  
 
== Example two: Network terminated on Node Provider Router ==
 
== Example two: Network terminated on Node Provider Router ==
 
[[File:Example network config 2.jpg|none|thumb|673x673px]]
 
[[File:Example network config 2.jpg|none|thumb|673x673px]]
 +
 +
In this network setup, we have one or two switches, These switches are connected to a router/firewall. The router has been assigned the IPv6 network <code>2a00:fb01:400:200::/64</code>, with a gateway address of <code>2a00:fb01:400:200::1</code>. This network serves as the local LAN for the connected devices.
 +
 +
To establish connectivity with the internet, we have received a Point-to-Point (P2P) /126 IPv6 subnet from our network provider. This subnet allows connectivity between your router and the ISP endpoint. The ISP end of this subnet is <code>2a00:fb01:400:100::1/126</code>, and we need to configure the WAN interface of our router with the address <code>2a00:fb01:400:100::3/126</code>.
 +
 +
The network provider is routing the entire IPv6 network <code>2a00:fb01:400:200::/64</code> to the next hop on your end. To ensure proper forwarding of traffic, configure a default IPv6 route on your router pointing to the ISP device's next hop, which is <code>2a00:fb01:400:100::1</code>. This route will direct any outgoing traffic not destined for your local network to the ISP.
 +
 +
Please note that these are simplified configurations assuming basic Layer 2 and Layer 3 functionality. Adjustments may be required based on your specific network requirements, such as additional VLANs or advanced features. Also, make sure to replace the IP addresses, routes, and gateway with your actual network information.
 +
 +
=== Configuration of Switch01 ===
 +
* Dell OS10:
 +
<syntaxhighlight lang="shell">
 +
hostname Switch01
 +
! Configure interfaces connected to RTR, Servers and Switch02
 +
interface ethernet 1/1/48
 +
  description RTR_FW
 +
  switchport mode access
 +
  switchport access vlan 1
 +
!
 +
interface range ethernet 1/1/1-1/1/14
 +
  description Servers
 +
  switchport mode access
 +
  switchport access vlan 1
 +
  spanning-tree port type edge
 +
!
 +
interface ethernet 1/1/47
 +
  description SW01:SW02
 +
  switchport mode access
 +
  switchport access vlan 1
 +
</syntaxhighlight>
 +
 +
* Cisco:
 +
<syntaxhighlight lang="shell">
 +
hostname Switch01
 +
!
 +
interface Ethernet1/1-14
 +
  description Server
 +
  switchport
 +
  switchport mode access
 +
  switchport access vlan 1
 +
  spanning-tree port type edge
 +
  no shutdown
 +
!
 +
interface Ethernet1/47
 +
  description SW1:SW2
 +
  switchport
 +
  switchport mode access
 +
  switchport access vlan 1
 +
  spanning-tree port type network
 +
!
 +
interface Ethernet1/48
 +
  description RTR_FW
 +
  switchport
 +
  switchport mode access
 +
  switchport access vlan 1
 +
  spanning-tree port type network
 +
</syntaxhighlight>
 +
 +
=== Configuration of Switch02 ===
 +
* Dell OS10:
 +
<syntaxhighlight lang="shell">
 +
hostname Switch02
 +
! Configure interfaces connected to Servers and Switch01
 +
interface range ethernet 1/1/1-1/1/14
 +
  description Servers
 +
  switchport mode access
 +
  switchport access vlan 1
 +
  spanning-tree port type edge
 +
!
 +
interface ethernet 1/1/47
 +
  description SW02:SW01
 +
  switchport mode access
 +
  switchport access vlan 1
 +
</syntaxhighlight>
 +
 +
* Cisco:
 +
<syntaxhighlight lang="shell">
 +
hostname Switch02
 +
!
 +
interface Ethernet1/1-14
 +
  description Server
 +
  switchport
 +
  switchport mode access
 +
  switchport access vlan 1
 +
  spanning-tree port type edge
 +
  no shutdown
 +
!
 +
interface Ethernet1/47
 +
  description SW2:SW1
 +
  switchport
 +
  switchport mode access
 +
  switchport access vlan 1
 +
  spanning-tree port type network
 +
</syntaxhighlight>
 +
 +
=== Configuration of RTR/FW ===
 +
 +
* Cisco:
 +
<syntaxhighlight lang="shell">
 +
ipv6 unicast-routing
 +
!
 +
interface TenGigabitEthernet1
 +
no ip address
 +
negotiation auto
 +
ipv6 address 2A00:FB01:400:100::3/126
 +
!
 +
interface TenGigabitEthernet2
 +
no ip address
 +
negotiation auto
 +
ipv6 address 2A00:FB01:400:200::1/64
 +
ipv6 enable
 +
!
 +
ipv6 route ::/0 2A00:FB01:400:100::1
 +
</syntaxhighlight>
  
 
== Example three: Network terminated on Node Provider L3 Switch (SVI or routed ports) ==
 
== Example three: Network terminated on Node Provider L3 Switch (SVI or routed ports) ==
 
[[File:Example network config 3.jpg|none|thumb|673x673px]]
 
[[File:Example network config 3.jpg|none|thumb|673x673px]]
 +
 +
In this network setup, we have one or two switches, These switches are connected to an ISP network. The ISP has allocated a Point-to-Point (P2P) /126 IPv6 subnet for our use. The ISP's endpoint is assigned the IPv6 address <code>2a00:fb01:400:100::1/126</code>, and we need to configure the interface of our switch with the IPv6 address <code>2a00:fb01:400:100::3</code>.
 +
 +
To establish connectivity between our network and the ISP, the provider is routing the IPv6 network <code>2a00:fb01:400:200::/64</code> to the next hop on our end. This means that any traffic destined for the <code>2a00:fb01:400:200::/64</code> subnet will be directed to our network.
 +
 +
To ensure proper routing within our network, we need to configure the switches accordingly. Firstly, we assign the IPv6 address <code>2a00:fb01:400:100::3/126</code> to the interface of Switch01, enabling communication with the ISP.
 +
 +
On Switch01, we set up a default IPv6 route that points to the next hop provided by the ISP, which is <code>2a00:fb01:400:100::1</code>. This default route allows any traffic with an unknown destination within our network to be forwarded to the ISP.
 +
 +
Additionally, we advertise the routed subnet <code>2a00:fb01:400:200::/64</code> within our network by configuring the interface on Switch01 connected to our internal network. This interface is assigned the IPv6 address <code>2a00:fb01:400:200::1/64</code>. By enabling IPv6 routing on Switch01, the subnet is made accessible to devices within our network.
 +
 +
With these configurations in place, our network is set up to communicate with the ISP using the provided IPv6 addressing scheme. Switch01 acts as the gateway, forwarding traffic to the ISP's next hop, and enabling connectivity to the routed subnet <code>2a00:fb01:400:200::/64</code> within our network.
 +
 +
Please note that these are simplified configurations assuming basic Layer 2 and Layer 3 functionality. Adjustments may be required based on your specific network requirements, such as additional VLANs or advanced features. Also, make sure to replace the IP addresses, routes, and gateway with your actual network information.
 +
 +
=== Configuration of Switch01 ===
 +
* Dell OS10:
 +
<syntaxhighlight lang="shell">
 +
hostname Switch01
 +
!
 +
interface vlan10
 +
no shutdown
 +
ipv6 nd send-ra
 +
ipv6 address 2a00:fb01:400:200::1/64
 +
!
 +
! Adding default route
 +
ipv6 route ::/0 2a00:fb01:400:100::1
 +
!
 +
! Configure interfaces connected to Servers and Switch01
 +
interface range ethernet 1/1/1-1/1/14
 +
  description Servers
 +
  switchport mode access
 +
  switchport access vlan 10
 +
  spanning-tree port type edge
 +
!
 +
interface ethernet 1/1/47
 +
  description SW01:SW02
 +
  switchport mode trunk
 +
  switchport trunk allowed vlan 10
 +
</syntaxhighlight>
 +
 +
* Cumulus:
 +
<syntaxhighlight lang="shell">
 +
net add hostname switch01
 +
net add vlan 1 ipv6 nd prefix 2a00:fb01:400:200::/64
 +
net del vlan 1 ipv6 nd suppress-ra
 +
net add routing route ::/0 2a00:fb01:400:100::1
 +
net add bridge bridge ports swp1-14,swp47
 +
net add bridge bridge pvid 1
 +
net add bridge bridge vids 1
 +
net add bridge bridge vlan-aware
 +
net add interface swp1-14,swp47
 +
net add interface swp48 ipv6 address 2a00:fb01:400:100::3/126
 +
net add vlan 1 ipv6 address 2a00:fb01:400:200::1/64
 +
net add vlan 1 vlan-id 1
 +
net commit
 +
</syntaxhighlight>
 +
 +
* Cisco:
 +
<syntaxhighlight lang="shell">
 +
hostname Switch01
 +
! Enable feature for VLAN Routing
 +
feature interface-vlan
 +
!
 +
interface Vlan10
 +
  no shutdown
 +
  ipv6 address 2a00:fb01:400:200::1/64
 +
  ipv6 nd prefix default infinite infinite
 +
!
 +
! Configure port toward ISP
 +
interface Ethernet1/48
 +
  description ISP
 +
  no switchport
 +
  ipv6 address 2a00:fb01:400:100::3/126
 +
  no shutdown
 +
!
 +
interface Ethernet1/1-14
 +
  description Server
 +
  switchport
 +
  switchport mode access
 +
  switchport access vlan 10
 +
  spanning-tree port type edge
 +
  no shutdown
 +
!
 +
interface Ethernet1/47
 +
  description SW1:SW2
 +
  switchport
 +
  switchport mode access
 +
  switchport access vlan 10
 +
  spanning-tree port type network
 +
 +
!
 +
ipv6 route ::/0 2a00:fb01:400:100::1
 +
!
 +
</syntaxhighlight>
 +
 +
=== Configuration of Switch02 ===
 +
* Dell OS10:
 +
<syntaxhighlight lang="shell">
 +
hostname Switch02
 +
!
 +
interface vlan10
 +
no shutdown
 +
!
 +
! Configure interfaces connected to Servers and Switch01
 +
interface range ethernet 1/1/1-1/1/14
 +
  description Servers
 +
  switchport mode access
 +
  switchport access vlan 10
 +
  spanning-tree port type edge
 +
!
 +
interface ethernet 1/1/47
 +
  description SW02:SW01
 +
  switchport mode trunk
 +
  switchport trunk allowed vlan 10
 +
</syntaxhighlight>
 +
 +
* Cumulus:
 +
<syntaxhighlight lang="shell">
 +
net add hostname switch02
 +
net add bridge bridge ports swp1-14,swp47
 +
net add bridge bridge pvid 1
 +
net add bridge bridge vids 1
 +
net add bridge bridge vlan-aware
 +
net add interface swp1-14,swp47
 +
net commit
 +
</syntaxhighlight>
 +
 +
* Cisco:
 +
<syntaxhighlight lang="shell">
 +
hostname Switch02
 +
!
 +
interface Ethernet1/1-14
 +
  description Server
 +
  switchport
 +
  switchport mode access
 +
  switchport access vlan 10
 +
  spanning-tree port type edge
 +
  no shutdown
 +
!
 +
interface Ethernet1/47
 +
  description SW2:SW1
 +
  switchport
 +
  switchport mode access
 +
  switchport access vlan 10
 +
  spanning-tree port type network
 +
</syntaxhighlight>

Revision as of 21:19, 11 July 2023

Example one: IPv6 Gateway on the ISP device

Example network config 1.jpg

You have a network setup consisting of one or two switches. These switches are connected to a provider's IPv6 network, which has the address range 2a00:fb01:400:200::/64. This means that any traffic destined for the 2a00:fb01:400:200::/64 subnet will be directed to our network.

The gateway for this network is located on the ISP device, and its IPv6 address is 2a00:fb01:400:200::1. The gateway serves as the entry and exit point for your network, connecting it to the Internet.

Please note that these are simplified configurations assuming basic Layer 2 functionality with VLAN 1. Adjustments may be required based on your specific network requirements, such as additional VLANs or advanced features. Also, make sure to replace the IP addresses and gateway with your actual network information.

Configuration of Switch01

  • Dell OS10:
hostname Switch01
! Configure interfaces connected to ISP, Servers and Switch02
interface ethernet 1/1/48
  description ISP:WAN
  switchport mode access
  switchport access vlan 1
!
interface range ethernet 1/1/1-1/1/14
  description Servers
  switchport mode access
  switchport access vlan 1
  spanning-tree port type edge
!
interface ethernet 1/1/47
  description SW01:SW02
  switchport mode access
  switchport access vlan 1
  • Cumulus:
net add hostname switch01
net add bridge bridge ports swp1-14,swp47,swp48
net add bridge bridge pvid 1
net add bridge bridge vids 1
net add bridge bridge vlan-aware
net add interface swp1-14,swp47,swp48
net commit
  • Cisco:
hostname Switch01
!
interface Ethernet1/1-14
  description Server
  switchport
  switchport mode access
  switchport access vlan 1
  spanning-tree port type edge
  no shutdown
!
interface Ethernet1/47
  description SW1:SW2
  switchport
  switchport mode access
  switchport access vlan 1
  spanning-tree port type network
!
interface Ethernet1/48
  description ISP
  switchport
  switchport mode access
  switchport access vlan 1
  spanning-tree port type network

Configuration of Switch02

  • Dell OS10:
hostname Switch02
! Configure interfaces connected to Servers and Switch01
interface range ethernet 1/1/1-1/1/14
  description Servers
  switchport mode access
  switchport access vlan 1
  spanning-tree port type edge
!
interface ethernet 1/1/47
  description SW02:SW01
  switchport mode access
  switchport access vlan 1
  • Cumulus:
net add hostname switch02
net add bridge bridge ports swp1-14,swp47
net add bridge bridge pvid 1
net add bridge bridge vids 1
net add bridge bridge vlan-aware
net add interface swp1-14,swp47
net commit
  • Cisco:
hostname Switch02
!
interface Ethernet1/1-14
  description Server
  switchport
  switchport mode access
  switchport access vlan 1
  spanning-tree port type edge
  no shutdown
!
interface Ethernet1/47
  description SW2:SW1
  switchport
  switchport mode access
  switchport access vlan 1
  spanning-tree port type network

Example two: Network terminated on Node Provider Router

Example network config 2.jpg

In this network setup, we have one or two switches, These switches are connected to a router/firewall. The router has been assigned the IPv6 network 2a00:fb01:400:200::/64, with a gateway address of 2a00:fb01:400:200::1. This network serves as the local LAN for the connected devices.

To establish connectivity with the internet, we have received a Point-to-Point (P2P) /126 IPv6 subnet from our network provider. This subnet allows connectivity between your router and the ISP endpoint. The ISP end of this subnet is 2a00:fb01:400:100::1/126, and we need to configure the WAN interface of our router with the address 2a00:fb01:400:100::3/126.

The network provider is routing the entire IPv6 network 2a00:fb01:400:200::/64 to the next hop on your end. To ensure proper forwarding of traffic, configure a default IPv6 route on your router pointing to the ISP device's next hop, which is 2a00:fb01:400:100::1. This route will direct any outgoing traffic not destined for your local network to the ISP.

Please note that these are simplified configurations assuming basic Layer 2 and Layer 3 functionality. Adjustments may be required based on your specific network requirements, such as additional VLANs or advanced features. Also, make sure to replace the IP addresses, routes, and gateway with your actual network information.

Configuration of Switch01

  • Dell OS10:
hostname Switch01
! Configure interfaces connected to RTR, Servers and Switch02
interface ethernet 1/1/48
  description RTR_FW
  switchport mode access
  switchport access vlan 1
!
interface range ethernet 1/1/1-1/1/14
  description Servers
  switchport mode access
  switchport access vlan 1
  spanning-tree port type edge
!
interface ethernet 1/1/47
  description SW01:SW02
  switchport mode access
  switchport access vlan 1
  • Cisco:
hostname Switch01
!
interface Ethernet1/1-14
  description Server
  switchport
  switchport mode access
  switchport access vlan 1
  spanning-tree port type edge
  no shutdown
!
interface Ethernet1/47
  description SW1:SW2
  switchport
  switchport mode access
  switchport access vlan 1
  spanning-tree port type network
!
interface Ethernet1/48
  description RTR_FW
  switchport
  switchport mode access
  switchport access vlan 1
  spanning-tree port type network

Configuration of Switch02

  • Dell OS10:
hostname Switch02
! Configure interfaces connected to Servers and Switch01
interface range ethernet 1/1/1-1/1/14
  description Servers
  switchport mode access
  switchport access vlan 1
  spanning-tree port type edge
!
interface ethernet 1/1/47
  description SW02:SW01
  switchport mode access
  switchport access vlan 1
  • Cisco:
hostname Switch02
!
interface Ethernet1/1-14
  description Server
  switchport
  switchport mode access
  switchport access vlan 1
  spanning-tree port type edge
  no shutdown
!
interface Ethernet1/47
  description SW2:SW1
  switchport
  switchport mode access
  switchport access vlan 1
  spanning-tree port type network

Configuration of RTR/FW

  • Cisco:
ipv6 unicast-routing
!
interface TenGigabitEthernet1
 no ip address
 negotiation auto
 ipv6 address 2A00:FB01:400:100::3/126
!
interface TenGigabitEthernet2
 no ip address
 negotiation auto
 ipv6 address 2A00:FB01:400:200::1/64
 ipv6 enable
!
ipv6 route ::/0 2A00:FB01:400:100::1

Example three: Network terminated on Node Provider L3 Switch (SVI or routed ports)

Example network config 3.jpg

In this network setup, we have one or two switches, These switches are connected to an ISP network. The ISP has allocated a Point-to-Point (P2P) /126 IPv6 subnet for our use. The ISP's endpoint is assigned the IPv6 address 2a00:fb01:400:100::1/126, and we need to configure the interface of our switch with the IPv6 address 2a00:fb01:400:100::3.

To establish connectivity between our network and the ISP, the provider is routing the IPv6 network 2a00:fb01:400:200::/64 to the next hop on our end. This means that any traffic destined for the 2a00:fb01:400:200::/64 subnet will be directed to our network.

To ensure proper routing within our network, we need to configure the switches accordingly. Firstly, we assign the IPv6 address 2a00:fb01:400:100::3/126 to the interface of Switch01, enabling communication with the ISP.

On Switch01, we set up a default IPv6 route that points to the next hop provided by the ISP, which is 2a00:fb01:400:100::1. This default route allows any traffic with an unknown destination within our network to be forwarded to the ISP.

Additionally, we advertise the routed subnet 2a00:fb01:400:200::/64 within our network by configuring the interface on Switch01 connected to our internal network. This interface is assigned the IPv6 address 2a00:fb01:400:200::1/64. By enabling IPv6 routing on Switch01, the subnet is made accessible to devices within our network.

With these configurations in place, our network is set up to communicate with the ISP using the provided IPv6 addressing scheme. Switch01 acts as the gateway, forwarding traffic to the ISP's next hop, and enabling connectivity to the routed subnet 2a00:fb01:400:200::/64 within our network.

Please note that these are simplified configurations assuming basic Layer 2 and Layer 3 functionality. Adjustments may be required based on your specific network requirements, such as additional VLANs or advanced features. Also, make sure to replace the IP addresses, routes, and gateway with your actual network information.

Configuration of Switch01

  • Dell OS10:
hostname Switch01
!
interface vlan10
 no shutdown
 ipv6 nd send-ra
 ipv6 address 2a00:fb01:400:200::1/64
!
! Adding default route
ipv6 route ::/0 2a00:fb01:400:100::1
!
! Configure interfaces connected to Servers and Switch01
interface range ethernet 1/1/1-1/1/14
  description Servers
  switchport mode access
  switchport access vlan 10
  spanning-tree port type edge
!
interface ethernet 1/1/47
  description SW01:SW02
  switchport mode trunk
  switchport trunk allowed vlan 10
  • Cumulus:
net add hostname switch01
net add vlan 1 ipv6 nd prefix 2a00:fb01:400:200::/64
net del vlan 1 ipv6 nd suppress-ra
net add routing route ::/0 2a00:fb01:400:100::1
net add bridge bridge ports swp1-14,swp47
net add bridge bridge pvid 1
net add bridge bridge vids 1
net add bridge bridge vlan-aware
net add interface swp1-14,swp47
net add interface swp48 ipv6 address 2a00:fb01:400:100::3/126
net add vlan 1 ipv6 address 2a00:fb01:400:200::1/64
net add vlan 1 vlan-id 1
net commit
  • Cisco:
hostname Switch01
! Enable feature for VLAN Routing
feature interface-vlan
!
interface Vlan10
  no shutdown
  ipv6 address 2a00:fb01:400:200::1/64
  ipv6 nd prefix default infinite infinite
!
! Configure port toward ISP
interface Ethernet1/48
  description ISP
  no switchport
  ipv6 address 2a00:fb01:400:100::3/126
  no shutdown
!
interface Ethernet1/1-14
  description Server
  switchport
  switchport mode access
  switchport access vlan 10
  spanning-tree port type edge
  no shutdown
!
interface Ethernet1/47
  description SW1:SW2
  switchport
  switchport mode access
  switchport access vlan 10
  spanning-tree port type network

!
ipv6 route ::/0 2a00:fb01:400:100::1
!

Configuration of Switch02

  • Dell OS10:
hostname Switch02
!
interface vlan10
 no shutdown
!
! Configure interfaces connected to Servers and Switch01
interface range ethernet 1/1/1-1/1/14
  description Servers
  switchport mode access
  switchport access vlan 10
  spanning-tree port type edge
!
interface ethernet 1/1/47
  description SW02:SW01
  switchport mode trunk
  switchport trunk allowed vlan 10
  • Cumulus:
net add hostname switch02
net add bridge bridge ports swp1-14,swp47
net add bridge bridge pvid 1
net add bridge bridge vids 1
net add bridge bridge vlan-aware
net add interface swp1-14,swp47
net commit
  • Cisco:
hostname Switch02
!
interface Ethernet1/1-14
  description Server
  switchport
  switchport mode access
  switchport access vlan 10
  spanning-tree port type edge
  no shutdown
!
interface Ethernet1/47
  description SW2:SW1
  switchport
  switchport mode access
  switchport access vlan 10
  spanning-tree port type network