Question
Example on creating the same VLAN ID on two physical interfaces
Hello, Sorry if this is a FAQ, but I couldn't find any examples on this. On FortiOS Cookbook 5.0, page 1539, we can read: "Creating VLAN subinterfaces with the same VLAN ID does not create any internal connection between them. For example a VLAN ID of 300 on port1 and VLAN ID of 300 on port2 are allowed, but they are not connected. Their relationship is the same as between any two FortiGate network interfaces. " OK, so I have VLAN 50 on physical port 1, connected to switch A. I'm migrating all VLAN's (including VLAN 50) to switch B, connected to Fortigate physical port 2. At this time, I need VLAN 50 to be defined on physical port 1 AND physical port 2. Can I do something like this ? config system interface edit "VLAN.50.port.1" set vdom "root" set ip 172.20.2.1 255.255.255.0 set allowaccess ping set interface "port1" set vlanid 50 next edit "VLAN.50.port.2" set vdom "root" set ip ????????????? set allowaccess ping set interface "port2" set vlanid 50 next If I can, what IP address I must use on "????????". I thought about using 172.20.2.1, but it doesn't seem right. After all, the network gateway is on port1. I understand that after I do this I'll have to create something like this: config firewall policy edit 195 set srcintf "VLAN.50.port.1" set dstintf "VLAN.50.port.2" set srcaddr "all" set dstaddr "all" set schedule "always" set service "all" set logtraffic disable next and vice-versa. Well, thanks a lot for any info. Fábio.
