Table of Contents |
---|
For SPAN Port configuration there can be two scenarios:
...
- Login as administrator in the CentOS.
- Open file ifcfg-eth0 in vi using the command:
- vi /etc/sysconfig/network-scripts/ifcfg-eth0
- Add or edit the following in the file
- ONBOOT=”yes” // Start the Ethernet interface during system boot
- BOOTPROTO=”dhcp” (or “static”) // Assigns IP address to interface
- Rest keep as normal
- Open file ifcfg-eth1 in vi
- vi /etc/sysconfig/network-scripts/ifcfg-eno1
- Add or edit the following in the file.
- ONBOOT=”yes”
- BOOTPROTO=”none” // SPAN port should not have IP address.
· NOTE: Please make a note of span port interface name; |
Other settings will remain as normal.