Ethernet Switches & Routers

Brocade FastIron - Multiple VLANs over single subnet (ip follow)

by gfcm on ‎04-26-2011 04:45 AM (260 Views)

Background information

Classical inter-VLAN routing implies dedicating a subnet for each VLAN. If you need to conserve IP subnet addresses, you can configure multiple VLANs with the same IP subnet addresses.

ip_follow_descr.jpg

Each VLAN still requires a separate virtual routing interface. However, all three VLANs now use the same IP subnet address. In addition to conserving IP subnet addresses, this feature allows containment of Layer 2 broadcasts to segments within an IP subnet. For ISP environments where the same IP subnet is allocated to different customers, placing each customer in a separate VLAN allows all customers to share the IP subnet address, while at the same time isolating them from one another Layer 2 broadcasts.

Equipment used

  • FastIron FCX that runs FCXR07100a.bin (Router - Top )
  • FastIron FCX that runs FCXR07100a.bin (Router IP Follow)

Network Diagram

ip_follow.jpg

Configuration

  • Router (Top)

!

  ip route 0.0.0.0 0.0.0.0 192.168.5.4

!

interface ethernet 1/1/5

   ip address 192.168.5.5 255.255.255.0

!

  • Router (IP Follow)

!

vlan 3 by port

   untagged ethe 1/1/3

   router-interface ve 3

!

vlan 4 by port

   untagged ethe 1/1/4

   router-interface ve 4

!

ip proxy-arp

interface ethernet 1/1/5

   ip address 192.168.5.4 255.255.255.0

!

interface ve 3

   ip address 192.168.3.1 255.255.255.0

!

interface ve 4

   ip follow ve 3

!

Verify

By default, there is no inter-VLANs communication. You need to configure ip proxy-arp if you want to modify this behavior. Then, the Brocade device will perform proxy Address Resolution Protocol (ARP) for hosts that want to send IP traffic to hosts in other VLANs that are sharing the same IP subnet address. If the source and destination hosts are in the same VLAN, the Brocade device does not need to use ARP.


Router_Top#show ip route

Total number of IP routes: 2, avail: 11998 (out of max 12000)

B:BGP D:Connected  R:RIP  SSmiley Frustratedtatic  OSmiley SurprisedSPF *:Candidate default

        Destination     NetMask         Gateway         Port       Cost   Type

        0.0.0.0         0.0.0.0         192.168.5.4     1/1/5      1      S

1       192.168.5.0     255.255.255.0   0.0.0.0         1/1/5      1      D


Router_IP_Follow#show ip route

Total number of IP routes: 2, avail: 11998 (out of max 12000)

B:BGP D:Connected  R:RIP  SSmiley Frustratedtatic  OSmiley SurprisedSPF *:Candidate default

        Destination     NetMask         Gateway         Port       Cost   Type

1       192.168.3.0     255.255.255.0   0.0.0.0         v3         1      D

2       192.168.5.0     255.255.255.0   0.0.0.0         1/1/5      1      D