do not set <ip> if forward mode is bridge.
support centos and rhel